Rotating hairpins: Difference between revisions
Appearance
Import snippet from LSR |
m New category |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Hairpins which are not in standard orientation can be adjusted using <code>'rotation</code>. | Hairpins which are not in standard orientation can be adjusted using <code>'rotation</code>. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
% \override Hairpin.rotation = #'(a x y) where #'(a x y) | % \override Hairpin.rotation = #'(a x y) where #'(a x y) | ||
| Line 20: | Line 18: | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:20, 21 November 2025
Hairpins which are not in standard orientation can be adjusted using 'rotation.
\version "2.24"
\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\!
}