Jump to content

Rotating hairpins

From LilyPond wiki
Revision as of 15:06, 4 November 2025 by Jean Abou Samra (talk | contribs) (Remove LSR link)

Hairpins which are not in standard orientation can be adjusted using 'rotation.

\version "2.24.0"

\relative c' {
  % \override Hairpin.rotation = #'(a x y) where #'(a x y)
  % is a list that governs the angle a in degrees
  % and the x and y points to rotate around.
  % #'(45 0 0) rotates the object 45 degrees around its center
  \override Hairpin.rotation = #'(10 -1 0)
  c1*4\<
  \override Hairpin.rotation = #'(-5 0 1)
  d'1*3\!\>
  s4\!
}