Re: Access font-name in markup functions

2012-04-26 Thread James
Hello, On 26 April 2012 21:11, Urs Liska wrote: > Hello Jan-Peter, > > thank you for this information. > This is exactly what I needed! > > Can I find this in the docs? To get a better understanding ... It's mentioned here at least http://lilypond.org/doc/v2.15/Documentation/changes/index.html

Re: Access font-name in markup functions

2012-04-26 Thread Urs Liska
Hello Jan-Peter, thank you for this information. This is exactly what I needed! Can I find this in the docs? To get a better understanding ... Best Urs Am 25.04.2012 10:37, schrieb Jan-Peter Voigt: Hello Urs, if you are using the current devel version, you can wrap any markup with #{ #} --

Re: Access font-name in markup functions

2012-04-25 Thread Jan-Peter Voigt
Hello Urs, if you are using the current devel version, you can wrap any markup with #{ #} --snip-- \version "2.15.37" #(define-markup-command (nfont layout props arg)(markup?) (interpret-markup layout props #{ \markup { \override #'(font-name . "DejaVu Sans") $arg } #})) \markup { \

Access font-name in markup functions

2012-04-25 Thread Urs Liska
Hello community, I didn't find this in the manual: How can I translate \markup { \override #'(font-name . "XY") Test } in a markup function? I only found how to translate e.g. \markup \italic Test etc. to #:italic. Best Urs ___ lilypond-user mailing

Re: font-name in markup

2004-07-21 Thread Christian Ebert
* Christian Ebert on Wed, Jul 14, 2004: > \property Lyrics . LyricText \override #'font-name = #'"lsbrj8t" > > Is there a way to do the same for markup? Just for the record: \property Staff . TextScript \override #'font-name = #'"lsbbj8t" and \property Score . BarNumber \override #'font-name =

font-name in markup

2004-07-14 Thread Christian Ebert
Hello lilies, First of all I'd like to say how much I like the results of lilypond engraving! I don't use it much yet, just for a small section in book I am typesetting in LaTeX but it's good that this part fits so well in the overall picture. Now to the newbie question: I know how to change the