On 2019-06-20 9:29 am, Thomas Morley wrote:
Am Do., 20. Juni 2019 um 18:21 Uhr schrieb Leah Velleman
<[email protected]>:
Is it possible to change the font used for volta numbers?
In the list archives I've seen options for customizing the volta text,
some of which could be used with \text or \markup to change the font
in addition. But I don't want to have to manually specify text and
markup commands every time I have a repeat. I want \alternative
blocks to generate volta numbers automatically, as they do by default.
I just want to specify once and for all what font all of those
autogenerated numbers should appear in -- the same way I can, for
instance, issue a single command to set a font for all lyrics. Is this
possible?
Thanks,
Leah
{
\override Score.VoltaBracket.font-name = "Purisa"
\repeat volta 3 { R1 }
\alternative {
R
R
R
}
}
HTH,
Harm
Note that if you want to set font-family rather than font-name, you will
need to change font-encoding:
%%%%
\version "2.19.82"
{
\override Score.VoltaBracket.font-encoding = #'latin1
\override Score.VoltaBracket.font-family = #'sans
\repeat volta 3 { b'1 }
\alternative { { b'1 } { b'1 } }
}
%%%%
-- Aaron Hill
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user