Manually controlling beam positions: Difference between revisions
Appearance
Import snippet from LSR |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Beam positions may be controlled manually | Beam positions may be controlled manually by setting the <code>positions</code> property of the <code>Beam</code> grob. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
\time 2/4 | \time 2/4 | ||
| Line 13: | Line 13: | ||
</lilypond> | </lilypond> | ||
[[Category:Connecting notes]] | [[Category:Connecting notes]] | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 15:23, 12 January 2026
Beam positions may be controlled manually by setting the positions property of the Beam grob.
\version "2.24"
\relative c' {
\time 2/4
% from upper staff-line (position 2) to center (position 0)
\override Beam.positions = #'(2 . 0)
c8 c
% from center to one above center (position 1)
\override Beam.positions = #'(0 . 1)
c8 c
}