X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fossia.ly;h=7cd28642573cd3a4457f4df33a884b118d098494;hb=a23264aee8cab5acaa94cdc103f2497c3f042543;hp=139c05e9d6069bb622a0022408231defb963dca2;hpb=e1ef1410eeca1c9470c186da306e1f87b1b1a600;p=lilypond.git diff --git a/input/test/ossia.ly b/input/test/ossia.ly index 139c05e9d6..7cd2864257 100644 --- a/input/test/ossia.ly +++ b/input/test/ossia.ly @@ -1,8 +1,48 @@ -\version "1.7.6" +\header { texidoc = "A temporary ossia in an instrumental part may + be printed using a separate, short staff. A simpler solution is + also given: instantiate a full staff, and let + @code{RemoveEmptyStaffContext} take out the unused parts. +" } +\version "2.3.22" \score { + \relative c'' + \new StaffGroup \with { + \remove "System_start_delimiter_engraver" + \override SpanBar #'glyph = #":" + } << -\notes { c1 c1 < {\clef "treble" c1 c1 } \context Staff=stb{ c1 c1}>} + %% solution 1 + { c1 c1 + << + { c1 c1 } + \new Staff \with { + \remove "Time_signature_engraver" + fontSize = #-2 + \override StaffSymbol #'staff-space = #(magstep -2) + } { + c,4^"ossia" es f fis g1 + } + >> + c1 \break c c } + + %% solution 2 + \new Staff \with { + fontSize = #-2 + \override StaffSymbol #'staff-space = #(magstep -2) + + } { R1*2 c,4^"ossia" es f fis g1 R1 * 3 } + >> + + + \layout { + raggedright= ##t + \context {\RemoveEmptyStaffContext} + \context { + \Score + \remove System_start_delimiter_engraver + } + } } -%% new-chords-done %% +