lilypond-user
[Top][All Lists]
Advanced

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

Re: Use Identifier or Variable for Font Name


From: Mats Bengtsson
Subject: Re: Use Identifier or Variable for Font Name
Date: Wed, 31 Oct 2007 14:17:46 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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