Allow breathing signs to end automatic beams.
[lilypond/mpolesky.git] / Documentation / notation / expressive.itely
blob0763f6f0d2afd5cfea7de74584eb715a15c3fe35
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  For details, see the Contributors'
7     Guide, node Updating translation committishes..
8 @end ignore
10 @c \version "2.12.0"
12 @node Expressive marks
13 @section Expressive marks
15 @lilypondfile[quote]{expressive-headword.ly}
17 This section lists various expressive marks that can be
18 created in a score.
20 @menu
21 * Attached to notes::
22 * Curves::
23 * Lines::
24 @end menu
27 @node Attached to notes
28 @subsection Attached to notes
30 This section explains how to create expressive marks that are
31 attached to notes: articulations, ornamentations, and dynamics.
32 Methods to create new dynamic markings are also discussed.
34 @menu
35 * Articulations and ornamentations::
36 * Dynamics::
37 * New dynamic marks::
38 @end menu
40 @node Articulations and ornamentations
41 @unnumberedsubsubsec Articulations and ornamentations
43 @cindex articulations
44 @cindex ornamentation
45 @cindex scripts
46 @cindex ornaments
47 @cindex espressivo
48 @cindex fermata
49 @cindex upbow
50 @cindex downbow
51 @cindex foot marks
52 @cindex organ pedal marks
53 @cindex pedal marks, organ
54 @cindex turn
55 @cindex open
56 @cindex stopped
57 @cindex flageolet
58 @cindex reverseturn
59 @cindex trill
60 @cindex prall
61 @cindex mordent
62 @cindex prallprall
63 @cindex prallmordent
64 @cindex prall, up
65 @cindex prall, down
66 @cindex thumb marking
67 @cindex segno
68 @cindex coda
69 @cindex varcoda
71 @funindex -
73 A variety of symbols that denote articulations, ornamentations,
74 and other performance indications can be attached to a note using
75 this syntax:
77 @example
78 @var{note}\@var{name}
79 @end example
81 The possible values for @var{name} are listed in @ref{List of
82 articulations}.  For example:
84 @lilypond[verbatim,quote,relative=2]
85 c4\staccato c\mordent b2\turn
86 c1\fermata
87 @end lilypond
89 @cindex marcato
90 @cindex tenuto
91 @cindex staccatissimo
92 @cindex accent
93 @cindex staccato
94 @cindex portato
96 Some of these articulations have shorthands for easier entry.
97 Shorthands are appended to the note name, and their syntax
98 consists of a dash @code{-} followed by a symbol signifying the
99 articulation.  Predefined shorthands exist for @notation{marcato},
100 @notation{stopped}, @notation{tenuto}, @notation{staccatissimo},
101 @notation{accent}, @notation{staccato}, and @notation{portato}.
102 Their corresponding output appears as follows:
104 @lilypond[verbatim,quote,relative=2]
105 c4-^  c-+  c--  c-|
106 c4->  c-.  c2-_
107 @end lilypond
109 The rules for the default placement of articulations are defined
110 in @file{scm/@/script@/.scm}.  Articulations and ornamentations
111 may be manually placed above or below the staff; see
112 @ref{Direction and placement}.
114 Articulations are @code{Script} objects.  Their properties are
115 described more fully in @rinternals{Script}.
117 In addition to articulations, text and markups can be attached to
118 notes.  See @ref{Text scripts}.
120 For more information about the ordering of Scripts and TextScripts that
121 are attached to the notes, see @rlearning{Placement of objects}.
123 @snippets
125 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
126 {modifying-default-values-for-articulation-shorthand-notation.ly}
128 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
129 {controlling-the-vertical-ordering-of-scripts.ly}
131 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
132 {creating-a-delayed-turn.ly}
134 @seealso
135 Music Glossary:
136 @rglos{tenuto},
137 @rglos{accent},
138 @rglos{staccato},
139 @rglos{portato}.
141 Learning Manual:
142 @rlearning{Placement of objects}.
145 Notation Reference:
146 @ref{Text scripts},
147 @ref{Direction and placement},
148 @ref{List of articulations},
149 @ref{Trills}.
151 Installed Files:
152 @file{scm/@/script@/.scm}.
154 Snippets:
155 @rlsr{Expressive marks}.
157 Internals Reference:
158 @rinternals{Script},
159 @rinternals{TextScript}.
162 @node Dynamics
163 @unnumberedsubsubsec Dynamics
165 @cindex absolute dynamics
166 @cindex dynamics
167 @cindex dynamics, absolute
169 @funindex \ppppp
170 @funindex ppppp
171 @funindex \pppp
172 @funindex pppp
173 @funindex \ppp
174 @funindex ppp
175 @funindex \pp
176 @funindex pp
177 @funindex \p
178 @funindex p
179 @funindex \mp
180 @funindex mp
181 @funindex \mf
182 @funindex mf
183 @funindex \f
184 @funindex f
185 @funindex \ff
186 @funindex ff
187 @funindex \fff
188 @funindex fff
189 @funindex \ffff
190 @funindex ffff
191 @funindex \fffff
192 @funindex fffff
193 @funindex \fp
194 @funindex fp
195 @funindex \sf
196 @funindex sf
197 @funindex \sff
198 @funindex sff
199 @funindex \sp
200 @funindex sp
201 @funindex \spp
202 @funindex spp
203 @funindex \sfz
204 @funindex sfz
205 @funindex \rfz
206 @funindex rfz
208 Absolute dynamic marks are specified using a command after a note,
209 such as @code{c4\ff}.  The available dynamic marks are
210 @code{\ppppp}, @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p},
211 @code{\mp}, @code{\mf}, @code{\f}, @code{\ff}, @code{\fff},
212 @code{\ffff}, @code{\fffff}, @code{\fp}, @code{\sf}, @code{\sff},
213 @code{\sp}, @code{\spp}, @code{\sfz}, and @code{\rfz}.  Dynamic
214 marks may be manually placed above or below the staff; see
215 @ref{Direction and placement}.
217 @lilypond[verbatim,quote,relative=2]
218 c2\ppp c\mp
219 c2\rfz c^\mf
220 c2_\spp c^\ff
221 @end lilypond
223 @cindex hairpin
224 @cindex crescendo
225 @cindex decrescendo
226 @cindex diminuendo
228 @funindex \<
229 @funindex \>
230 @funindex \!
231 @funindex \cr
232 @funindex cr
233 @funindex \decr
234 @funindex decr
236 A @notation{crescendo} mark is started with @code{\<} and
237 terminated with @code{\!}, an absolute dynamic, or an additional
238 crescendo or decrescendo mark.  A @notation{decrescendo} mark is
239 started with @code{\>} and is also terminated with @code{\!}, an
240 absolute dynamic, or another crescendo or decrescendo mark.
241 @code{\cr} and @code{\decr} may be used instead of @code{\<} and
242 @code{\>}.  @notation{Hairpins} are engraved by default using this
243 notation.
245 @lilypond[verbatim,quote,relative=2]
246 c2\< c\!
247 d2\< d\f
248 e2\< e\>
249 f2\> f\!
250 e2\> e\mp
251 d2\> d\>
252 c1\!
253 @end lilypond
255 Spacer rests are needed to engrave multiple marks on one note.
257 @cindex multiple dynamic marks on one note
258 @cindex dynamic marks, multiple on one note
260 @lilypond[verbatim,quote,relative=2]
261 c4\< c\! d\> e\!
262 << f1 { s4 s4\< s4\> s4\! } >>
263 @end lilypond
265 @cindex espressivo articulation
267 @funindex \espressivo
268 @funindex espressivo
270 In some situations the @code{\espressivo} articulation mark may be
271 the appropriate choice to indicate a crescendo and decrescendo on
272 one note:
274 @lilypond[verbatim,quote,relative=2]
275 c2 b4 a
276 g1\espressivo
277 @end lilypond
280 @funindex \crescTextCresc
281 @funindex crescTextCresc
282 @funindex \dimTextDecresc
283 @funindex dimTextDecresc
284 @funindex \dimTextDecr
285 @funindex dimTextDecr
286 @funindex \dimTextDim
287 @funindex dimTextDim
288 @funindex \crescHairpin
289 @funindex crescHairpin
290 @funindex \dimHairpin
291 @funindex dimHairpin
293 Crescendos and decrescendos can be engraved as textual markings
294 instead of hairpins.  Dashed lines are printed to indicate their
295 extent.  The built-in commands @code{\crescTextCresc}, 
296 @code{\dimTextDecresc}, @code{\dimTextDecr}, and @code{\dimTextDim} 
297 will tell LilyPond to use such textual marks instead of hairpins 
298 for all subsequent @code{\<} and @code{\>} commands.  The corresponding
299 @code{\crescHairpin} and @code{\dimHairpin} commands will revert
300 to hairpins again:
302 @lilypond[verbatim,quote,relative=2]
303 \crescTextCresc
304 c2\< d | e f\!
305 \dimTextDecresc
306 e2\> d | c b\!
307 \crescHairpin
308 c2\< d | e f\!
309 \dimHairpin
310 e2\> d\!
311 @end lilypond
314 To create new absolute dynamic marks or text that should be
315 aligned with dynamics, see @ref{New dynamic marks}.
317 @cindex dynamics, vertical positioning
318 @cindex vertical positioning of dynamics
320 @funindex DynamicLineSpanner
323 Vertical positioning of dynamics is handled by
324 @rinternals{DynamicLineSpanner}.
325 @funindex \dynamicUp
326 @funindex dynamicUp
327 @funindex \dynamicDown
328 @funindex dynamicDown
329 @funindex \dynamicNeutral
330 @funindex dynamicNeutral
333 @predefined
334 @code{\dynamicUp},
335 @code{\dynamicDown},
336 @code{\dynamicNeutral},
337 @code{\crescTextCresc},
338 @code{\dimTextDim},
339 @code{\dimTextDecr},
340 @code{\dimTextDecresc},
341 @code{\crescHairpin},
342 @code{\dimHairpin}.
343 @endpredefined
346 @snippets
348 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
349 {setting-hairpin-behavior-at-bar-lines.ly}
351 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
352 {setting-the-minimum-length-of-hairpins.ly}
354 @cindex al niente
355 @cindex niente, al
357 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
358 {printing-hairpins-using-al-niente-notation.ly}
360 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
361 {vertically-aligned-dynamics-and-textscripts.ly}
363 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
364 {hiding-the-extender-line-for-text-dynamics.ly}
366 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
367 {changing-text-and-spanner-styles-for-text-dynamics.ly}
370 @seealso
371 Music Glossary:
372 @rglos{al niente},
373 @rglos{crescendo},
374 @rglos{decrescendo},
375 @rglos{hairpin}.
377 Learning Manual:
378 @rlearning{Articulation and dynamics}.
380 Notation Reference:
381 @ref{Direction and placement},
382 @ref{New dynamic marks},
383 @ref{What goes into the MIDI output?},
384 @ref{Controlling MIDI dynamics}.
386 Snippets:
387 @rlsr{Expressive marks}.
389 Internals Reference:
390 @rinternals{DynamicText},
391 @rinternals{Hairpin},
392 @rinternals{DynamicLineSpanner}.
395 @node New dynamic marks
396 @unnumberedsubsubsec New dynamic marks
398 @cindex new dynamic marks
399 @cindex dynamic marks, new
401 The easiest way to create dynamic indications is to use
402 @code{\markup} objects.
404 @lilypond[verbatim,quote]
405 moltoF = \markup { molto \dynamic f }
407 \relative c' {
408   <d e>16_\moltoF <d e>
409   <d e>2..
411 @end lilypond
413 @cindex dynamics, editorial
414 @cindex dynamics, parenthesis
415 @cindex editorial dynamics
416 @funindex \bracket
417 @funindex bracket
418 @funindex \dynamic
419 @funindex dynamic
421 In markup mode, editorial dynamics (within parentheses or square
422 brackets) can be created.  The syntax for markup mode is described
423 in @ref{Formatting text}.
425 @lilypond[verbatim,quote]
426 roundF = \markup { \center-align \concat { \bold { \italic ( }
427            \dynamic f \bold { \italic ) } } }
428 boxF = \markup { \bracket { \dynamic f } }
429 \relative c' {
430   c1_\roundF
431   c1_\boxF
433 @end lilypond
435 @cindex make-dynamic-script
436 @funindex make-dynamic-script
438 Simple, centered dynamic marks are easily created with the
439 @code{make-dynamic-script} function.
441 @lilypond[verbatim,quote]
442 sfzp = #(make-dynamic-script "sfzp")
443 \relative c' {
444   c4 c c\sfzp c
446 @end lilypond
448 In general, @code{make-dynamic-script} takes any markup object as its
449 argument.  The dynamic font only contains the characters
450 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
451 plain text or punctuation symbols is desired, markup commands that
452 reverts font family and font encoding to normal text should be used,
453 for example @code{\normal-text}.  The interest of using
454 @code{make-dynamic-script} instead of an ordinary markup is ensuring
455 the vertical alignment of markup objects and hairpins that are
456 attached to the same note head.
458 @lilypond[verbatim,quote]
459 roundF = \markup { \center-align \concat {
460            \normal-text { \bold { \italic ( } }
461            \dynamic f
462            \normal-text { \bold { \italic ) } } } }
463 boxF = \markup { \bracket { \dynamic f } }
464 mfEspress = \markup { \center-align \line {
465               \hspace #3.7 mf \normal-text \italic espress. } }
466 roundFdynamic = #(make-dynamic-script roundF)
467 boxFdynamic = #(make-dynamic-script boxF)
468 mfEspressDynamic = #(make-dynamic-script mfEspress)
469 \relative c' {
470   c4_\roundFdynamic\< d e f
471   g,1~_\boxFdynamic\>
472   g
473   g'~\mfEspressDynamic
474   g
476 @end lilypond
478 The Scheme form of markup mode may be used instead.  Its syntax is
479 explained in @rextend{Markup construction in Scheme}.
481 @lilypond[verbatim,quote]
482 moltoF = #(make-dynamic-script
483             (markup #:normal-text "molto"
484                     #:dynamic "f"))
485 \relative c' {
486   <d e>16 <d e>
487   <d e>2..\moltoF
489 @end lilypond
491 Font settings in markup mode are described in
492 @ref{Selecting font and font size}.
495 @seealso
496 Notation Reference:
497 @ref{Formatting text},
498 @ref{Selecting font and font size},
499 @ref{What goes into the MIDI output?},
500 @ref{Controlling MIDI dynamics}.
502 Snippets:
503 @rlsr{Expressive marks}.
505 Extend:
506 @rextend{Markup construction in Scheme}.
510 @node Curves
511 @subsection Curves
513 This section explains how to create various expressive marks that
514 are curved: normal slurs, phrasing slurs, breath marks, falls, and
515 doits.
517 @menu
518 * Slurs::
519 * Phrasing slurs::
520 * Breath marks::
521 * Falls and doits::
522 @end menu
524 @node Slurs
525 @unnumberedsubsubsec Slurs
527 @cindex slurs
529 @notation{Slurs} are entered using parentheses:
531 @warning{In polyphonic music, a slur must be terminated
532 in the same voice it began.}
534 @lilypond[verbatim,quote,relative=2]
535 f4( g a) a8 b(
536 a4 g2 f4)
537 <c e>2( <b d>2)
538 @end lilypond
540 @cindex slurs, manual placement
541 @cindex slurs, below notes
542 @cindex slurs, above notes
543 @funindex \slurDown
544 @funindex slurDown
545 @funindex \slurNeutral
546 @funindex slurNeutral
548 Slurs may be manually placed above or below the staff; see
549 @ref{Direction and placement}.
551 @cindex phrasing slur
552 @cindex multiple slurs
553 @cindex simultaneous slurs
554 @cindex slur, phrasing
555 @cindex slurs, multiple
556 @cindex slurs, simultaneous
558 Simultaneous or overlapping slurs are not permitted, but a phrasing
559 slur can overlap a slur.  This permits two slurs to be printed at
560 once.  For details, see @ref{Phrasing slurs}.
562 @cindex slur style
563 @cindex slur, solid
564 @cindex slur, dotted
565 @cindex slur, dashed
566 @cindex solid slur
567 @cindex dotted slur
568 @cindex dashed slur
569 @cindex style, slur
570 @funindex \slurDashed
571 @funindex slurDashed
572 @funindex \slurDotted
573 @funindex slurDotted
574 @funindex \slurSolid
575 @funindex slurSolid
577 Slurs can be solid, dotted, or dashed.  Solid is the default slur
578 style:
580 @lilypond[verbatim,quote,relative=1]
581 c4( e g2)
582 \slurDashed
583 g4( e c2)
584 \slurDotted
585 c4( e g2)
586 \slurSolid
587 g4( e c2)
588 @end lilypond
590 @funindex \slurHalfDashed
591 @funindex slurHalfDashed
592 @funindex \slurHalfSolid
593 @funindex slurHalfSolid
594 @cindex slur, half dashed and half solid
596 Slurs can also be made half-dashed (the first half dashed, the
597 second half solid) or half-solid (the first half solid, the second
598 half dashed):
600 @lilypond[verbatim,quote,relative=1]
601 c4( e g2)
602 \slurHalfDashed
603 g4( e c2)
604 \slurHalfSolid
605 c4( e g2)
606 \slurSolid
607 g4( e c2)
608 @end lilypond
610 @funindex \slurDashPattern
611 @funindex slurDashPattern
612 @cindex slur, defining dash patterns
614 Custom dash patterns for slurs can be defined:
616 @lilypond[verbatim,quote,relative=1]
617 c4( e g2)
618 \slurDashPattern #0.7 #0.75
619 g4( e c2)
620 \slurDashPattern #0.5 #2.0
621 c4( e g2)
622 \slurSolid
623 g4( e c2)
624 @end lilypond
628 @funindex \slurUp
629 @funindex slurUp
632 @predefined
633 @code{\slurUp},
634 @code{\slurDown},
635 @code{\slurNeutral},
636 @code{\slurDashed},
637 @code{\slurDotted},
638 @code{\slurHalfDashed},
639 @code{\slurHalfSolid},
640 @code{\slurDashPattern},
641 @code{\slurSolid}.
642 @endpredefined
645 @snippets
647 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
648 {using-double-slurs-for-legato-chords.ly}
650 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
651 {positioning-text-markups-inside-slurs.ly}
653 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
654 {making-slurs-with-complex-dash-structure.ly}
657 @seealso
658 Music Glossary:
659 @rglos{slur}.
661 Learning Manual:
662 @rlearning{On the un-nestedness of brackets and ties}.
664 Notation Reference:
665 @ref{Direction and placement},
666 @ref{Phrasing slurs}.
668 Snippets:
669 @rlsr{Expressive marks}.
671 Internals Reference:
672 @rinternals{Slur}.
675 @node Phrasing slurs
676 @unnumberedsubsubsec Phrasing slurs
678 @cindex phrasing slurs
679 @cindex phrasing marks
680 @cindex slur, phrasing
681 @cindex mark, phrasing
682 @funindex \(
683 @funindex \)
685 @notation{Phrasing slurs} (or phrasing marks) that indicate a
686 musical sentence are written using the commands @code{\(} and
687 @code{\)} respectively:
689 @lilypond[verbatim,quote,relative=2]
690 c4\( d( e) f(
691 e2) d\)
692 @end lilypond
694 @funindex \phrasingSlurUp
695 @funindex phrasingSlurUp
696 @funindex \phrasingSlurDown
697 @funindex phrasingSlurDown
698 @funindex \phrasingSlurNeutral
699 @funindex phrasingSlurNeutral
701 Typographically, a phrasing slur behaves almost exactly like a
702 normal slur.  However, they are treated as different objects; a
703 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
704 may be manually placed above or below the staff; see
705 @ref{Direction and placement}.
707 @cindex simultaneous phrasing slurs
708 @cindex multiple phrasing slurs
709 @cindex slur, simultaneous phrasing
710 @cindex slur, multiple phrasing
711 @cindex phrasing slur, simultaneous
712 @cindex phrasing slur, multiple
714 Simultaneous or overlapping phrasing slurs are not permitted.
716 @funindex phrasingSlurDashed
717 @funindex \phrasingSlurDashed
718 @funindex \phrasingSlurDotted
719 @funindex phrasingSlurDotted
720 @funindex \phrasingSlurSolid
721 @funindex phrasingSlurSolid
722 @cindex phrasing slur, dashed
723 @cindex dashed phrasing slur
724 @cindex phrasing slur, dotted
725 @cindex dotted phrasing slurs
726 @cindex slur, dashed phrasing
727 @cindex slur, dotted phrasing
729 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
730 style for phrasing slurs:
732 @lilypond[verbatim,quote,relative=1]
733 c4\( e g2\)
734 \phrasingSlurDashed
735 g4\( e c2\)
736 \phrasingSlurDotted
737 c4\( e g2\)
738 \phrasingSlurSolid
739 g4\( e c2\)
740 @end lilypond
742 @funindex phrasingSlurHalfDashed
743 @funindex \phrasingSlurHalfDashed
744 @funindex \phrasingSlurHalfSolid
745 @funindex phrasingSlurHalfSolid
746 @cindex phrasing slur, half solid and half dashed
747 @cindex slur, half solid and half dashed phrasing
749 Phrasing slurs can also be made half-dashed (the first half dashed, the
750 second half solid) or half-solid (the first half solid, the second
751 half dashed):
753 @lilypond[verbatim,quote,relative=1]
754 c4\( e g2\)
755 \phrasingSlurHalfDashed
756 g4\( e c2\)
757 \phrasingSlurHalfSolid
758 c4\( e g2\)
759 \phrasingSlurSolid
760 g4\( e c2\)
761 @end lilypond
763 @funindex \phrasingSlurDashPattern
764 @funindex phrasingSlurDashPattern
765 @cindex phrasing slur, defining dash patterns
766 @cindex slur, phrasing, defining dash patterns
767 @cindex slur, definind dash patterns for phrasing
769 Custom dash patterns for phrasing slurs can be defined:
771 @lilypond[verbatim,quote,relative=1]
772 c4\( e g2\)
773 \phrasingSlurDashPattern #0.7 #0.75
774 g4\( e c2\)
775 \phrasingSlurDashPattern #0.5 #2.0
776 c4\( e g2\)
777 \phrasingSlurSolid
778 g4\( e c2\)
779 @end lilypond
781 Dash pattern definitions for phrasing slurs have the same structure
782 as dash pattern definitions for slurs.  For more information about
783 complex dash patterns, see the snippets under @ref{Slurs}.
785 @predefined
786 @code{\phrasingSlurUp},
787 @code{\phrasingSlurDown},
788 @code{\phrasingSlurNeutral},
789 @code{\phrasingSlurDashed},
790 @code{\phrasingSlurDotted},
791 @code{\phrasingSlurHalfDashed},
792 @code{\phrasingSlurHalfSolid},
793 @code{\phrasingSlurDashPattern},
794 @code{\phrasingSlurSolid}.
795 @endpredefined
798 @seealso
799 Learning Manual:
800 @rlearning{On the un-nestedness of brackets and ties}.
802 Notation Reference:
803 @ref{Direction and placement},
804 @ref{Slurs}.
806 Snippets:
807 @rlsr{Expressive marks}.
809 Internals Reference:
810 @rinternals{PhrasingSlur}.
813 @node Breath marks
814 @unnumberedsubsubsec Breath marks
816 @cindex breath marks
817 @cindex pause mark
818 @funindex \breathe
819 @funindex breathe
821 Breath marks are entered using @code{\breathe}:
823 @lilypond[verbatim,quote,relative=2]
824 c2. \breathe d4
825 @end lilypond
827 A breath mark will end an automatic beam; to override this behavior, see
828 @ref{Manual beams}.
830 @lilypond[verbatim,quote,relative=2]
831 c8 \breathe d e f g2
832 @end lilypond
834 Musical indicators for breath marks in ancient notation,
835 divisiones, are supported.  For details, see @ref{Divisiones}.
838 @snippets
840 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
841 {changing-the-breath-mark-symbol.ly}
843 @cindex caesura
844 @cindex railroad tracks
846 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
847 {inserting-a-caesura.ly}
850 @seealso
851 Music Glossary:
852 @rglos{caesura}.
854 Notation Reference:
855 @ref{Divisiones}.
857 Snippets:
858 @rlsr{Expressive marks}.
860 Internals Reference:
861 @rinternals{BreathingEvent},
862 @rinternals{BreathingSign},
863 @rinternals{Breathing_sign_engraver}.
866 @node Falls and doits
867 @unnumberedsubsubsec Falls and doits
869 @cindex falls
870 @cindex doits
871 @funindex \bendAfter
872 @funindex bendAfter
874 @notation{Falls} and @notation{doits} can be added to notes using
875 the @code{\bendAfter} command.  The direction of the fall or doit
876 is indicated with a plus or minus (up or down).  The number
877 indicates the pitch interval that the fall or doit will extend
878 @emph{beyond} the main note.
880 @lilypond[verbatim,quote,relative=2]
881 c2-\bendAfter #+4
882 c2-\bendAfter #-4
883 c2-\bendAfter #+8
884 c2-\bendAfter #-8
885 @end lilypond
887 The dash @code{-} immediately preceding the @code{\bendAfter}
888 command is @emph{required} when writing falls and doits.
891 @snippets
893 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
894 {adjusting-the-shape-of-falls-and-doits.ly}
897 @seealso
898 Music Glossary:
899 @rglos{fall},
900 @rglos{doit}.
902 Snippets:
903 @rlsr{Expressive marks}.
906 @node Lines
907 @subsection Lines
909 This section explains how to create various expressive marks that
910 follow a linear path: glissandos, arpeggios, and trills.
912 @menu
913 * Glissando::
914 * Arpeggio::
915 * Trills::
916 @end menu
918 @node Glissando
919 @unnumberedsubsubsec Glissando
921 @cindex glissando
922 @funindex \glissando
923 @funindex glissando
925 A @notation{glissando} is created by attaching @code{\glissando}
926 to a note:
928 @lilypond[verbatim,quote,relative=2]
929 g2\glissando g'
930 c2\glissando c,
931 @end lilypond
933 Different styles of glissandi can be created.  For details, see
934 @ref{Line styles}.
936 @snippets
938 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
939 {contemporary-glissando.ly}
942 @seealso
943 Music Glossary:
944 @rglos{glissando}.
946 Notation Reference:
947 @ref{Line styles}.
949 Snippets:
950 @rlsr{Expressive marks}.
952 Internals Reference:
953 @rinternals{Glissando}.
956 @knownissues
958 Printing text over the line (such as @notation{gliss.}) is not
959 supported.
962 @node Arpeggio
963 @unnumberedsubsubsec Arpeggio
965 @cindex arpeggio
966 @cindex broken chord
967 @cindex chord, broken
969 @funindex \arpeggio
970 @funindex arpeggio
971 @funindex \arpeggioArrowUp
972 @funindex arpeggioArrowUp
973 @funindex \arpeggioArrowDown
974 @funindex arpeggioArrowDown
975 @funindex \arpeggioNormal
976 @funindex arpeggioNormal
978 An @notation{arpeggio} on a chord (also known as a broken chord)
979 is denoted by appending @code{\arpeggio} to the chord construct:
981 @lilypond[verbatim,quote,relative=1]
982 <c e g c>1\arpeggio
983 @end lilypond
985 Different types of arpeggios may be written.
986 @code{\arpeggioNormal} reverts to a normal arpeggio:
988 @lilypond[verbatim,quote,relative=1]
989 <c e g c>2\arpeggio
991 \arpeggioArrowUp
992 <c e g c>2\arpeggio
994 \arpeggioArrowDown
995 <c e g c>2\arpeggio
997 \arpeggioNormal
998 <c e g c>2\arpeggio
999 @end lilypond
1001 @cindex arpeggio symbols, special
1002 @cindex special arpeggio symbols
1004 @funindex \arpeggioBracket
1005 @funindex arpeggioBracket
1006 @funindex \arpeggioParenthesis
1007 @funindex arpeggioParenthesis
1008 @funindex \arpeggioParenthesisDashed
1009 @funindex arpeggioParenthesisDashed
1011 Special @emph{bracketed} arpeggio symbols can be created:
1013 @lilypond[verbatim,quote,relative=1]
1014 <c e g c>2
1016 \arpeggioBracket
1017 <c e g c>2\arpeggio
1019 \arpeggioParenthesis
1020 <c e g c>2\arpeggio
1022 \arpeggioParenthesisDashed
1023 <c e g c>2\arpeggio
1025 \arpeggioNormal
1026 <c e g c>2\arpeggio
1027 @end lilypond
1029 The dash properties of the parenthesis arpeggio are controlled
1030 with the @code{'dash-details} property, which is described at @ref{Slurs}.
1032 Arpeggios can be explicitly written out with ties.  For more
1033 information, see @ref{Ties}.
1036 @predefined
1037 @code{\arpeggio},
1038 @code{\arpeggioArrowUp},
1039 @code{\arpeggioArrowDown},
1040 @code{\arpeggioNormal},
1041 @code{\arpeggioBracket},
1042 @code{\arpeggioParenthesis}
1043 @code{\arpeggioParenthesisDashed}.
1044 @endpredefined
1047 @snippets
1049 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1050 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1052 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1053 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1055 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1056 {creating-arpeggios-across-notes-in-different-voices.ly}
1059 @seealso
1060 Music Glossary:
1061 @rglos{arpeggio}.
1063 Notation Reference:
1064 @ref{Slurs},
1065 @ref{Ties}.
1067 Snippets:
1068 @rlsr{Expressive marks}.
1070 Internals Reference:
1071 @rinternals{Arpeggio},
1072 @rinternals{Slur},
1073 @rinternals{PianoStaff}.
1076 @knownissues
1078 @cindex cross-staff parenthesis-style arpeggio
1079 @cindex arpeggio, parenthesis-style, cross-staff
1080 @cindex arpeggio, cross-staff parenthesis-style
1082 It is not possible to mix connected arpeggios and unconnected
1083 arpeggios in one @code{PianoStaff} at the same point in
1084 time.
1086 The parenthesis-style arpeggio brackets do not work for
1087 cross-staff arpeggios.
1090 @node Trills
1091 @unnumberedsubsubsec Trills
1093 @cindex trills
1095 @funindex \trill
1096 @funindex trill
1097 @funindex \startTrillSpan
1098 @funindex startTrillSpan
1099 @funindex \stopTrillSpan
1100 @funindex stopTrillSpan
1102 Short @notation{trills} without an extender line are printed with
1103 @code{\trill}; see @ref{Articulations and ornamentations}.
1105 Longer trills with an extender line are made with
1106 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1108 @lilypond[verbatim,quote,relative=2]
1109 d1~\startTrillSpan
1111 c2\stopTrillSpan r2
1112 @end lilypond
1114 In the following example, a trill is combined with grace notes.
1115 The syntax of this construct and the method to precisely position
1116 the grace notes are described in @ref{Grace notes}.
1118 @lilypond[verbatim,quote,relative=2]
1119 c1 \afterGrace
1120 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1121 e2 r2
1122 @end lilypond
1124 @cindex pitched trills
1125 @cindex trills, pitched
1126 @funindex \pitchedTrill
1127 @funindex pitchedTrill
1129 Trills that require an auxiliary note with an explicit pitch can
1130 be typeset with the @code{\pitchedTrill} command.  The first
1131 argument is the main note, and the second is the @emph{trilled}
1132 note, printed as a stemless note head in parentheses.
1134 @lilypond[verbatim,quote,relative=1]
1135 \pitchedTrill e2\startTrillSpan fis
1136 d\stopTrillSpan
1137 @end lilypond
1139 @cindex pitched trill with forced accidental
1140 @cindex trill, pitched with forced accidental
1141 @cindex accidental, forced for pitched trill
1143 In the following example, the second pitched trill is ambiguous;
1144 the accidental of the trilled note is not printed.  As a
1145 workaround, the accidentals of the trilled notes can be forced.
1146 The second measure illustrates this method:
1148 @lilypond[verbatim,quote,relative=2]
1149 \pitchedTrill eis4\startTrillSpan fis
1150 g\stopTrillSpan
1151 \pitchedTrill eis4\startTrillSpan fis
1152 g\stopTrillSpan
1153 \pitchedTrill eis4\startTrillSpan fis
1154 g\stopTrillSpan
1155 \pitchedTrill eis4\startTrillSpan fis!
1156 g\stopTrillSpan
1157 @end lilypond
1160 @predefined
1161 @code{\startTrillSpan},
1162 @code{\stopTrillSpan}.
1163 @endpredefined
1166 @seealso
1167 Music Glossary:
1168 @rglos{trill}.
1170 Notation Reference:
1171 @ref{Articulations and ornamentations},
1172 @ref{Grace notes}.
1174 Snippets:
1175 @rlsr{Expressive marks}.
1177 Internals Reference:
1178 @rinternals{TrillSpanner}.