lilypond-user
[Top][All Lists]
Advanced

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

RE: location of command


From: Mark Stephen Mrotek
Subject: RE: location of command
Date: Thu, 3 Apr 2014 07:58:40 -0700

Pierre,

 

Not one, but two solutions! Thank you.

 

Mark

 

From: Pierre Perol-Schneider [mailto:address@hidden
Sent: Thursday, April 03, 2014 1:24 AM
To: Mark Stephen Mrotek
Cc: lilypond-user
Subject: Re: location of command

 

2014-04-03 4:37 GMT+02:00 Mark Stephen Mrotek <address@hidden>:

Hello,

 

Hi Mark,
 

In a piano staff the pedal commands are within “\new Dynamics { … }.”

I want the pedal notated with brackets, \set Staff.pedalSustainStyle = #'bracket.

This command has been put in various places within the \score { … }, and, obviously, not the correct one!

Where should it be placed?

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"
\score {
  \relative c
  \new PianoStaff <<
     \new Staff { c'4 d e f }
     \new Staff { \clef F c,4 d e f }
     \new Dynamics { s4\sustainOn s s s\sustainOff }
   >>
   \layout {
     \context {
       \Dynamics
       pedalSustainStyle = #'bracket
     }
   }
}

\score {
  \relative c
  \new PianoStaff <<
     \new Staff { c'4 d e f }
     \new Staff { \clef F c,4 d e f }
     \new Dynamics
     \with { pedalSustainStyle = #'bracket }
     { s4\sustainOn s s s\sustainOff }
   >>
   \layout { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

HTH,

Pierre

 

 


reply via email to

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