lilypond-user
[Top][All Lists]
Advanced

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

Re: Pedal markings in parentheses


From: Pierre Perol-Schneider
Subject: Re: Pedal markings in parentheses
Date: Mon, 12 Aug 2013 16:36:41 +0200

2013/8/11 John K <address@hidden>

How can I add parentheses around the Pedal markings?

Hi John,

Try this :

\version "2.17.23"

\relative c' {
  \once \override Staff.SustainPedal.stencil =
  #(lambda (grob) (grob-interpret-markup grob 
  (markup #:concat ( "(" #:musicglyph "pedal.Ped"))))
  c2\sustainOn 
  \once \override Staff.SustainPedal.stencil =
  #(lambda (grob) (grob-interpret-markup grob 
  (markup #:concat ( #:musicglyph "pedal.*" ")" ))))
  c\sustainOff
}

Cheers,
Pierre

reply via email to

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