]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/quoting-another-voice-with-transposition.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / quoting-another-voice-with-transposition.ly
index 58405e298e8c6a54ec442dc5117c23bc614b8f42..8a5eec2583642f4f68565886f961d3a72ca1b28c 100644 (file)
@@ -1,48 +1,15 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.13.16"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
 
 \header {
   lsrtags = "pitches, staff-notation"
 
-%% Translation of GIT committish: 2b0dc29608d6c3f5a03ead4877ae514c647adb74
-  texidoces = "
-Los pasajes citados tienen en cuenta la transposición de la fuente
-tanto como la del destino.  En este ejemplo, todos los
-instrumentos interpreta una nota con el sonido del Do central; el
-destino de un instrumento transpositor en Fa.  La parte de destino
-se puede transponer utilizando @code{\\transpose}.  En este caso
-se transportan todas las notas (incluidas las citadas).
-
-"
-
-doctitlees = "Citar otra voz con transposición"
-
-%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
-  texidocde = "
-Zitate berücksichtigen sowohl die Transposition der Quelle als auch
-des Zielinstruments.  In diesem Beispiel spielen alle Instrumente
-klingendes C, das Zielinstrument ist in F.  Die Noten für das
-Zielinstrument können mit @code{\\transpose} transponiert werden,
-in diesem Fall werden alle Noten (auch die zitierten) transponiert.
-
-"
-  doctitlede = "Eine Stimme mit Transposition zitieren"
-%% Translation of GIT committish: 99dc90bbc369722cf4d3bb9f30b7288762f2167f6
-  texidocfr = "
-Les citations tiennent compte de la transposition, aussi bien celle de 
-l'instrument d'origine que celle de la partie où elle intervient.  Dans
-l'exemple suivant, tous les instruments sont en tonalité de concert et
-seront repris par un instrument en fa.  Le destinataire de la citation
-peut à son tour transposer à l'aide de la commande @code{\\transpose}.
-En pareil cas, toutes les hauteurs, y compris celle de la citation,
-seront transposées.
-
-"
-  doctitlefr = "Citation d'une autre voix et transposition"
-
-
   texidoc = "
 Quotations take into account the transposition of both source and
 target.  In this example, all instruments play sounding middle C; the
@@ -56,7 +23,8 @@ quoted ones) are transposed.
 
 \addQuote clarinet {
   \transposition bes
-  \repeat unfold 8 { d'16 d' d'8 }
+  \repeat unfold 8 { d'16 d' d'8 } % begin verbatim
+
 }
 
 \addQuote sax {
@@ -74,10 +42,9 @@ quoteTest = {
 }
 
 {
-  \set Staff.instrumentName =
-    \markup {
-      \center-column { Horn \line { in F } }
-    }
+  \new Staff \with {
+    instrumentName = \markup { \column { Horn "in F" } }
+  }
   \quoteTest
   \transpose c' d' << \quoteTest s4_"up a tone" >>
 }