X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-stanza-fonts.ly;fp=Documentation%2Fsnippets%2Fchanging-stanza-fonts.ly;h=ca922e73fdf33b86752a768d85b40c25fd620611;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/changing-stanza-fonts.ly b/Documentation/snippets/changing-stanza-fonts.ly new file mode 100644 index 0000000000..ca922e73fd --- /dev/null +++ b/Documentation/snippets/changing-stanza-fonts.ly @@ -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 +} +