|
From: | David Kastrup |
Subject: | Re: vertical ordering of a custom event-function markup |
Date: | Tue, 09 Oct 2018 23:44:59 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes: > Probably: > > indicator = > #(define-event-function ()() > #{ > \tweak X-offset 0.75 > -\markup \path #0.17 #'((moveto 0 0) (lineto 0 0.75)) > #}) There is rarely a point in a parameterless function containing a single music expression. This could have been written as just indicator = -\tweak X-offset 0.75 -\markup \path #0.17 #'((moveto 0 0) (lineto 0 0.75)) Turns out that point-and-click information for either variant ends up at the point of use rather than the point of definition, which is definitely desirable. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |