lilypond-user
[Top][All Lists]
Advanced

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

Setting entire document fonts


From: Richard Shann
Subject: Setting entire document fonts
Date: Fri, 24 Oct 2014 17:27:38 +0100

Following the example for setting the entire document fonts at

http://www.lilypond.org/doc/v2.18/Documentation/notation/fonts#entire-document-fonts

I constructed this code:
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
\version "2.18.0"
\paper  {
  #(define fonts
    (make-pango-font-tree "Nimbus Sans"
                          "Luxi Mono"
                          "Times New Roman"
                          (/ staff-height pt 20)))
}

{
         c'<> ^\markup {roman,
    \sans sans,
    \typewriter typewriter.} g' 
}
%#(set-global-staff-size 20)
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

where I have switched round the order of the fonts so that the
typewriter should show in Roman and the Roman as sans etc.
This works, but if I uncomment the set-global-staff-size line it reverts
to the default.
What is going on here? How do I set the fonts and the overall staff
size? 

Richard








reply via email to

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