+\version "1.7.18"
+% TODO: check to see if this example can be simplified using \small
+% or \tiny.
+\header {
-% add cue notes context
-\paper {
- CueVoiceContext = \translator {
- \VoiceContext
- \name CueVoice;
- basicNoteHeadProperties \push #'font-relative-size = #-1
- basicStemProperties \push #'font-relative-size = #-1
- basicBeamProperties \push #'font-relative-size = #-1
- basicTextScriptProperties \push #'font-relative-size = #-1
- basicSlurProperties \push #'font-relative-size = #-1
- basicLocalKeyProperties \push #'font-relative-size = #-1
- };
- \translator{ \CueVoiceContext }
- StaffContext = \translator{\StaffContext
- \accepts "CueVoice";
- };
-}
+ texidoc = "@cindex Cue Notes
-\paper {
- StaffContext = \translator{
- \StaffContext
- \remove "Time_signature_engraver";
- };
- \translator { \StaffContext }
- \translator{
- \VoiceContext
- \remove "Auto_beam_engraver";
- }
- \translator {
- \ScoreContext
- barScriptPadding = #2.0
- markScriptPadding = #4.0
- barNumberScriptPadding = #15
- }
-}
+Cue notes should be set in smaller type. Cue clefs are
+usually not restored explicitly.
+" }
-\score{
- \notes \relative c' \context Voice
- {
- c4 c4 g'2
- \context CueVoice { r2 [f16 f f f] [a f f f] }
- c4 c4 g'2
- }
-}
+\score {
+ \notes
+ {
+ \property Staff.instrument = #"Horn in F"
+ \property Score.skipBars = ##t
+ R1*21
+ <
+ {
+ \property Staff.MultiMeasureRest \override #'staff-position = #-6
+ R1
+ \property Voice.MultiMeasureRest \revert #'staff-position
+ }
+ \context Voice = cue { s2
+ \clef tenor
+
+ %% this should probably be put into an identifier.
+ \property Staff.fontSize = #-1
+ \property Voice.Stem \override #'length = #5.5
+ \property Voice.Beam \override #'thickness = #0.384
+ \property Voice.Beam \override #'space-function =
+ #(lambda (beam mult) (* 0.8 (Beam::space_function beam mult)))
+
+ r8^"Bsn." c'8 f'8-[ f'8]
+% note: the clef should be cancelled from the cue.
+
+% if you want to cancel it in the main part, uncomment the following:
+% \property Staff.fontSize\unset
+% \property Staff . Clef = \turnOff
+
+ \clef treble
+ } >
+ c'8^"Horn" cis'
+ \property Staff.Clef \unset
+ eis'4 fis'4
+ }
+ \paper { raggedright = ##t}
+}