* Tablatures::
* Chord names::
* Orchestral music::
+* Formatting cue notes::
* Ancient notation::
* Contemporary notation::
* Educational use::
* Partial measures::
* Unmetered music::
* Bar lines::
+* Controlling formatting of prefatory matter::
@end menu
@node Staff symbol
This command is equivalent to setting @code{clefGlyph},
@code{clefPosition} (which controls the Y position of the clef),
@code{centralCPosition} and @code{clefOctavation}. A clef is printed
-when any of these properties are changed.
+when any of these properties are changed. The following example shows
+possibilities when setting properties manually.
+
+@lilypond[verbatim]
+{
+ \set Staff.clefGlyph = #"clefs-F"
+ \set Staff.clefPosition = #2
+ c'4
+ \set Staff.clefGlyph = #"clefs-G"
+ c'4
+ \set Staff.clefGlyph = #"clefs-C"
+ c'4
+ \set Staff.clefOctavation = #7
+ c'4
+ \set Staff.clefOctavation = #0
+ \set Staff.clefPosition = #0
+ c'4
+ \clef "bass"
+ c'4
+}
+@end lilypond
+
@seealso
-Program reference: the object for this symbol is @internalsref{Clef}.
+Program reference: @internalsref{Clef}.
Examples: @inputfileref{input/test,bar-lines.ly},
+@node Controlling formatting of prefatory matter
+@subsection Controlling formatting of prefatory matter
+
+TODO
+
+@lilypond[verbatim]
+\transpose c c' {
+ \override Staff.Clef #'break-visibility = #end-of-line-visible
+ \override Staff.KeySignature #'break-visibility = #end-of-line-visible
+ \set Staff.explicitClefVisibility = #end-of-line-visible
+ \set Staff.explicitKeySignatureVisibility = #end-of-line-visible
+
+ % We want the time sig to take space, otherwise there is not
+ % enough white at the start of the line.
+ %
+
+ \override Staff.TimeSignature #'transparent = ##t
+ \set Score.defaultBarType = #"empty"
+
+ c1 d e f g a b c
+ \key d \major
+ \break
+
+ % see above.
+ \time 4/4
+
+ d e fis g a b cis d
+ \key g \major
+ \break
+ \time 4/4
+}
+@end lilypond
+
+
@node Polyphony
@section Polyphony
@cindex polyphony
@menu
* Multiple staff contexts::
+* Aligning to cadenzas::
* Rehearsal marks::
* Bar numbers::
* Instrument names::
Program reference: @internalsref{QuoteMusic}.
+@node Formatting cue notes
+@section Formatting cue notes
+
+
+The previous section deals with inserting notes from another
+voice. When making a part, there is also the part of formatting those
+notes. Here is an example of formatted cue notes
+
+@lilypond[verbatim]
+smaller = {
+ \set fontSize = #-1
+ \override Stem #'length = #5.5
+ \override Beam #'thickness = #0.384
+ \override Beam #'space-function =
+ #(lambda (beam mult) (* 0.8 (Beam::space_function beam mult)))
+}
+
+{
+ \set Staff.instrument = #"Horn in F"
+ \set Score.skipBars = ##t
+ R1*21
+ << {
+ \once \override Staff.MultiMeasureRest #'staff-position = #-6
+ R1
+ }
+ \new Voice {
+ s2
+ \clef tenor
+ \smaller
+ r8^"Bsn." c'8 f'8[ f'8]
+ \clef treble
+ }
+ >>
+ c'8^"Horn" cis'
+ eis'4 fis'4
+}
+@end lilypond
+
+
+There are a couple of points to take care of:
+
+@itemize @bullet
+@item
+The multi rest of the original part should be moved up or down during
+the cue.
+@item
+Cue notes have smaller font sizes.
+@item
+When cued notes have a clef change relative to the original part, the
+clef should be restored after the cue section. This minimizes
+confusion for the reader,
+@item
+When the original part starts, this should be marked with the name of
+the instrument, in this case ``Horn.'' Of course, the cue part is
+marked with the instrument playing the cue.
+@end itemize
+
+
+
@node Ancient notation
@section Ancient notation
+++ /dev/null
-\version "2.3.8"
-\header {
-
- texidoc = "@cindex Clef End of Line
-In these scales, the clef and key signature are shown at the end of the line.
-" }
-
-\score {
- \transpose c c' {
- \override Staff.Clef #'break-visibility = #end-of-line-visible
- \override Staff.KeySignature #'break-visibility = #end-of-line-visible
- \set Staff.explicitClefVisibility = #end-of-line-visible
- \set Staff.explicitKeySignatureVisibility = #end-of-line-visible
-
- % We want the time sig to take space, otherwise there is not
- % enough white at the start of the line.
- %
-
- \override Staff.TimeSignature #'transparent = ##t
- \set Score.defaultBarType = #"empty"
-
- c1 d e f g a b c
- \key d \major
- \break
-
- % see above.
- \time 4/4
-
- d e fis g a b cis d
- \key g \major
- \break
- \time 4/4
-} }
-
+++ /dev/null
-\version "2.3.8"
-\header{ texidoc = "
-
-@cindex Clef Manual Control
-
-The positioning of glyph and note can be separated. @code{\clef} is
-a front-end, which keeps them together. All the notes in this example
-are central C."
-
-}
-
-\score { {
- \set Staff.clefGlyph = #"clefs-F"
- \set Staff.clefPosition = #2
- c'4
- \set Staff.clefGlyph = #"clefs-G"
- c'4
- \set Staff.clefGlyph = #"clefs-C"
-
- c'4
- \set Staff.clefOctavation = #7
- c'4
- \set Staff.clefOctavation = #0
- \set Staff.clefPosition = #0
- c'4
- \clef "bass"
- c'4
-
-}
- \paper{ raggedright = ##t }
-}
-
% Cue clefs are usually not restored explicitly. "
}
-
-\score {
-
- {
- \set Staff.instrument = #"Horn in F"
- \set Score.skipBars = ##t
- R1*21
- <<
- {
- \once \override Staff.MultiMeasureRest #'staff-position = #-6
- R1
- }
- \new Voice { s2
- \clef tenor
-
- %% this should probably be put into an identifier.
- \set Staff.fontSize = #-1
- \override Stem #'length = #5.5
- \override Beam #'thickness = #0.384
- \override Beam #'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.
-% this is under debate; I don't think it should. - Graham
-
-% if you want to cancel it in the main part, uncomment the following:
-% \set Staff.Clef = \turnOff
-
- \unset Staff.fontSize
-
- \clef treble
- } >>
- c'8^"Horn" cis'
- \unset Staff.Clef
- eis'4 fis'4
- }
- \paper { raggedright = ##t}
-}