lilypond-user
[Top][All Lists]
Advanced

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

Re: location of command


From: Pierre Perol-Schneider
Subject: Re: location of command
Date: Thu, 3 Apr 2014 10:24:19 +0200

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]