lilypond-user
[Top][All Lists]
Advanced

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

Re: Using italic font for TextScript messes up \dynamic display


From: Noeck
Subject: Re: Using italic font for TextScript messes up \dynamic display
Date: Sun, 5 Mar 2017 00:14:21 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Hi,

this diverged from the original question. I am also interested in an
answer, so here is a MWE. Commenting in the second last line (\override
…) shows the problem:


\version "2.19.48"

#(define (make-dynamic-extra dynamic string)
     (make-music
       'AbsoluteDynamicEvent
       'text
         (markup #:concat (
               dynamic #:hspace 1
               #:normal-text #:italic string))))

ppSub =
    -\tweak self-alignment-X #-0.75
    #(make-dynamic-extra "pp" "sub.")

{ c''4\ppSub d'' e'' f' }

\layout {
  % The next line does not only change the additional
  % text "sub." but also the "pp":
  %\override DynamicText.font-name = "Arial"
}

Cheers,
Joram



reply via email to

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