Re: Use Identifier or Variable for Font Name

2007-10-31 Thread Mats Bengtsson

LilyPond variables are also available as Scheme variables:

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

   /Mats

wackazong wrote:

Hi!

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

\override X #'font-name = #"FF" 


Where XXX is some object and  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 = #"FFF"

...

%The rest

\override X #'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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Use Identifier or Variable for Font Name

2007-10-31 Thread wackazong

Hi!

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

\override X #'font-name = #"FF" 

Where XXX is some object and  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 = #"FFF"

...

%The rest

\override X #'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. 

-- 
View this message in context: 
http://www.nabble.com/Use-Identifier-or-Variable-for-Font-Name-tf4717387.html#a13485290
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user