]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/figured-bass-headword.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / figured-bass-headword.ly
index 190cec94a01d36f36ac62a1f6d899fc3b13902b1..f15b8974c438924b1b6693e9e1e0e133ce332dfb 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 = "headword"
@@ -29,53 +30,49 @@ extendOff = \bassFigureExtendersOff
 \score {
   \new StaffGroup <<
     \new GrandStaff <<
-      \new Staff = "violinoI" {
-        \set Staff.instrumentName = \markup {
-          \line { Violino I. }
-        }
-        \time 4/4
-        \mark \markup { \italic Adagio. }
-        \partial 8
-        r16 a'16 |
-        a'8. [ d''16 d''8.  e''16 ] cis''8 a'4 a''16 bes''16 |
-        cis''8 d''16 ( e'' ) e''8.  d''16 d''4 r8 d''16 e''16 |
-        f''8 f''4 g''16 ( f''16 ) e''8 e''4 f''16 ( e''16 ) |
-        d''8.  d''16 g''16 ( f''16 ) e''16 ( d''16 ) cis''8
-            cis''4 cis''16 cis''16 |
-        d''8 d''8 c''8.  c''16 c''8 ( b'4 ) b'16 b'16 |
-        c''8 c''8 bes'8.  bes'16 bes'8 ( a'4 ) a''16 a''16 |
-        a''8 g''8 g''8.  g''16 g''8 ( f''8 ) r8 f''8 |
-      }
+      \new Staff = "violinoI" \with { instrumentName = "Violino I." } % begin verbatim
 
-      \new Staff = "violinoII" {
-        \set Staff.instrumentName = \markup {
-          \line { Violino II. }
-        }
-        \time 4/4
-        \partial 8
-        r16 f'16 |
-        f'8.  g'16 g'4 a'4 r8 d''16 d''16 |
-        e''8 a'8 cis''8.  d''16 d''4 r8 f''16 g''16 |
-        a''8 a''8 d''8.  d''16 g'8 g'8 c''8.  c''16 |
-        f'8.  f''16 bes''16 ( a''16 ) g''16 ( f''16 ) e''8 e''4 e''16 e''16 |
-        a'8 fis''8 g''8 a''8 d''8 d''4 d''16 d''16 |
-        g'8 e''8 f''8 g''8 c''8 c''4 cis''16 cis''16 |
-        d''8 d''8 e''8.  e''16 e''8 a'8 r8 d''8 |
-      }
+
+    {
+      \time 4/4
+      \mark \markup { \italic Adagio. }
+      \partial 8 r16 a'16 |
+      a'8. [ d''16 d''8.  e''16 ] cis''8 a'4 a''16 bes''16 |
+      cis''8 d''16 ( e'' ) e''8.  d''16 d''4 r8 d''16 e''16 |
+      f''8 f''4 g''16 ( f''16 ) e''8 e''4 f''16 ( e''16 ) |
+      d''8.  d''16 g''16 ( f''16 ) e''16 ( d''16 ) cis''8
+      cis''4 cis''16 cis''16 |
+      d''8 d''8 c''8.  c''16 c''8 ( b'4 ) b'16 b'16 |
+      c''8 c''8 bes'8.  bes'16 bes'8 ( a'4 ) a''16 a''16 |
+      a''8 g''8 g''8.  g''16 g''8 ( f''8 ) r8 f''8 |
+    }
+
+      \new Staff = "violinoII" \with { instrumentName = "Violino II." }
+
+    {
+      \time 4/4
+      \partial 8 r16 f'16 |
+      f'8.  g'16 g'4 a'4 r8 d''16 d''16 |
+      e''8 a'8 cis''8.  d''16 d''4 r8 f''16 g''16 |
+      a''8 a''8 d''8.  d''16 g'8 g'8 c''8.  c''16 |
+      f'8.  f''16 bes''16 ( a''16 ) g''16 ( f''16 ) e''8 e''4 e''16 e''16 |
+      a'8 fis''8 g''8 a''8 d''8 d''4 d''16 d''16 |
+      g'8 e''8 f''8 g''8 c''8 c''4 cis''16 cis''16 |
+      d''8 d''8 e''8.  e''16 e''8 a'8 r8 d''8 |
+    }
 
     >>
 
-    \new Staff = "violone" {
-      \set Staff.instrumentName = \markup {
-        \center-column {
-          Violone,
-          \line { e Cembalo. }
-        }
+    \new Staff = "violone" \with {
+      instrumentName = \markup {
+        \center-column { Violone, \line { e Cembalo. } }
       }
+    }
+
+    {
       \time 4/4
       \clef bass
-      \partial 8
-      r16 d16 |
+      \partial 8 r16 d16 |
       d4 bes,4 a,4 f4 |
       g8 f16 g16 a8 a,8 d4 d'4 ~ |
       d'8 c'8 b4 c'8 c'16 bes16 a4 |
@@ -83,6 +80,7 @@ extendOff = \bassFigureExtendersOff
       fis8 d8 e8 fis8 g8 g,4 g16 f16 |
       e8 c8 d8 e8 f8 f,4 a,8 |
       b,4 cis4 d4 r8 d'8 |
+
     }
 
     \new FiguredBass \figuremode {
@@ -98,7 +96,6 @@ extendOff = \bassFigureExtendersOff
       <6>4 <6->8 <6 5->8 <5 4->8 \extendOn <5 3>4 \extendOff <5 _+>8 |
       <7>8 <6>8 <5>4 <9 4>8 <8 3>8 s4 |
     }
-
   >>
 
   \layout {