Changing stanza fonts: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 35: | Line 35: | ||
[[Category:Vocal music]] | [[Category:Vocal music]] | ||
[[Category:Really simple]] | [[Category:Really simple]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]][[Category:Snippet]] | ||
Revision as of 22:48, 21 November 2025
Fonts can be changed independently for each stanza, including the font used for printing the stanza number.
\version "2.24"
%{
You may have to install additional fonts.
Red Hat Fedora
dejavu-fonts-all
Debian GNU/Linux, Ubuntu
fonts-dejavu-core
fonts-dejavu-extra
%}
\relative c'' {
\time 3/4
g2 e4
a2 f4
g2.
}
\addlyrics {
\set stanza = #"1. "
Hi, my name is Bert.
}
\addlyrics {
\override StanzaNumber.font-name = #"DejaVu Sans"
\set stanza = #"2. "
\override LyricText.font-family = #'typewriter
Oh, ché -- ri, je t'aime
}