У вт, 2010-01-12 у 19:47 +0000, Tor пише: > \override LyricText #'font-name = #"Vadstenakursive" > \override InstrumentName #'font-name = #"Vadstenakursive" > > where Vadstenakursive is the font I want to be using. > However I can't find the corrsponding command (or where to put it) for the > title. > > Can anyone help me?
I use for this purpose something like this (thanks again to Carl an everyone who helped and helps): % -------------8<-------------------------------- % % macro.lyi, to be \include’d in every score: % %% #(define ourFont (if (defined? 'ourFont) ourFont "DejaVu Serif Condensed")) #(define ourFont (if (defined? 'ourFont) ourFont "AntiquaPSCyr")) ourFontBold = #(string-concatenate `(,ourFont " Bold")) ourTitleFont = #(if (defined? 'ourTitleFont) ourTitleFont ourFontBold) #(define ourTitleFontSize (if (defined? 'ourTitleFontSize) ourTitleFontSize 4)) #(define-markup-command (Title layout props word) (string?) (interpret-markup layout props (markup #:override `(font-name . ,ourTitleFont) #:override `(font-size . ,ourTitleFontSize) word))) % -------------8<-------------------------------- And then in header.lyi will be something like this: % -------------8<-------------------------------- % ... \header { tagline = \tagline title = \markup \Title #"Херувимська пісня" % subtitle = \markup \SubTitle #"Підзаголовок" % dedication = \markup \Dedication #"Посвята" composer = \markup \Composer #"Максим Березовський" % ... } % -------------8<-------------------------------- I am not sure this is the best way, but this is "my wheel" i've re-invented so far :O) Would be *glad* if someone would comment this and suggest something better. ps. Well, every score can redefine any variable, before or after \include "macro.lyi" invocation. > Thanks a bunch > > /Tor -- Dmytro O. Redchuk _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user