-\version "2.1.26"
+\version "2.3.8"
\header {
texidoc = "@cindex Chord Names German
-By setting @code{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.
-
+The english naming of chords (default) can be changed to german
+(@code{\germanChords} replaces B and Bes to H and B) or semi-german
+(@code{\semiGermanChords} replaces B and Bes to H and Bb).
" }
b/b bis/bis bes/bes
% beses/beses
}
-\score {
-\notes <<
- \context ChordNames { \scm }
+
+
+\paper {
+ raggedright = ##t
+ \context {\ChordNames \consists Instrument_name_engraver }
+}
+
+<<
+ \new ChordNames {
+ \set instrument = #"default"
+ \scm
+ }
\new ChordNames {
\set instrument = #"german"
\germanChords \scm }
\new ChordNames {
\set instrument = #"semi-german"
\semiGermanChords \scm }
- \context Voice { \scm } >>
-\paper {
- raggedright = ##t
- \translator {\ChordNamesContext \consists Instrument_name_engraver }}
-
-}
+ \context Voice { \scm }
+>>