]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/quote-transposition.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / quote-transposition.ly
index b8f4f5450eb58ba42f144f62f2f70daa9c3f79d8..ceec1d58e5924e5484d59251919e9aa2ec596ce7 100644 (file)
@@ -2,31 +2,43 @@
 \header
 {
 
-    texidoc = "Quotations take into account the transposition of both  source and target.
-In this example, all instruments play sounding central C, the target is a instrument in F."
+    texidoc = "Quotations take into account the transposition of both
+source and target.  In this example, all instruments play sounding
+central C, the target is a instrument in F.  The target part may be
+@code{\\transpose}d.  The quoted pitches will stay unchanged."
 
 }
-\version "2.3.17"
 
-\paper { raggedright = ##t }
+\version "2.16.0"
 
+\layout { ragged-right = ##t }
 
-\addquote clarinet  {
+
+\addQuote clarinet  {
     \transposition bes
     d'16 d'16 d'8 
     d'16 d'16 d'8 
     d'16 d'16 d'8 
     d'16 d'16 d'8 
 }
-\addquote sax  {
+
+\addQuote sax  {
     \transposition es'
     a8 a a a a a  a a 
 }
-{
+
+quoteTest = {
     \transposition f  % french horn
     
     g'4
-    << \quote clarinet 4 s4^"clar" >> 
-    << \quote sax 4 s4^"sax" >> 
+    << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> 
+    << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> 
 }
 
+
+<< \quoteTest
+   \new Staff
+   << \transpose c' d' \quoteTest
+     s4_"up 1 tone"
+  >>
+>>