Fine-tuning pedal brackets: Difference between revisions

Import snippet from LSR
 
m Replace `\override` with `\tweak`
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The appearance of pedal brackets may be altered in different ways.
The appearance of pedal brackets may be altered in different ways.


<lilypond version="2.24.0">
<lilypond version="2.24">
\paper { ragged-right = ##f }
\paper {
  ragged-right = ##f
}


\relative c'' {
\relative c'' {
   c2\sostenutoOn c
   c2\sostenutoOn c
   c2\sostenutoOff c
   c2\sostenutoOff c
   \once \override Staff.PianoPedalBracket.shorten-pair = #'(-7 . -2)
   c2\tweak shorten-pair #'(-7 . -2) \sostenutoOn c
  c2\sostenutoOn c
   c2\sostenutoOff c
   c2\sostenutoOff c
   \once \override Staff.PianoPedalBracket.edge-height = #'(0 . 3)
   c2\tweak edge-height #'(0 . 3) \sostenutoOn c
  c2\sostenutoOn c
   c2\sostenutoOff c
   c2\sostenutoOff c
}
}
Line 19: Line 19:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]