]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-default-text-font-family.ly
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / snippets / changing-the-default-text-font-family.ly
index 70f473881e1ab05f40c0bb3472dcbb6fc415375f..0b0097158bef92ad2798dc7fccb6d8cc0c96cbb6 100644 (file)
@@ -1,30 +1,34 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.1"
+\version "2.18.0"
 
 \header {
   lsrtags = "text, tweaks-and-overrides"
 
   texidoc = "
 The default font families for text can be overridden with
-@code{make-pango-font-tree}. 
+@code{make-pango-font-tree}.
 
 "
   doctitle = "Changing the default text font family"
 } % begin verbatim
 
 \paper {
-  % change for other default global staff size. 
+  % change for other default global staff size.
   myStaffSize = #20
   %{
      run
          lilypond -dshow-available-fonts blabla
-     to show all fonts available in the process log.  
+     to show all fonts available in the process log.
   %}
 
   #(define fonts
     (make-pango-font-tree "Times New Roman"
-                          "Nimbus Sans"
+                          "Nimbus Sans,Nimbus Sans L"
                           "Luxi Mono"
 ;;                        "Helvetica"
 ;;                        "Courier"
@@ -33,7 +37,7 @@ The default font families for text can be overridden with
 
 \relative c'' {
   c4^\markup {
-    roman: foo \bold bla \italic bar \italic \bold baz 
+    roman: foo \bold bla \italic bar \italic \bold baz
   }
   c'4_\markup {
     \override #'(font-family . sans)
@@ -47,6 +51,4 @@ The default font families for text can be overridden with
       mono: foo \bold bla \italic bar \italic \bold baz
     }
   }
-}  
-
-
+}