[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \offset argument order

From: Malte Meyn
Subject: Re: \offset argument order
Date: Fri, 23 Mar 2018 13:00:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Am 23.03.2018 um 12:47 schrieb David Kastrup:
Malte Meyn <address@hidden> writes:

Hi list,

is there a reason for the special order of \offset arguments? I would prefer
        \offset Beam positions #'(2 . 3)
or—even better because there would be no confusion with \override—
        \offset Beam.positions #'(2 . 3)
instead of the current
        \offset positions #'(2 . 3) Beam

\offset can be applied to music expressions.  And something like

\offset \offset c' positions #'(2 . 3) Y-offset #'3

would be a lot less pleasant to read than

\offset Y-offset #'3 \offset positions #'(2 . 3)  c'

For that reason, \tweak-like expressions generally take the music
expression to be tweaked as their last argument.  That makes nesting
them reasonably clean.

Thanks for explanation! After reading that and trying some more stuff I learned that
        \offset Beam.positions #'(2 . 3)
works also but it’s a \tweak and
        \offset positions #'(2 . 3) Beam
is an \override that can be prefixed with a \once.

        \offset Beam.positions #'(2 . 3)
        \single \offset positions #'(2 . 3) Beam
should be the same?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]