]> 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 82f02f0f0df6d43d32d0aeaaaeb3dbc6a70da399..8a5eec2583642f4f68565886f961d3a72ca1b28c 100644 (file)
@@ -1,10 +1,11 @@
-%% 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.18.0"
+% 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"
@@ -22,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 {
@@ -40,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" >>
 }