Manually controlling beam positions: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 1: | Line 1: | ||
Beam positions may be controlled manually, by overriding the <code>positions</code> setting of the <code>Beam</code> grob. | Beam positions may be controlled manually, by overriding the <code>positions</code> setting of the <code>Beam</code> grob. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
\time 2/4 | \time 2/4 | ||
Revision as of 18:55, 16 November 2025
Beam positions may be controlled manually, by overriding the positions setting 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
}