lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Volta font


From: Aaron Hill
Subject: Re: Volta font
Date: Thu, 20 Jun 2019 09:48:33 -0700
User-agent: Roundcube Webmail/1.3.8

On 2019-06-20 9:29 am, Thomas Morley wrote:
Am Do., 20. Juni 2019 um 18:21 Uhr schrieb Leah Velleman
<address@hidden>:

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]