]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/quoting-another-voice-with-transposition.ly
New upstream version 2.19.65
[lilypond.git] / Documentation / snippets / quoting-another-voice-with-transposition.ly
index df7517fd79a5b055b3b5a06efe5d7e3c59cac7be..8a5eec2583642f4f68565886f961d3a72ca1b28c 100644 (file)
@@ -4,8 +4,8 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.17.13
-\version "2.17.13"
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
 
 \header {
   lsrtags = "pitches, staff-notation"
 Quotations take into account the transposition of both source and
 target.  In this example, all instruments play sounding middle C; the
 target is an instrument in F.  The target part may be transposed using
-@code{\\transpose}.  In this case, the quoted pitches will stay
-unchanged.
+@code{\\transpose}.  In this case, all the pitches (including the
+quoted ones) are transposed.
+
 "
   doctitle = "Quoting another voice with transposition"
 } % begin verbatim
 
-
 \addQuote clarinet {
   \transposition bes
-  \repeat unfold 8 { d'16 d' d'8 }
+  \repeat unfold 8 { d'16 d' d'8 } % begin verbatim
+
 }
 
 \addQuote sax {
@@ -41,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" >>
 }