X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Ftext.itely;h=6a33b69084083a87a31230beb4db4f32727fa9af;hb=fea0441e6d856d653aebcdb8d293e45bdec7844c;hp=04ae36c4c5fbed8c1fa4998cc41387d20f50593a;hpb=799d9e5ab487eb45de64c0347fd096b48680a3f2;p=lilypond.git diff --git a/Documentation/notation/text.itely b/Documentation/notation/text.itely index 04ae36c4c5..6a33b69084 100644 --- a/Documentation/notation/text.itely +++ b/Documentation/notation/text.itely @@ -1501,8 +1501,9 @@ Snippets: It is possible to change the fonts to be used as the default fonts in the @emph{roman}, @emph{sans} and @emph{typewriter} font families by -specifying them, in that order, as shown in the example below. For an -explanation of fonts, see @ref{Fonts explained}. +specifying them, in that order, as shown in the example below, which +automatically scales the fonts with the value set for the global staff +size. For an explanation of fonts, see @ref{Fonts explained}. @cindex font families, setting @cindex fonts, changing for entire document @@ -1511,12 +1512,11 @@ explanation of fonts, see @ref{Fonts explained}. @lilypond[verbatim,quote] \paper { - myStaffSize = #20 #(define fonts (make-pango-font-tree "Times New Roman" "Nimbus Sans" "Luxi Mono" - (/ myStaffSize 20))) + (/ (* staff-height pt) 2))) } \relative c'{