]> git.donarmstrong.com Git - lilypond.git/blob - input/test/ossia.ly
* tex/GNUmakefile (TEX_FILES): add texinfo.cnf
[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.3.22"
8
9 \score {
10     \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                 fontSize = #-2
23                 \override StaffSymbol #'staff-space = #(magstep -2)  
24             } {
25                 c,4^"ossia" es f fis g1
26             }
27         >>
28           c1 \break c c }
29
30         %% solution 2
31         \new Staff \with {
32             fontSize = #-2
33             \override StaffSymbol #'staff-space = #(magstep -2)  
34           
35         } { R1*2 c,4^"ossia" es f fis g1 R1 * 3 }
36     >>
37     
38
39     \layout {
40         raggedright= ##t
41         \context {\RemoveEmptyStaffContext}
42         \context {
43             \Score
44             \remove System_start_delimiter_engraver
45             }
46     }
47 }
48