]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-stanza-fonts.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / changing-stanza-fonts.ly
diff --git a/Documentation/snippets/changing-stanza-fonts.ly b/Documentation/snippets/changing-stanza-fonts.ly
new file mode 100644 (file)
index 0000000..ca922e7
--- /dev/null
@@ -0,0 +1,36 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.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.14.0"
+
+\header {
+  lsrtags = "vocal-music"
+
+  texidoc = "
+Fonts can be changed independently for each stanza, including the font
+used for printing the stanza number.
+
+"
+  doctitle = "Changing stanza fonts"
+} % begin verbatim
+
+\new Voice {
+  \time 3/4
+  g2 e4
+  a2 f4
+  g2.
+}
+\addlyrics {
+  \set stanza = #"1. "
+  Hi, my name is Bert.
+}
+\addlyrics {
+  \override StanzaNumber #'font-name = #"DejaVu"
+  \set stanza = #"2. "
+  \override LyricText #'font-family = #'typewriter
+  Oh, ché -- ri, je t'aime
+}
+