+2003-06-10 Rune Zedeler <rune@zedeler.dk>
+
+ * ly/property-init.ly (germanChords): Added.
+ (semiGermanChords): Added.
+
+ * input/test/chord-names-german.ly: Use new macros
+
2003-06-09 Heikki Junes <hjunes@cc.hut.fi>
* lilypond-indent.el: Use similar parenthesis highlighting for
-\version "1.7.18"
+\version "1.7.20"
\header {
texidoc = "@cindex Chord Names German
By setting @code{ChordNames.chordRootNamer}, the root
of the chord may be named with a different function.
" }
-scm = \chords { c4/c cis/cis cisis/cisis ces/ces ceses/ceses b/b bis/bis bes/bes beses/beses }
+scm = \chords { c1/c cis/cis cisis/cisis ces/ces ceses/ceses b/b bis/bis bes/bes beses/beses \bar "||" }
\score {
-< \context ChordNames \chords <
- % #t gives true german chord-names
- % #f gives semi-german chord-names -
+\notes <
+ % \germanChords gives true german chord-names
+ % \semiGermanChords gives semi-german chord-names -
% - with Bb and below keeping the english names
- \property ChordNames. chordRootNamer = #(chord-name->german-markup #f)
- \property ChordNames. chordNoteNamer = #note-name->german-markup
- \scm >
- \context Voice \scm >
+ \context ChordNames { \scm \germanChords \scm \semiGermanChords \scm }
+ \context Voice { \scm s1*0^"germanChords" \scm s1*0^"semiGermanChords" \scm } >
}
\property Voice.Beam \revert #'transparent
\property Staff.Accidental \revert #'transparent
}
+
+germanChords = {
+ \property ChordNames. chordRootNamer = #(chord-name->german-markup #t)
+ \property ChordNames. chordNoteNamer = #note-name->german-markup
+}
+semiGermanChords = {
+ \property ChordNames. chordRootNamer = #(chord-name->german-markup #f)
+ \property ChordNames. chordNoteNamer = #note-name->german-markup
+}