2014-10-20 1:19 GMT+02:00 Gilberto Agostinho <gilbertohasn...@gmail.com>: > Hello LilyPonders, > > I am having a problem creating a single variable that involves \tweak. > Basically, here is the problem: > > This works fine: > myVariable = \markup{"foo bar"} > { c'^\myVariable } > > This works fine as well: > myVariable = \markup{"foo bar"} > { c'-\tweak extra-offset #'(-3 . 1)^\myVariable } > > But this does not work: > myVariable = \tweak extra-offset #'(-3 . 1)^\markup{"foo bar"} > { c'-\myVariable }
Well, it _does_ work on my machine with 2.19.13 Changing it to ... \tweak #'extra-offset ... makes it work with 2.16.0 as well. -Harm > > Not even using two variables I could make it work (and I wouldn't want to > carry two variables over the whole score anyway): > myVariableOne = \tweak extra-offset #'(-3 . 1)} > myVariableTwo = \markup{"foo bar"} > { c'-\myVariableOne^\myVariableTwo } > > So how can I tweak the offset of a markup text inside a variable? Does > anyone have any suggestion how to tackle this problem? > > As always, thanks a lot for any help, > Gilberto _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user