]> git.donarmstrong.com Git - lilypond.git/blob - input/test/ossia.ly
*** empty log message ***
[lilypond.git] / input / test / ossia.ly
1 \header { texidoc = "A temporary ossia in an instrumental part may
2     be printed using a separate, short staff. A simpler solution is 
3     also given: instantiate a full staff, and let 
4     @code{RemoveEmptyStaffContext} take out the unused parts.
5 " }
6
7 \version "2.2.0"
8
9 \score {
10     \notes\relative c''
11     \new StaffGroup \with {
12         \remove "System_start_delimiter_engraver"
13         \override SpanBar #'glyph = #":"
14     } <<
15
16         %% solution 1
17         { c1 c1
18         <<
19             { c1 c1 } 
20             \new Staff \with {
21                 \remove "Time_signature_engraver"
22             } {
23                 c,4^"ossia" es f fis g1
24             }
25         >>
26           c1 \break c c }
27
28         %% solution 2
29         \new Staff { R1*2 c,4^"ossia" es f fis g1 R1 * 3 }
30     >>
31     
32
33     \paper {
34         raggedright= ##t
35         \context {\RemoveEmptyStaffContext}
36         \context {
37             \ScoreContext
38             \remove System_start_delimiter_engraver
39             }
40     }
41 }
42