]> git.donarmstrong.com Git - lilypond.git/blob - input/test/cue-notes.ly
* lily/page.cc (Page): Do not use ly_scheme_function for
[lilypond.git] / input / test / cue-notes.ly
1 \version "2.2.0"
2 % TODO: check to see if this example can be simplified using \small
3 % or \tiny.
4 \header { texidoc = "@cindex Cue Notes
5 Cue notes are typeset in a smaller font. "
6 %  Cue clefs are usually not restored explicitly. "
7 }
8
9
10 \score {
11   \notes
12    {
13        \set Staff.instrument = #"Horn in F"
14        \set Score.skipBars = ##t
15        R1*21
16     <<
17         {
18             \once \override Staff.MultiMeasureRest  #'staff-position = #-6
19             R1
20         }
21      \new Voice { s2
22        \clef tenor
23
24         %% this should probably be put into an identifier.
25        \set Staff.fontSize = #-1
26         \override Stem  #'length = #5.5
27         \override Beam  #'thickness = #0.384
28         \override Beam  #'space-function =
29            #(lambda (beam mult) (* 0.8 (Beam::space_function beam mult)))
30
31         r8^"Bsn." c'8  f'8[ f'8]
32
33 % note: the clef should be cancelled from the cue.  
34 %  this is under debate; I don't think it should.  - Graham
35
36 % if you want to cancel it in the main part, uncomment the following:
37 %       \set Staff.Clef = \turnOff
38                             
39        \unset Staff.fontSize 
40
41        \clef treble
42      } >>
43    c'8^"Horn" cis'
44    \unset Staff.Clef 
45    eis'4 fis'4
46  }
47  \paper { raggedright = ##t}
48 }