]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/wind-headword.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / new / wind-headword.ly
index eae9e1df182c6060f09658d6f5753dfe5ce280c9..b76e171ffb3b4c20d39d7e8bf37ba17fa0845e86 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.19.20"
+\version "2.19.56"
 
 \header {
   lsrtags = "headword"
@@ -19,8 +19,8 @@ Wind headword
 % Nutcracker Suite, VII Dance of the Merlitons
 \score {
   \new StaffGroup <<
-    \new Staff \relative c'' {
-      \set Staff.instrumentName = "Flauto I,II"
+    \new Staff \with { instrumentName = "Flauto I,II" }
+    \relative c'' {
       \once \override Score.RehearsalMark.self-alignment-X = #-1
       \once \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
       \once \override Score.TimeSignature.break-align-anchor-alignment = #LEFT
@@ -32,11 +32,11 @@ Wind headword
       <d a>16-.\p <cis g>-. <d a>-. <cis g>-. <d a>8-. <cis g>-.
       <e a,>-.\< <d a>32( <fis d> <a fis> <d a> <fis d>4--)\mf
       <g d>16-. <fis cis>-. <g d>-. <fis cis>-.
-        <e b>(\> <d a>) <a fis>-. <fis d>-.\!
+      <e b>(\> <d a>) <a fis>-. <fis d>-.\!
       <d bes>4--\sf \acciaccatura {<d' bes>8} <cis a>4--\mf
     }
-    \new Staff \relative c' {
-      \set Staff.instrumentName = "Flauto III"
+    \new Staff \with { instrumentName = "Flauto III" }
+    \relative c' {
       \key d \major
       \time 2/4
       \compressMMRests R2*2_\markup{Gr.Fl.}