Displaying complex chords: Difference between revisions
Appearance
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 |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
fixA = { | fixA = { | ||
\once \override Stem.length = # | \once \override Stem.length = #12 | ||
} | } | ||
| Line 21: | Line 21: | ||
</lilypond> | </lilypond> | ||
[[Category:Chords]] | |||
[[Category:Simultaneous notes]] | [[Category:Simultaneous notes]] | ||
[[Category:Workaround]] | [[Category:Workaround]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 07:26, 5 December 2025
Here is a way to display a chord where the same note is played twice with different accidentals.
\version "2.24"
fixA = {
\once \override Stem.length = #12
}
fixB = {
\once \override NoteHead.X-offset = #1.7
\once \override Stem.length = #7
\once \override Stem.rotation = #'(45 0 0)
\once \override Stem.extra-offset = #'(-0.1 . -0.2)
\once \override Flag.style = #'no-flag
\once \override Accidental.extra-offset = #'(4 . -.1)
}
\relative c' {
<< { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s
}