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 }

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



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/tweak-and-markup-variables-tp167704.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to