lilypond-user
[Top][All Lists]
Advanced

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

Re: Fontsize ornaments


From: Malte Meyn
Subject: Re: Fontsize ornaments
Date: Sun, 3 Dec 2017 09:34:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0



Am 03.12.2017 um 01:43 schrieb Pieter Terpstra:
Dear People,
Have a piece here with a lot, lots of acciaccatura's.
The fingering numbers font size under the principal notes is good but those 
under the
  acciaccatura's are too small to read.
Is there a way to increase the fontsize under the acciaccatura's all at once, 
without changing the
fontsize under the principal notes?

It *seems* (I’m not sure whether it actually works like that) like Fingering.font-size is based on the context property fontSize and that is set to -3 for grace notes (Fingering.font-size = fontSize - 5) so for normal notes it’s -5 and for grace notes -8.

You can override this by taking the definitions of startAcciaccaturaMusic and stopAcciaccaturaMusic from the file grace-init.ly and adding an override that sets the font-size explicitely to -5:

\version "2.19.80"

startAcciaccaturaMusic =  {
  <>\startGraceSlur
  \temporary \override Flag.stroke-style = #"grace"
  \temporary \override Fingering.font-size = -5
}

stopAcciaccaturaMusic =  {
  \revert Fingering.font-size
  \revert Flag.stroke-style
  <>\stopGraceSlur
}

\relative {
  c'4-1 \acciaccatura e8-3 d4-2 \acciaccatura { g16-5 f-4 } e4-3
}



reply via email to

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