LilyPond variables are also available as Scheme variables:

FontName = #"FFFFFFFFFFF"
\override TextScript #'font-name = #FontName

   /Mats

wackazong wrote:
Hi!

In my template, I have a couple of lines like this one:

\override XXXXXXXXX #'font-name = #"FFFFFFFFFF"
Where XXXXXXX is some object and FFFFFFFF is the font i choose. I would like
to use a global identifier or variable for the font name, so that I can
write

%Definitions

FontName = #"FFFFFFFFFFF"

...

%The rest

\override XXXXXXXXX #'font-name = \FontName

This does not work, however, I tried many different configuration, also
scheme music functions, nothing worked. Does anybody have an idea?

Thanks!

ALEXander.

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to