Display non-English chord names: Difference between revisions
Appearance
No edit summary |
m Lemzwerg moved page Changing the chord names to German or semi-German notation to Display non-English chord names without leaving a redirect |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The | The default English naming of chords can be changed to other languages, as demonstrated in this snippet. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
| Line 7: | Line 7: | ||
} | } | ||
\layout { | |||
indent = 3\cm | |||
ragged-right = ##f | |||
\context { | \context { | ||
\ChordNames | \ChordNames | ||
\consists "Instrument_name_engraver" | \consists "Instrument_name_engraver" | ||
} | |||
\context { | |||
\Score | |||
\override InstrumentName.self-alignment-Y = -1.2 | |||
\override InstrumentName.self-alignment-X = #RIGHT | |||
} | } | ||
} | } | ||
| Line 43: | Line 49: | ||
[[Category:Chords]] | [[Category:Chords]] | ||
[[Category:Really simple]] | [[Category:Really simple]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 07:27, 28 December 2025
The default English naming of chords can be changed to other languages, as demonstrated in this snippet.
\version "2.24"
scm = \chordmode {
c1/c | cis/cis
b1/b | bis/bis | bes/bes
}
\layout {
indent = 3\cm
ragged-right = ##f
\context {
\ChordNames
\consists "Instrument_name_engraver"
}
\context {
\Score
\override InstrumentName.self-alignment-Y = -1.2
\override InstrumentName.self-alignment-X = #RIGHT
}
}
<<
\new ChordNames {
\set instrumentName = #"default"
\scm
}
\new ChordNames {
\set instrumentName = #"german"
\germanChords \scm
}
\new ChordNames {
\set instrumentName = #"semi-german"
\semiGermanChords \scm
}
\new ChordNames {
\set instrumentName = #"italian"
\italianChords \scm
}
\new ChordNames {
\set instrumentName = #"french"
\frenchChords \scm
}
\context Voice { \scm }
>>