Positioning lead sheet symbols: 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: | ||
To position lead sheet symbols above repeat brackets, override their Y-offsets. Without additional elements the values in the snippet can be used; they may have to be tweaked in a real music context. | To position lead sheet symbols above repeat brackets, override their Y-offsets. Without additional elements the values in the snippet can be used; they may have to be tweaked in a real music context. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
<< | << | ||
\chords { | \chords { | ||
Revision as of 18:57, 16 November 2025
To position lead sheet symbols above repeat brackets, override their Y-offsets. Without additional elements the values in the snippet can be used; they may have to be tweaked in a real music context.
\version "2.24"
<<
\chords {
c2 g:sus4
\override Score.ChordName.Y-offset = #2
f e
g c
\override Score.ChordName.Y-offset = #0
c/g c
}
\relative c'' {
\override Score.VoltaBracketSpanner.Y-offset = #1
\repeat volta 2 { a4 e c8 e r4}
\alternative { { b2 c4( d) } { b8 r d4 c2 } }
c1
}
>>