X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fchord-names-german.ly;h=8647409d3fae56a64a3474ee39437ed574543a88;hb=8aa5426335c7c482c46ac99a0c3d810ddce14e0c;hp=ec8d93978979741482d65c336c3bfb55bbe3d200;hpb=eba82770802a246bca4afab7eab1f78e84785214;p=lilypond.git diff --git a/input/test/chord-names-german.ly b/input/test/chord-names-german.ly index ec8d939789..8647409d3f 100644 --- a/input/test/chord-names-german.ly +++ b/input/test/chord-names-german.ly @@ -1,13 +1,9 @@ -\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). " } @@ -19,18 +15,23 @@ scm = \chords { 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 } +>>