%% Generated by lilypond-book.py
%% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"







% ****************************************************************
% Start cut-&-pastable-section 
% ****************************************************************

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "pedal-ped.ly"

\header
{
  texidoc = "The standard piano pedals style comes with Ped symbols.
The pedal string can be also tuned, for example, to a shorter tilde/P variant
at the end of the melody."

}


\context Staff \relative c'{
  c4 d e f g
  \sustainDown b c
  c, d16[  c  c c]  e[ e \sustainUp \sustainDown e e ] f4 \sustainUp 
  g\sustainDown  b \sustainUp c 
  \set Staff.pedalSustainStrings = #'("-" "-P" "P")
  \override Staff.SustainPedal   #'padding = #-2
  c, \sustainDown d e \sustainUp \sustainDown f
  \sustainUp g b c
}




% ****************************************************************
% end ly snippet
% ****************************************************************
