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:47:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0



Am 03.12.2017 um 09:34 schrieb Malte Meyn:
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.

This assumption was wrong. In the file music-functions.scm in the definition of general-grace-settings, Fingering.font-size is set explicitely to -8 so this is hardcoded.

You can change this by copying the definition of general-grace-settings/score-grace-settings and commenting out the Fingering.font-size. This has the advantage that you don’t need to change this for every type of grace notes (grace, slashedGrace, acciaccatura, appoggiatura):

\version "2.19.80"

#(define my-score-grace-settings
  `((Voice Stem direction ,UP)
    (Voice Slur direction ,DOWN)
    (Voice Stem font-size -3)
    (Voice Flag font-size -3)
    (Voice NoteHead font-size -3)
    (Voice TabNoteHead font-size -4)
    (Voice Dots font-size -3)
    (Voice Stem length-fraction 0.8)
    (Voice Stem no-stem-extend #t)
    (Voice Beam beam-thickness 0.384)
    (Voice Beam length-fraction 0.8)
    (Voice Accidental font-size -4)
    (Voice AccidentalCautionary font-size -4)
    (Voice Script font-size -3)
    ;(Voice Fingering font-size -8)
    (Voice StringNumber font-size -8)))

\layout {
  \context {
    \Score
    graceSettings = #my-score-grace-settings
  }
}

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



reply via email to

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