]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-stanza-fonts.ly
38581bb551b3cec0340ba7fb444b68e4479ecc58
[lilypond.git] / Documentation / snippets / changing-stanza-fonts.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "really-simple, vocal-music"
11
12   texidoc = "
13 Fonts can be changed independently for each stanza, including the font
14 used for printing the stanza number.
15
16 "
17   doctitle = "Changing stanza fonts"
18 } % begin verbatim
19
20 \new Voice {
21   \time 3/4
22   g2 e4
23   a2 f4
24   g2.
25 }
26 \addlyrics {
27   \set stanza = #"1. "
28   Hi, my name is Bert.
29 }
30 \addlyrics {
31   \override StanzaNumber.font-name = #"DejaVu"
32   \set stanza = #"2. "
33   \override LyricText.font-family = #'typewriter
34   Oh, ché -- ri, je t'aime
35 }