X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspacing-folded-clef2.ly;h=6b17085cd7f6524af860654a712bad74c8977f0e;hb=5cc83d5ff83ca5c8413831bf4b3874caeb40568b;hp=45b014e4b8296d2bdb14f378c12a9389509648e2;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/spacing-folded-clef2.ly b/input/regression/spacing-folded-clef2.ly index 45b014e4b8..6b17085cd7 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.0" +\version "2.10.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'' < - \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 c'' << + \new Staff { c4 c4 c4 c \bar "|." } + \new Staff { \clef bass c,2 \clef treble c'2 } +>>