c
@end lilypond
+Notation objects which are attached to invisible notes are still
+visible.
+
+@lilypond[quote,ragged-right,verbatim,relative=2,fragment]
+c4( d)
+\hideNotes
+e4(\p f)->
+@end lilypond
+
+
@predefined
+@funindex \hideNotes
+@funindex \unHideNotes
@code{\hideNotes}, @code{\unHideNotes}
@seealso
@cindex parentheses
Objects may be parenthesized by prefixing @code{\parenthesize} to
-the music event. When applied to a chord, it parenthesizes every
-note.
+the music event. When prefixed to a chord, it parenthesizes every
+note. Individual notes inside a chord may also be parenthesized.
@lilypond[quote,relative=2,fragment,verbatim,ragged-right]
c2 \parenthesize d
c2 \parenthesize <c e g>
+c2 <c \parenthesize e g>
@end lilypond
Non-note objects may be parenthesized as well.
@internalsref{ParenthesesItem},
@internalsref{parentheses-interface}.
+@knownissues
+
+Parenthesizing a chord prints parentheses around each individual
+note, instead of a single large parenthesis around the entire
+chord.
+
@node Stems
@unnumberedsubsubsec Stems
}
@end lilypond
+@cindex balloon
+@cindex notation, explaining
+
There are two music functions, @code{balloonGrobText} and
@code{balloonText}; the former is used like @code{\once \override} to
attach text to any grob, and the latter is used like @code{\tweak},
typically within chords, to attach text to an individual note.
-@cindex balloon
-@cindex notation, explaining
+@predefined
+
+@funindex ballonLengthOn
+@funindex ballonLengthOff
+@code{\balloonLengthOn}, @code{\balloonLengthOff}
@seealso
@lilypond[quote,verbatim,ragged-right]
\layout {
\context {
- \Staff
+ \Voice
\consists "Horizontal_bracket_engraver"
}
}
@lilypond[quote,verbatim,ragged-right]
\layout {
\context {
- \Staff
+ \Voice
\consists "Horizontal_bracket_engraver"
}
}
\override TextScript #'infinite-spacing-height = ##f
}
+balloonLengthOn = {
+ \override BalloonTextItem #'extra-spacing-width = #'(0 . 0)
+ \override BalloonTextItem #'infinite-spacing-height = ##t
+}
+
+balloonLengthOff = {
+ \override BalloonTextItem #'extra-spacing-width = #'(+inf.0 . -inf.0)
+ \override BalloonTextItem #'infinite-spacing-height = ##f
+}
+
+
showStaffSwitch = \set followVoice = ##t
hideStaffSwitch = \set followVoice = ##f