Nitpick: ly:spanner-bound grob name slur -> spanner.
[lilypond.git] / input / lsr / changing-the-default-text-font-family.ly
blobe9be8b457ad35c9f3ba743207c2b5f65adb9673a
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
5 \header {
6 lsrtags = "text, tweaks-and-overrides"
8 texidoc = "
9 The default font families for text can be overridden with
10 @code{make-pango-font-tree}.
13 doctitle = "Changing the default text font family"
14 } % begin verbatim
16 \paper {
17 % change for other default global staff size.
18 myStaffSize = #20
20 run
21 lilypond -dshow-available-fonts blabla
22 to show all fonts available in the process log.
25 #(define fonts
26 (make-pango-font-tree "Times New Roman"
27 "Nimbus Sans"
28 "Luxi Mono"
29 ;; "Helvetica"
30 ;; "Courier"
31 (/ myStaffSize 20)))
34 \relative c'' {
35 c4^\markup {
36 roman: foo \bold bla \italic bar \italic \bold baz
38 c'4_\markup {
39 \override #'(font-family . sans)
41 sans: foo \bold bla \italic bar \italic \bold baz
44 c'2^\markup {
45 \override #'(font-family . typewriter)
47 mono: foo \bold bla \italic bar \italic \bold baz