]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/clip-systems.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / clip-systems.ly
index ee58d574b622c4bb3c6ed88560b85c562d2cf20d..ed8ac5596c43fbb46f911095e1710702109b6b7f 100644 (file)
@@ -1,10 +1,11 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.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.16.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 = "paper-and-layout"
@@ -33,13 +34,13 @@ are generated.
   doctitle = "Clip systems"
 } % begin verbatim
 
-
 #(ly:set-option 'clip-systems)
 #(define output-suffix "1")
 
 origScore = \score {
   \relative c' {
-    \set Staff.instrumentName = #"bla"
+    \new Staff \with { instrumentName = "Instrument" } % begin verbatim
+
     c1
     d1
     \grace c16 e1
@@ -89,7 +90,7 @@ origScore = \score {
       \markup { from-2.0.1-to-4.0.1-clip.eps }
       \markup {
         \epsfile #X #30.0 #(format #f "~a-1-from-2.0.1-to-4.0.1-clip.eps"
-                            (ly:parser-output-name parser)) }
+                            (ly:parser-output-name)) }
     }
   }
 }