lilypond-user
[Top][All Lists]
Advanced

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

DynamicText.font-size


From: Andrew Bernard
Subject: DynamicText.font-size
Date: Tue, 19 Nov 2019 19:58:55 +1100

In my scores, when I use make-dynamic script as per the MWE here,
setting DynamicText.font-size in Score context affects normal dynamic
marks but not scripts. Is this a limitation, or my error?

Andrew

%====
\version "2.19.83"

fpocoText = \markup {
  \center-align \line {
    \hspace #0.1 f \normal-text \italic (poco)
  }
}
fpoco = #(make-dynamic-script fpocoText)

ppecrescText = \markup {
  \normal-text \italic \whiteout "pp e cresc ..."
}
ppecresc = \tweak DynamicText.self-alignment-X #LEFT
\tweak DynamicText.extra-spacing-width #'(+inf.0 . -inf.0)
#(make-dynamic-script ppecrescText)

treble = {
  c''4^\f c''_\p c'' c'' c'' c''^\fpoco c''
  c'' c''^\ppecresc
}

\score {
  \new Staff { \treble }

  \layout {
    \context {
      \Score
      \override DynamicText.font-size = #-2
    }
  }
}


%====



reply via email to

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