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