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