]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/note-line.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / regression / note-line.ly
index 8345ef200a57907645bed2476f4b64fc6e8f1fc9..377c2138bf00ff1aea172412a0e6196464d09402 100644 (file)
@@ -1,30 +1,29 @@
+\version "2.3.22"
 
 \header {
-texidoc = "Note head lines (eg glissando)
-run between centers of the note heads.";
+texidoc = "Note head lines (e.g. glissando)
+run between centers of the note heads."
 }
 
-\include "paper20.ly"
-\include "norsk.ly"
-
-su = \notes{ \translator Staff = up}
-sd = \notes{ \translator Staff = down}
+su = { \change Staff = up}
+sd = { \change Staff = down}
 
 \score {
     \context PianoStaff
-        \notes <
+         <<
        \context Staff = up   {
-            \property PianoStaff.connectArpeggios = ##t
+            \set PianoStaff.connectArpeggios = ##t
            \showStaffSwitch
-           \clef F;
-           c4 d \sd h a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
+           \clef F
+           c4 d \sd b a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
        }
        \context Staff = down {
-           \clef F; s1*4
+           \clef F s1*4
        }
-    >
-\paper {
-    linewidth = 8.0 \cm;
+    >>
+\layout {
+    linewidth = 8.0 \cm
 }
 }
 
+