Hi Javier, No, that does not work. But if you are going to type '\override #'(font-size . 10)’ why not remove the font size specification from your variable and just preface it with '\abs-fontsize #10’ or whatever you require? Alternatively, if you require a few sizes, and don’t want to type the size specification all the time, have a variable for each size: thisTextLarge, thisTextMedium, thisTextSmall, etc. Don’t forget that lilypond has built in \huge and \teeny and friends \larger and \smaller (although I see you want absolute sizes).
Andrew On 12 July 2015 at 11:08:57, Javier Ruiz-Alma ([email protected]) wrote: I have a markup variable preformatted to specific font size. I wish to use the same variable elsewhere, but override the font-size to smaller size. Can this be done?
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
