@refcommands
-@funindex \fatText
+@findex \fatText
@code{\fatText},
-@funindex \emptyText
+@findex \emptyText
@code{\emptyText}.
@cindex segno on bar line
@cindex fermata on bar line
@cindex bar lines, symbols on
-@funindex \mark
+@findex \mark
The @code{\mark} command is primarily used for
@ref{Rehearsal marks},
@cindex font selection
@cindex font magnification
-@funindex font-interface
+@findex font-interface
By setting the object properties described below, you can select a
font from the preconfigured font families. LilyPond has default
@cindex Rests, multi measure
@cindex Rests, full measure
@cindex whole rests for a full measure
-@funindex R
+@findex R
Rests for one full measure (or many bars) are entered using `@code{R}'. It
is specifically meant for full bar rests and for entering parts: the rest
In the MIDI output, they are interpreted as a tempo change. In the
layout output, a metronome marking is printed
-@funindex \tempo
+@findex \tempo
@lilypond[quote,ragged-right,verbatim,fragment]
\tempo 8.=120 c''1
@end lilypond
@subsection Rehearsal marks
@cindex Rehearsal marks
-@funindex \mark
+@findex \mark
To print a rehearsal mark, use the @code{\mark} command
and @code{format-mark-circle-barnumbers} to get bar numbers instead of
incremented numbers or letters.
+The horizontal location of rehearsal marks can be adjusted by
+setting @code{break-align-symbol}
+
+@lilypond[fragment,quote,ragged-right,verbatim,relative]
+c1
+\key cis \major
+\clef alto
+\override Score.RehearsalMark #'break-align-symbol = #'key-signature
+\mark "on-key"
+cis
+\key ces \major
+\override Score.RehearsalMark #'break-align-symbol = #'clef
+\clef treble
+\mark "on clef"
+ces
+@end lilypond
+
+@code{break-align-symbol} may also accept the following values:
+@code{ambitus}, @code{breathing-sign}, @code{clef}, @code{custos},
+@code{staff-bar}, @code{left-edge}, @code{key-cancellation},
+@code{key-signature}, and @code{time-signature}. Setting
+@code{break-align-symbol} will only have an effect if the symbol
+appears at that point in the music.
+
@seealso
@cindex Bar numbers
@cindex measure numbers
-@funindex currentBarNumber
+@findex currentBarNumber
Bar numbers are printed by default at the start of the line. The
number itself is stored in the @code{currentBarNumber} property, which
is normally updated automatically for every measure.
+@lilypond[verbatim,ragged-right,quote,fragment,relative]
+\repeat unfold 4 {c4 c c c} \break
+\set Score.currentBarNumber = #50
+\repeat unfold 4 {c4 c c c}
+@end lilypond
+
+Bar numbers may only be printed at bar lines; to print a bar
+number at the beginning of a piece, an empty bar line must
+be added
+
+@lilypond[verbatim,ragged-right,quote,fragment,relative]
+\set Score.currentBarNumber = #50
+\bar ""
+\repeat unfold 4 {c4 c c c} \break
+\repeat unfold 4 {c4 c c c}
+@end lilypond
+
Bar numbers can be typeset at regular intervals instead of at the
beginning of each line. This is illustrated in the following example,
whose source is available as
@lilypondfile[ragged-right,quote]{bar-number-regular-interval.ly}
-Bar numbers can be manually changed by setting the
-@code{Staff.currentBarNumber} property
-
-@lilypond[verbatim,ragged-right,quote]
-\relative c' {
- \repeat unfold 4 {c4 c c c} \break
- \set Score.currentBarNumber = #50
- \repeat unfold 4 {c4 c c c}
-}
-@end lilypond
-
Bar numbers can be removed entirely by removing the Bar number
engraver from the score.
@node Different editions from one source
@subsection Different editions from one source
-@funindex \tag
+@findex \tag
@cindex tag
The @code{\tag} command marks music expressions with a name. These
@node Quoting other voices
@subsection Quoting other voices
+@cindex cues
+
With quotations, fragments of other parts can be inserted into a part
directly. Before a part can be quoted, it must be marked especially as
quotable. This is done with the @code{\addquote} command.
@node Formatting cue notes
@subsection Formatting cue notes
+@cindex cues, formatting
+
The previous section deals with inserting notes from another voice.
There is a more advanced music function called @code{\cueDuring},
which makes formatting cue notes easier.
The following example demonstrates its use.
@lilypond[quote,verbatim,fragment,ragged-right,relative=2]
-\new Voice {
- \applyOutput
- #(add-balloon-text 'NoteHead "heads, or tails?"
- '(1 . -3))
+\applyOutput #'Voice
+ #(add-balloon-text 'NoteHead "heads, or tails?"
+ '(1 . -3))
c8
-}
@end lilypond
@noindent
@cindex Invisible notes
@cindex Transparent notes
-@funindex \hideNotes
-@funindex \unHideNotes
+@findex \hideNotes
+@findex \unHideNotes
Hidden (or invisible or transparent) notes can be useful in preparing theory
or composition exercises.
@refcommands
-@funindex \setEasyHeads
+@findex \setEasyHeads
@code{\setEasyHeads}