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