lilypond-user
[Top][All Lists]
Advanced

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

Re: fermatas in parentheses


From: Orm Finnendahl
Subject: Re: fermatas in parentheses
Date: Sat, 6 Sep 2014 12:33:24 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Pierre,

 thanks, works like a charm. This'll save me a lot of typing (and
time), I really appreciate your help!

I consider this input invaluable for understanding some of the inner
workings of lilypond for practical purposes even if it's only on a
surface level!

--
Orm

Am Samstag, den 06. September 2014 um 10:37:23 Uhr (+0200) schrieb Pierre 
Perol-Schneider:
> Hi Orm,
> 
> 2014-09-05 13:52 GMT+02:00 Orm Finnendahl <
> address@hidden>:
> 
> 
> > 1. Is there a way to move the override for the font-size in the into
> > the definition of "parenfermata"
> >
> 
> Try :
> 
> \version "2.19"
> 
> parenFermata = -\tweak ParenthesesItem.font-size #0
> #(let ((m (make-music 'ArticulationEvent 'articulation-type "fermata")))
>   (ly:music-set-property! m 'parenthesize #t)
>   (ly:music-set-property! m 'tweaks
>    (acons 'font-size -1 (ly:music-property m 'tweaks)))
>   m)
> 
> \relative c' {
>   c \parenFermata
> }
> 
> 
> > 2. Can this be achieved that it applies to multimeasure rest fermatas
> > as well?
> >
> 
> \version "2.19"
> 
> parenFermataMarkup =
> -\tweak stencil #(lambda (grob)
>    (grob-interpret-markup grob #{
>      \markup\concat {
>        \fontsize #0 \musicglyph #"accidentals.leftparen"
>        \hspace #.2 \lower #.6
>        \fontsize #-1 \musicglyph #"scripts.ufermata"
>        \hspace #.2
>        \fontsize #0 \musicglyph #"accidentals.rightparen"  }
>      #}))
> -\tweak staff-padding #'()
> \fermataMarkup
> 
> \relative c' {
>   R1
>   \parenFermataMarkup
> }
> 
> HTH,
> Pierre



reply via email to

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