lilypond-user
[Top][All Lists]
Advanced

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

Re: Parenthesized dynamics


From: Klaus Blum
Subject: Re: Parenthesized dynamics
Date: Tue, 9 May 2017 01:02:31 -0700 (MST)

Hi Michiel, 


Michiel Sikma-2 wrote
> What I want to do is fine-tune the
> exact positioning of the dynamic letter itself. 

you can experiment with \raise and \hspace (positive and negative values):

% ------------------------------------------------------------------
parenP =
#(define-event-function (parser location dyn) (ly:event?)
   (make-dynamic-script
    #{ \markup \concat {
         \pad-x #0.2 \hspace #-1.0 \normal-text \italic \fontsize #2 (
           \hspace #0.2 \raise #0.7  #(ly:music-property dyn 'text)
           \hspace #-0.2 \normal-text \italic \fontsize #2 )
       }
    #}))
% ------------------------------------------------------------------

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Parenthesized-dynamics-tp203007p203009.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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