Edward,

As Shane suggests, placing the pedal marking in a \new Dynamics allows specific 
placement.
Attached is an example.

Mark

-----Original Message-----
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] 
On Behalf Of Edward Neeman
Sent: Saturday, April 14, 2018 3:55 PM
To: Lilypond-user <lilypond-user@gnu.org>
Subject: Pedal bracket alignment

Hello,

I would like to align the pedal bracket changes closer to the middle of the 
notes they’re attached to, instead of at the beginning of the note.

What is the best way to achieve this? I have been using shorten-pair but that 
leaves too much space between the Ped. mark and the start of the bracket.

\version "2.19.80"

\relative {
  \set Staff.pedalSustainStyle =#'mixed
  \override Staff.PianoPedalBracket.shorten-pair = #'(0.6 . -0.6)
  c'4\sustainOn c d\sustainOff\sustainOn d\sustainOff e\sustainOn e 
f\sustainOff f }

Thanks!
Edward
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
\version "2.19.49"

\score {
  <<
\relative c {
     \clef bass
     \time 6/8
     \key g \major
  
       g8_5 d'_3 b'_1 c_2 b_1 b, |
       g_5 d'_3 b'_1 c_2 b_1 b, |
       g d' b' d_2 e,_1 e, |
       a_5 e' c'_1 e_2 d_1 e,_3 | 
       
     }
     
   
   \new Dynamics {
     s4.\sustainOn s\sustainOff |
     s\sustainOn s\sustainOff |
     s\sustainOn s8\sustainOff 
     s8.\sustainOn s16\sustainOff |
     s4.\sustainOn s\sustainOff |
   }
  >>
}
   
   

 


%{
convert-ly.py (GNU LilyPond) 2.19.80  convert-ly.py: Processing `'...
Applying conversion: 2.19.2, 2.19.7, 2.19.11, 2.19.16, 2.19.22,
2.19.24, 2.19.28, 2.19.29, 2.19.32, 2.19.40, 2.19.46, 2.19.49
%}


%{
convert-ly.py (GNU LilyPond) 2.19.80  convert-ly.py: Processing `'...
Applying conversion:     The document has not been changed.
%}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to