[Top][All Lists]

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

Re: \offset argument order

From: David Kastrup
Subject: Re: \offset argument order
Date: Fri, 23 Mar 2018 12:47:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

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.

David Kastrup

reply via email to

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