Display non-English chord names: Difference between revisions
Appearance
mNo edit summary |
m Remove the ‘official’ tag – almost exactly the same code is present in the Notation Reference, being too important to be moved into a snippet. |
||
| Line 49: | Line 49: | ||
[[Category:Chords]] | [[Category:Chords]] | ||
[[Category:Really simple]] | [[Category:Really simple]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 08:09, 20 February 2026
The default English naming of chords can be changed to other languages, as demonstrated in this snippet.
\version "2.24"
scm = \chordmode {
d1/d | 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 }
>>