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