X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-stanza-fonts.ly;h=3c0beb9ac23476e51f1ed23b01b21bb645a89c5b;hb=4d3f0643d1d89232da8d7b0ad51d0fef03671961;hp=e9adcc4b994efc159d6e11d57f60011bfbb9afba;hpb=8860a7700be8348848bba7972ad86ef46721c544;p=lilypond.git diff --git a/Documentation/snippets/changing-stanza-fonts.ly b/Documentation/snippets/changing-stanza-fonts.ly index e9adcc4b99..3c0beb9ac2 100644 --- a/Documentation/snippets/changing-stanza-fonts.ly +++ b/Documentation/snippets/changing-stanza-fonts.ly @@ -1,10 +1,14 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.13.20" +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.18.0 +\version "2.18.0" \header { - lsrtags = "vocal-music" + lsrtags = "really-simple, vocal-music" texidoc = " Fonts can be changed independently for each stanza, including the font @@ -19,15 +23,15 @@ used for printing the stanza number. g2 e4 a2 f4 g2. -} +} % begin verbatim + \addlyrics { \set stanza = #"1. " Hi, my name is Bert. } \addlyrics { - \override StanzaNumber #'font-name = #"DejaVu" + \override StanzaNumber.font-name = #"DejaVu Sans" \set stanza = #"2. " - \override LyricText #'font-family = #'typewriter + \override LyricText.font-family = #'typewriter Oh, ché -- ri, je t'aime } -