texidoc = "@cindex Chord Names German
By setting @code{ChordNames.chordRootNamer}, the root
of the chord may be named with a different function.
+
+Setting @code{\germanChords} gives true german chord-names,
+@code{\semiGermanChords} gives semi-german chord-names - - with Bb and
+keeping the english names.
+
+
" }
-scm = \chords { c1/c cis/cis cisis/cisis ces/ces ceses/ceses b/b bis/bis bes/bes beses/beses \bar "||" }
+scm = \chords {
+ c1/c cis/cis
+ % yeah, we get the idea. -hwn
+
+ % cisis/cisis ces/ces ceses/ceses
+ b/b bis/bis bes/bes
+ % beses/beses
+}
\score {
\notes <
- % \germanChords gives true german chord-names
- % \semiGermanChords gives semi-german chord-names -
- % - with Bb and below keeping the english names
- \context ChordNames { \scm \germanChords \scm \semiGermanChords \scm }
- \context Voice { \scm s1*0^"germanChords" \scm s1*0^"semiGermanChords" \scm } >
+ \context ChordNames { \scm }
+ \context ChordNames = CA {
+ \property ChordNames.instrument = #"german"
+ \germanChords \scm }
+ \context ChordNames = CB {
+ \property ChordNames.instrument =#"semi-german"
+ \semiGermanChords \scm }
+ \context Voice { \scm } >
+\paper {
+ raggedright = ##t
+ \translator {\ChordNamesContext \consists Instrument_name_engraver }}
+
}