X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspacing-folded-clef2.ly;h=0df8f7cd3113e22882587aa4bf3471143e51a0cc;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=0ee9ae00f3bf789894d9956df79f963251f006d0;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/regression/spacing-folded-clef2.ly b/input/regression/spacing-folded-clef2.ly index 0ee9ae00f3..0df8f7cd31 100644 --- a/input/regression/spacing-folded-clef2.ly +++ b/input/regression/spacing-folded-clef2.ly @@ -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 } +>>