]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-folded-clef2.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / spacing-folded-clef2.ly
index 0ee9ae00f3bf789894d9956df79f963251f006d0..0df8f7cd3113e22882587aa4bf3471143e51a0cc 100644 (file)
@@ -1,26 +1,26 @@
-#(ly:set-option 'old-relative)
-\version "1.9.8"
+\version "2.16.0"
 \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'' <<
-       \new Staff  { c4 c4 c4 \bar "|." }
-       \new Staff { \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 c'' <<
+    \new Staff  { c4 c4 c4 c \bar "|." }
+    \new Staff { \clef bass c,2 \clef treble  c'2 }
+>>