lilypond-user
[Top][All Lists]
Advanced

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

Re: DynamicText.font-size


From: David Kastrup
Subject: Re: DynamicText.font-size
Date: Tue, 19 Nov 2019 12:46:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Andrew Bernard <address@hidden> writes:

> 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?

I have no idea what you are talking about.  Set the font-size to #-10 in
your example, and all of your dynamics change obviously size.

> %====
> \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
>     }
>   }
> }
>
>
> %====
>
>

-- 
David Kastrup



reply via email to

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