Display non-English chord names: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
scm = \chordmode { | scm = \chordmode { | ||
d1/d | cis/cis | |||
b1/b | bis/bis | bes/bes | b1/b | bis/bis | bes/bes | ||
} | } | ||
Revision as of 06:35, 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 }
>>