]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-folded-clef2.ly
Imported Upstream version 2.19.45
[lilypond.git] / input / regression / spacing-folded-clef2.ly
index 3b38c9826ec1eb7d1a4adf77e5f136ca5e5625ea..9a68dc8e99ab6895df0a2784fd6ddff3cb99736a 100644 (file)
@@ -1,26 +1,26 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+\version "2.19.21"
 \header {
 
 texidoc = "A clef can be folded below notes in a different staff, if
-there is space enough. With Paper_column molecule callbacks we can
-show where columns are in the score."
+there is space enough. With @code{Paper_column} stencil callbacks we
+can show where columns are in the score."
 }
 
-\score { \notes \relative c'' <
-       \context Staff = SA  { c4 c4 c4 \bar "|." }
-       \context Staff = SB { \clef bass c,2 \clef treble  c'2 }
-       >
+\layout {
+    ragged-right = ##t
 
-       \paper { raggedright = ##t
-
-       \translator { \ScoreContext
-         NonMusicalPaperColumn \override #'molecule-callback = #Paper_column::brew_molecule
-         PaperColumn \override #'molecule-callback = #Paper_column::brew_molecule        
-         NonMusicalPaperColumn \override #'font-family = #'roman
-         PaperColumn \override #'font-family = #'roman   
-
-       }
-       }}
+    \context {
+       \Score
+       \override NonMusicalPaperColumn.stencil = #ly:paper-column::print
+       \override PaperColumn.stencil = #ly:paper-column::print   
+       \override NonMusicalPaperColumn.font-family = #'roman
+       \override PaperColumn.font-family = #'roman       
 
+    }
+}
+                  
+\relative <<
+    \new Staff  { c''4 c4 c4 c \bar "|." }
+    \new Staff { \clef bass c,2 \clef treble  c'2 }
+>>