X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspacing-folded-clef2.ly;h=9a68dc8e99ab6895df0a2784fd6ddff3cb99736a;hb=3af0951f9a11677240efa6228683dd4fcea13eaf;hp=3b38c9826ec1eb7d1a4adf77e5f136ca5e5625ea;hpb=e9bd265943d37689b1a6892217cb6f67bbe69f73;p=lilypond.git diff --git a/input/regression/spacing-folded-clef2.ly b/input/regression/spacing-folded-clef2.ly index 3b38c9826e..9a68dc8e99 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.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 } +>>