]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly
Issue 5167/7: markup-partial regtest: use \markup function assignment
[lilypond.git] / Documentation / snippets / changing-the-chord-names-to-german-or-semi-german-notation.ly
index 7b37222cafb019f840612beef69f9c41f40afa24..fdd185ca79c5df099619fd0d592f3a91bdf3a891 100644 (file)
@@ -1,20 +1,13 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.10"
+\version "2.18.0"
 
 \header {
-  lsrtags = "chords"
-
-%% Translation of GIT committish: 4385ed4cc738e164a95798862580b4b86703356f
-  texidoces = "
-La nomenclatura inglesa (predeterminada) para los acordes del cifrado
-americano se puede cambiar por la alemana (@code{\\germanChords}
-sustituye B y Bes por H y B) o por la semi-alemana
-(@code{\\semiGermanChords} sustituye B y Bes por H y Bb).
-
-"
-  doctitlees = "Cambiar la nomenclatura de los acordes del cifrado americano por la notaciĆ³n alemana o semi-alemana"
+  lsrtags = "chords, really-simple"
 
   texidoc = "
 The english naming of chords (default) can be changed to german
@@ -28,16 +21,14 @@ The english naming of chords (default) can be changed to german
   doctitle = "Changing the chord names to German or semi-German notation"
 } % begin verbatim
 
-music = \chordmode {
+scm = \chordmode {
   c1/c | cis/cis
   b1/b | bis/bis | bes/bes
 }
 
-%% The following is only here to print the names of the
-%% chords styles; it can be removed if you do not need to
-%% print them.
 
 \layout {
+  ragged-right = ##t
   \context {
     \ChordNames
     \consists "Instrument_name_engraver"
@@ -46,15 +37,24 @@ music = \chordmode {
 
 <<
   \new ChordNames {
-    \set ChordNames.instrumentName = #"default"
-    \music
+    \set instrumentName = #"default"
+    \scm
+  }
+  \new ChordNames {
+    \set instrumentName = #"german"
+    \germanChords \scm
   }
   \new ChordNames {
-    \set ChordNames.instrumentName = #"german"
-    \germanChords \music }
+    \set instrumentName = #"semi-german"
+    \semiGermanChords \scm
+  }
+  \new ChordNames {
+    \set instrumentName = #"italian"
+    \italianChords \scm
+  }
   \new ChordNames {
-    \set ChordNames.instrumentName = #"semi-german"
-    \semiGermanChords \music }
-  \context Voice { \music }
+    \set instrumentName = #"french"
+    \frenchChords \scm
+  }
+  \context Voice { \scm }
 >>
-