]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/notation-appendices.itely
Doc - NR + CG: Clarify Emmentaler is the 'font' and Feta/Parmesan are glyphs
[lilypond.git] / Documentation / notation / notation-appendices.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2
3 @ignore
4     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  For details, see the Contributors'
8     Guide, node Updating translation committishes..
9 @end ignore
10
11 @c \version "2.19.28"
12
13 @node Notation manual tables
14 @appendix Notation manual tables
15
16 @menu
17 * Chord name chart::
18 * Common chord modifiers::
19 * Predefined string tunings::
20 * Predefined fretboard diagrams::
21 * Predefined paper sizes::
22 * MIDI instruments::
23 * List of colors::
24 * The Emmentaler font::
25 * Note head styles::
26 * Clef styles::
27 * Text markup commands::
28 * Text markup list commands::
29 * List of special characters::
30 * List of articulations::
31 * Percussion notes::
32 * Technical glossary::
33 * All context properties::
34 * Layout properties::
35 * Available music functions::
36 * Context modification identifiers::
37 * Predefined type predicates::
38 * Scheme functions::
39 @end menu
40
41
42
43 @node Chord name chart
44 @appendixsec Chord name chart
45
46 The following chart shows two standard systems for printing chord
47 names, along with the pitches they represent.
48
49 @c The line width is a hack to allow space for instrument names
50 @lilypondfile[quote,line-width=15\cm]{chord-names-jazz.ly}
51
52 @node Common chord modifiers
53 @appendixsec Common chord modifiers
54
55 The following table shows chord modifiers that can be used to generate
56 standard chord structures.
57
58 @multitable @columnfractions .2 .25 .2 .15 .2
59
60 @item
61 @b{Type}
62 @tab
63 @b{Interval}
64 @tab
65 @b{Modifier}
66 @tab
67 @b{Example}
68 @tab
69 @b{Output}
70
71
72 @item
73 Major
74 @tab
75 Major third, @*perfect fifth
76 @tab
77 @code{5} or nothing
78 @tab
79 @code{c1:5}
80 @tab
81 @lilypond[line-width=2.1\cm,notime]
82 <<
83   \chords { c1:5 }
84   \chordmode { c1:5 }
85 >>
86 @end lilypond
87
88 @item
89 Minor
90 @tab
91 Minor third, @*perfect fifth
92 @tab
93 @code{m} or @code{m5}
94 @tab
95 @code{c1:m}
96 @tab
97 @lilypond[line-width=2.1\cm,noragged-right,notime]
98 <<
99   \chords { c1:m }
100   \chordmode { c1:m }
101 >>
102 @end lilypond
103
104 @item
105 Augmented
106 @tab
107 Major third, @*augmented fifth
108 @tab
109 @code{aug}
110 @tab
111 @code{c1:aug}
112 @tab
113 @lilypond[line-width=2.1\cm,noragged-right,notime]
114 <<
115   \chords { c1:aug }
116   \chordmode { c1:aug }
117 >>
118 @end lilypond
119
120 @item
121 Diminished
122 @tab
123 Minor third, @*diminished fifth
124 @tab
125 @code{dim}
126 @tab
127 @code{c1:dim}
128 @tab
129 @lilypond[line-width=2.1\cm,noragged-right,notime]
130 <<
131   \chords { c1:dim }
132   \chordmode { c1:dim }
133 >>
134 @end lilypond
135
136 @item
137 Dominant seventh
138 @tab
139 Major triad, @*minor seventh
140 @tab
141 @code{7}
142 @tab
143 @code{c1:7}
144 @tab
145 @lilypond[line-width=2.1\cm,noragged-right,notime]
146 <<
147   \chords { c1:7 }
148   \chordmode { c1:7 }
149 >>
150 @end lilypond
151
152 @item
153 Major seventh
154 @tab
155 Major triad, @*major seventh
156 @tab
157 @code{maj7} or @code{maj}
158 @tab
159 @code{c1:maj7}
160 @tab
161 @lilypond[line-width=2.1\cm,noragged-right,notime]
162 <<
163   \chords { c1:maj7 }
164   \chordmode { c1:maj7 }
165 >>
166 @end lilypond
167
168 @item
169 Minor seventh
170 @tab
171 Minor triad, @*minor seventh
172 @tab
173 @code{m7}
174 @tab
175 @code{c1:m7}
176 @tab
177 @lilypond[line-width=2.1\cm,noragged-right,notime]
178 <<
179   \chords { c1:m7 }
180   \chordmode { c1:m7 }
181 >>
182 @end lilypond
183
184 @item
185 Diminished seventh
186 @tab
187 Diminished triad, @*diminished seventh
188 @tab
189 @code{dim7}
190 @tab
191 @code{c1:dim7}
192 @tab
193 @lilypond[line-width=2.1\cm,noragged-right,notime]
194 <<
195   \chords { c1:dim7}
196   \chordmode { c1:dim7 }
197 >>
198 @end lilypond
199
200 @item
201 Augmented seventh
202 @tab
203 Augmented triad, @*minor seventh
204 @tab
205 @code{aug7}
206 @tab
207 @code{c1:aug7}
208 @tab
209 @lilypond[line-width=2.1\cm,noragged-right,notime]
210 <<
211   \chords { c1:aug7 }
212   \chordmode { c1:aug7 }
213 >>
214 @end lilypond
215
216 @item
217 Half-diminished seventh
218 @tab
219 Diminished triad, @*minor seventh
220 @tab
221 @code{m7.5-}
222 @tab
223 @code{c1:m7.5-}
224 @tab
225 @lilypond[line-width=2.1\cm,noragged-right,notime]
226 <<
227   \chords { c1:m7.5- }
228   \chordmode { c1:m7.5- }
229 >>
230 @end lilypond
231
232 @item
233 Minor-major seventh
234 @tab
235 Minor triad, @*major seventh
236 @tab
237 @code{m7+}
238 @tab
239 @code{c1:m7+}
240 @tab
241 @lilypond[line-width=2.1\cm,noragged-right,notime]
242 <<
243   \chords { c1:m7+ }
244   \chordmode { c1:m7+ }
245 >>
246 @end lilypond
247
248 @item
249 Major sixth
250 @tab
251 Major triad, @*sixth
252 @tab
253 @code{6}
254 @tab
255 @code{c1:6}
256 @tab
257 @lilypond[line-width=2.1\cm,noragged-right,notime]
258 <<
259   \chords { c1:6 }
260   \chordmode { c1:6 }
261 >>
262 @end lilypond
263
264 @item
265 Minor sixth
266 @tab
267 Minor triad, @*sixth
268 @tab
269 @code{m6}
270 @tab
271 @code{c1:m6}
272 @tab
273 @lilypond[line-width=2.1\cm,noragged-right,notime]
274 <<
275   \chords { c1:m6 }
276   \chordmode { c1:m6 }
277 >>
278 @end lilypond
279
280 @item
281 Dominant ninth
282 @tab
283 Dominant seventh, @*major ninth
284 @tab
285 @code{9}
286 @tab
287 @code{c1:9}
288 @tab
289 @lilypond[line-width=2.1\cm,noragged-right,notime]
290 <<
291   \chords { c1:9 }
292   \chordmode { c1:9 }
293 >>
294 @end lilypond
295
296 @item
297 Major ninth
298 @tab
299 Major seventh, @*major ninth
300 @tab
301 @code{maj9}
302 @tab
303 @code{c1:maj9}
304 @tab
305 @lilypond[line-width=2.1\cm,noragged-right,notime]
306 <<
307   \chords { c1:maj9 }
308   \chordmode { c1:maj9 }
309 >>
310 @end lilypond
311
312 @item
313 Minor ninth
314 @tab
315 Minor seventh, @*major ninth
316 @tab
317 @code{m9}
318 @tab
319 @code{c1:m9}
320 @tab
321 @lilypond[line-width=2.1\cm,noragged-right,notime]
322 <<
323   \chords { c1:m9 }
324   \chordmode { c1:m9 }
325 >>
326 @end lilypond
327
328 @item
329 Dominant eleventh
330 @tab
331 Dominant ninth, @*perfect eleventh
332 @tab
333 @code{11}
334 @tab
335 @code{c1:11}
336 @tab
337 @lilypond[line-width=2.1\cm,noragged-right,notime]
338 <<
339   \chords { c1:11 }
340   \chordmode { c1:11 }
341 >>
342 @end lilypond
343
344 @item
345 Major eleventh
346 @tab
347 Major ninth, @*perfect eleventh
348 @tab
349 @code{maj11}
350 @tab
351 @code{c1:maj11}
352 @tab
353 @lilypond[line-width=2.1\cm,noragged-right,notime]
354 <<
355   \chords { c1:maj11 }
356   \chordmode { c1:maj11 }
357 >>
358 @end lilypond
359
360 @item
361 Minor eleventh
362 @tab
363 Minor ninth, @*perfect eleventh
364 @tab
365 @code{m11}
366 @tab
367 @code{c1:m11}
368 @tab
369 @lilypond[line-width=2.1\cm,noragged-right,notime]
370 <<
371   \chords { c1:m11 }
372   \chordmode { c1:m11 }
373 >>
374 @end lilypond
375
376 @item
377 Dominant thirteenth
378 @tab
379 Dominant ninth, @*major thirteenth
380 @tab
381 @code{13}
382 @tab
383 @code{c1:13}
384 @tab
385 @lilypond[line-width=2.1\cm,noragged-right,notime]
386 <<
387   \chords { c1:13 }
388   \chordmode { c1:13 }
389 >>
390 @end lilypond
391
392 @item
393 Dominant thirteenth
394 @tab
395 Dominant eleventh, @*major thirteenth
396 @tab
397 @code{13.11}
398 @tab
399 @code{c1:13.11}
400 @tab
401 @lilypond[line-width=2.1\cm,noragged-right,notime]
402 <<
403   \chords{ c1:13.11 }
404   \chordmode { c1:13.11 }
405 >>
406 @end lilypond
407
408 @item
409 Major thirteenth
410 @tab
411 Major eleventh, @*major thirteenth
412 @tab
413 @code{maj13.11}
414 @tab
415 @code{c1:maj13.11}
416 @tab
417 @lilypond[line-width=2.1\cm,noragged-right,notime]
418 <<
419   \chords { c1:maj13.11 }
420   \chordmode { c1:maj13.11 }
421 >>
422 @end lilypond
423
424 @item
425 Minor thirteenth
426 @tab
427 Minor eleventh, @*major thirteenth
428 @tab
429 @code{m13.11}
430 @tab
431 @code{c1:m13.11}
432 @tab
433 @lilypond[line-width=2.1\cm,noragged-right,notime]
434 <<
435   \chords { c1:m13.11 }
436   \chordmode { c1:m13.11 }
437 >>
438 @end lilypond
439
440 @item
441 Suspended second
442 @tab
443 Major second, @*perfect fifth
444 @tab
445 @code{sus2}
446 @tab
447 @code{c1:sus2}
448 @tab
449 @lilypond[line-width=2.1\cm,noragged-right,notime]
450 <<
451   \chords { c1:sus2 }
452   \chordmode { c1:sus2 }
453 >>
454 @end lilypond
455
456 @item
457 Suspended fourth
458 @tab
459 Perfect fourth, @*perfect fifth
460 @tab
461 @code{sus4}
462 @tab
463 @code{c1:sus4}
464 @tab
465 @lilypond[line-width=2.1\cm,noragged-right,notime]
466 <<
467   \chords { c1:sus4 }
468   \chordmode { c1:sus4 }
469 >>
470 @end lilypond
471
472 @item
473 Power chord @*(two-voiced)
474 @tab
475 Perfect fifth
476 @tab
477 @code{1.5}
478 @tab
479 @code{\powerChords c1:5}
480 @tab
481 @lilypond[line-width=2.1\cm,noragged-right,notime]
482 \chordmode { \powerChords c1:5 }
483 @end lilypond
484
485 @item
486 Power chord @*@w{(three-voiced)}
487 @tab
488 Perfect fifth, @*octave
489 @tab
490 @code{1.5.8}
491 @tab
492 @code{\powerChords c1:5.8}
493 @tab
494 @lilypond[line-width=2.1\cm,noragged-right,notime]
495   \chordmode { \powerChords c1:5.8 }
496 @end lilypond
497
498 @end multitable
499
500 @node Predefined string tunings
501 @appendixsec Predefined string tunings
502
503 The chart below shows the predefined string tunings.
504
505 @lilypondfile{display-predefined-string-tunings.ly}
506
507 @node Predefined fretboard diagrams
508 @appendixsec Predefined fretboard diagrams
509
510 @menu
511 * Diagrams for Guitar::
512 * Diagrams for Ukulele::
513 * Diagrams for Mandolin::
514 @end menu
515
516 @node Diagrams for Guitar
517 @unnumberedsubsec Diagrams for Guitar
518
519 @lilypondfile[line-width=15.5\cm]{display-predefined-fretboards.ly}
520
521 @node Diagrams for Ukulele
522 @unnumberedsubsec Diagrams for Ukulele
523
524 @lilypondfile[line-width=15.5\cm]{display-predefined-ukulele-fretboards.ly}
525
526 @node Diagrams for Mandolin
527 @unnumberedsubsec Diagrams for Mandolin
528
529 @lilypondfile[line-width=15.5\cm]{display-predefined-mandolin-fretboards.ly}
530
531
532 @node Predefined paper sizes
533 @appendixsec Predefined paper sizes
534
535 Paper sizes are defined in @file{scm/paper.scm}
536
537 @noindent
538 @strong{The @qq{ISO 216} A Series}
539 @table @code
540 @item "a10"
541 (26 x 37 mm)
542 @item "a9"
543 (37 x 52 mm)
544 @item "a8"
545 (52 x 74 mm)
546 @item "a7"
547 (74 x 105 mm)
548 @item "a6"
549 (105 x 148 mm)
550 @item "a5"
551 (148 x 210 mm)
552 @item "a4"
553 (210 x 297 mm)
554 @item "a3"
555 (297 x 420 mm)
556 @item "a2"
557 (420 x 594 mm)
558 @item "a1"
559 (594 x 841 mm)
560 @item "a0"
561 (841 x 1189 mm)
562 @end table
563
564 @noindent
565 @strong{The @qq{ISO 216} B Series}
566 @table @code
567 @item "b10"
568 (31 x 44 mm)
569 @item "b9"
570 (44 x 62 mm)
571 @item "b8"
572 (62 x 88 mm)
573 @item "b7"
574 (88 x 125 mm)
575 @item "b6"
576 (125 x 176 mm)
577 @item "b5"
578 (176 x 250 mm)
579 @item "b4"
580 (250 x 353 mm)
581 @item "b3"
582 (353 x 500 mm)
583 @item "b2"
584 (500 x 707 mm)
585 @item "b1"
586 (707 x 1000 mm)
587 @item "b0"
588 (1000 x 1414 mm)
589 @end table
590
591 @noindent
592 @strong{Two extended sizes as defined in @qq{DIN 476}}
593 @table @code
594 @item "4a0"
595 (1682 x 2378 mm)
596 @item "2a0"
597 (1189 x 1682 mm)
598 @end table
599
600 @noindent
601 @strong{@qq{ISO 269} standard C series}
602 @table @code
603 @item "c10"
604 (28 x 40 mm)
605 @item "c9"
606 (40 x 57 mm)
607 @item "c8"
608 (57 x 81 mm)
609 @item "c7"
610 (81 x 114 mm)
611 @item "c6"
612 (114 x 162 mm)
613 @item "c5"
614 (162 x 229 mm)
615 @item "c4"
616 (229 x 324 mm)
617 @item "c3"
618 (324 x 458 mm)
619 @item "c2"
620 (458 x 648 mm)
621 @item "c1"
622 (648 x 917 mm)
623 @item "c0"
624 (917 x 1297 mm)
625 @end table
626
627 @noindent
628 @strong{North American paper sizes}
629 @table @code
630 @item "junior-legal"
631 (8.0 x 5.0 in)
632 @item "legal"
633 (8.5 x 14.0 in)
634 @item "ledger"
635 (17.0 x 11.0 in)
636 @item "letter"
637 (8.5 x 11.0 in)
638 @item "tabloid"
639 (11.0 x 17.0 in)
640 @item "11x17"
641 (11.0 x 17.0 in)
642 @item "17x11"
643 (17.0 x 11.0 in)
644 @end table
645
646 @noindent
647 @strong{Government-letter by IEEE Printer Working Group, for children's
648 writing}
649 @table @code
650 @item "government-letter"
651 (8 x 10.5 in)
652 @item "government-legal"
653 (8.5 x 13.0 in)
654 @item "philippine-legal"
655 (8.5 x 13.0 in)
656 @end table
657
658 @noindent
659 @strong{ANSI sizes}
660 @table @code
661 @item "ansi a"
662 (8.5 x 11.0 in)
663 @item "ansi b"
664 (17.0 x 11.0 in)
665 @item "ansi c"
666 (17.0 x 22.0 in)
667 @item "ansi d"
668 (22.0 x 34.0 in)
669 @item "ansi e"
670 (34.0 x 44.0 in)
671 @item "engineering f"
672 (28.0 x 40.0 in)
673 @end table
674
675 @noindent
676 @strong{North American Architectural sizes}
677 @table @code
678 @item "arch a"
679 (9.0 x 12.0 in)
680 @item "arch b"
681 (12.0 x 18.0 in)
682 @item "arch c"
683 (18.0 x 24.0 in)
684 @item "arch d"
685 (24.0 x 36.0 in)
686 @item "arch e"
687 (36.0 x 48.0 in)
688 @item "arch e1"
689 (30.0 x 42.0 in)
690 @end table
691
692 @noindent
693 @strong{Antique sizes still used in the United Kingdom}
694 @table @code
695 @item "statement"
696 (5.5 x 8.5 in)
697 @item "half letter"
698 (5.5 x 8.5 in)
699 @item "quarto"
700 (8.0 x 10.0 in)
701 @item "octavo"
702 (6.75 x 10.5 in)
703 @item "executive"
704 (7.25 x 10.5 in)
705 @item "monarch"
706 (7.25 x 10.5 in)
707 @item "foolscap"
708 (8.27 x 13.0 in)
709 @item "folio"
710 (8.27 x 13.0 in)
711 @item "super-b"
712 (13.0 x 19.0 in)
713 @item "post"
714 (15.5 x 19.5 in)
715 @item "crown"
716 (15.0 x 20.0 in)
717 @item "large post"
718 (16.5 x 21.0 in)
719 @item "demy"
720 (17.5 x 22.5 in)
721 @item "medium"
722 (18.0 x 23.0 in)
723 @item "broadsheet"
724 (18.0 x 24.0 in)
725 @item "royal"
726 (20.0 x 25.0 in)
727 @item "elephant"
728 (23.0 x 28.0 in)
729 @item "double demy"
730 (22.5 x 35.0 in)
731 @item "quad demy"
732 (35.0 x 45.0 in)
733 @item "atlas"
734 (26.0 x 34.0 in)
735 @item "imperial"
736 (22.0 x 30.0 in)
737 @item "antiquarian"
738 (31.0 x 53.0 in)
739 @end table
740
741 @noindent
742 @strong{PA4 based sizes}
743 @table @code
744 @item "pa0"
745 (840 x 1120 mm)
746 @item "pa1"
747 (560 x 840 mm)
748 @item "pa2"
749 (420 x 560 mm)
750 @item "pa3"
751 (280 x 420 mm)
752 @item "pa4"
753 (210 x 280 mm)
754 @item "pa5"
755 (140 x 210 mm)
756 @item "pa6"
757 (105 x 140 mm)
758 @item "pa7"
759 (70 x 105 mm)
760 @item "pa8"
761 (52 x 70 mm)
762 @item "pa9"
763 (35 x 52 mm)
764 @item "pa10"
765 (26 x 35 mm)
766 @end table
767
768 @noindent
769 @strong{Used in Southeast Asia and Australia}
770 @table @code
771 @item "f4"
772 (210 x 330 mm)
773 @end table
774
775 @noindent
776 @strong{Used for very small @code{@@lilypond} examples in the
777 documentation based on a8 landscape.}
778 @table @code
779 @item "a8landscape"
780 (74 x 52 mm)
781 @end table
782
783
784 @node MIDI instruments
785 @appendixsec MIDI instruments
786
787 The following is a list of names that can be used for the
788 @code{midiInstrument} property.  The order of the instruments
789 below, starting in the left-hand column moving down, corresponds
790 to the General MIDI Standard's 128 Program Numbers.
791
792 @example
793 acoustic grand            contrabass           lead 7 (fifths)
794 bright acoustic           tremolo strings      lead 8 (bass+lead)
795 electric grand            pizzicato strings    pad 1 (new age)
796 honky-tonk                orchestral harp      pad 2 (warm)
797 electric piano 1          timpani              pad 3 (polysynth)
798 electric piano 2          string ensemble 1    pad 4 (choir)
799 harpsichord               string ensemble 2    pad 5 (bowed)
800 clav                      synthstrings 1       pad 6 (metallic)
801 celesta                   synthstrings 2       pad 7 (halo)
802 glockenspiel              choir aahs           pad 8 (sweep)
803 music box                 voice oohs           fx 1 (rain)
804 vibraphone                synth voice          fx 2 (soundtrack)
805 marimba                   orchestra hit        fx 3 (crystal)
806 xylophone                 trumpet              fx 4 (atmosphere)
807 tubular bells             trombone             fx 5 (brightness)
808 dulcimer                  tuba                 fx 6 (goblins)
809 drawbar organ             muted trumpet        fx 7 (echoes)
810 percussive organ          french horn          fx 8 (sci-fi)
811 rock organ                brass section        sitar
812 church organ              synthbrass 1         banjo
813 reed organ                synthbrass 2         shamisen
814 accordion                 soprano sax          koto
815 harmonica                 alto sax             kalimba
816 concertina                tenor sax            bagpipe
817 acoustic guitar (nylon)   baritone sax         fiddle
818 acoustic guitar (steel)   oboe                 shanai
819 electric guitar (jazz)    english horn         tinkle bell
820 electric guitar (clean)   bassoon              agogo
821 electric guitar (muted)   clarinet             steel drums
822 overdriven guitar         piccolo              woodblock
823 distorted guitar          flute                taiko drum
824 guitar harmonics          recorder             melodic tom
825 acoustic bass             pan flute            synth drum
826 electric bass (finger)    blown bottle         reverse cymbal
827 electric bass (pick)      shakuhachi           guitar fret noise
828 fretless bass             whistle              breath noise
829 slap bass 1               ocarina              seashore
830 slap bass 2               lead 1 (square)      bird tweet
831 synth bass 1              lead 2 (sawtooth)    telephone ring
832 synth bass 2              lead 3 (calliope)    helicopter
833 violin                    lead 4 (chiff)       applause
834 viola                     lead 5 (charang)     gunshot
835 cello                     lead 6 (voice)
836 @end example
837
838
839 @node List of colors
840 @appendixsec List of colors
841
842 @subsubheading Normal colors
843
844 Usage syntax is detailed in @ref{Coloring objects}.
845
846 @cindex List of colors
847 @cindex Colors, list of
848
849 @verbatim
850 black       white          red         green
851 blue        cyan           magenta     yellow
852 grey        darkred        darkgreen   darkblue
853 darkcyan    darkmagenta    darkyellow
854 @end verbatim
855
856
857 @subsubheading X color names
858
859 X color names come several variants:
860
861 Any name that is spelled as a single word with capitalization
862 (e.g., @q{LightSlateBlue}) can also be spelled as space separated
863 words without capitalization (e.g., @q{light slate blue}).
864
865 The word @q{grey} can always be spelled @q{gray} (e.g., @q{DarkSlateGray}).
866
867 Some names can take a numerical suffix (e.g., @q{LightSalmon4}).
868
869
870 @subsubheading Color Names without a numerical suffix:
871
872 @verbatim
873 snow            GhostWhite      WhiteSmoke      gainsboro       FloralWhite
874 OldLace         linen           AntiqueWhite    PapayaWhip      BlanchedAlmond
875 bisque          PeachPuff       NavajoWhite     moccasin        cornsilk
876 ivory           LemonChiffon    seashell        honeydew        MintCream
877 azure           AliceBlue       lavender        LavenderBlush   MistyRose
878 white           black           DarkSlateGrey   DimGrey         SlateGrey
879 LightSlateGrey  grey            LightGrey       MidnightBlue    navy
880 NavyBlue        CornflowerBlue  DarkSlateBlue   SlateBlue       MediumSlateBlue
881 LightSlateBlue  MediumBlue      RoyalBlue       blue            DodgerBlue
882 DeepSkyBlue     SkyBlue         LightSkyBlue    SteelBlue       LightSteelBlue
883 LightBlue       PowderBlue      PaleTurquoise   DarkTurquoise   MediumTurquoise
884 turquoise       cyan            LightCyan       CadetBlue       MediumAquamarine
885 aquamarine      DarkGreen       DarkOliveGreen  DarkSeaGreen    SeaGreen
886 MediumSeaGreen  LightSeaGreen   PaleGreen       SpringGreen     LawnGreen
887 green           chartreuse      MediumSpringGreen       GreenYellow     LimeGreen
888 YellowGreen     ForestGreen     OliveDrab       DarkKhaki       khaki
889 PaleGoldenrod   LightGoldenrodYellow    LightYellow     yellow  gold
890 LightGoldenrod  goldenrod       DarkGoldenrod   RosyBrown       IndianRed
891 SaddleBrown     sienna          peru            burlywood       beige
892 wheat           SandyBrown      tan             chocolate       firebrick
893 brown           DarkSalmon      salmon          LightSalmon     orange
894 DarkOrange      coral           LightCoral      tomato          OrangeRed
895 red             HotPink         DeepPink        pink            LightPink
896 PaleVioletRed   maroon          MediumVioletRed VioletRed       magenta
897 violet          plum            orchid          MediumOrchid    DarkOrchid
898 DarkViolet      BlueViolet      purple          MediumPurple    thistle
899 DarkGrey        DarkBlue        DarkCyan        DarkMagenta     DarkRed
900 LightGreen
901 @end verbatim
902
903
904 @subsubheading Color names with a numerical suffix
905
906 In the following names the suffix N can be a number in the range 1-4:
907
908 @verbatim
909 snowN           seashellN       AntiqueWhiteN   bisqueN         PeachPuffN
910 NavajoWhiteN    LemonChiffonN   cornsilkN       ivoryN          honeydewN
911 LavenderBlushN  MistyRoseN      azureN          SlateBlueN      RoyalBlueN
912 blueN           DodgerBlueN     SteelBlueN      DeepSkyBlueN    SkyBlueN
913 LightSkyBlueN   LightSteelBlueN LightBlueN      LightCyanN      PaleTurquoiseN
914 CadetBlueN      turquoiseN      cyanN           aquamarineN     DarkSeaGreenN
915 SeaGreenN       PaleGreenN      SpringGreenN    greenN          chartreuseN
916 OliveDrabN      DarkOliveGreenN khakiN          LightGoldenrodN LightYellowN
917 yellowN         goldN           goldenrodN      DarkGoldenrodN  RosyBrownN
918 IndianRedN      siennaN         burlywoodN      wheatN          tanN
919 chocolateN      firebrickN      brownN          salmonN         LightSalmonN
920 orangeN         DarkOrangeN     coralN          tomatoN         OrangeRedN
921 redN            DeepPinkN       HotPinkN        pinkN           LightPinkN
922 PaleVioletRedN  maroonN         VioletRedN      magentaN        orchidN
923 plumN           MediumOrchidN   DarkOrchidN     purpleN         MediumPurpleN
924 thistleN
925 @end verbatim
926
927
928 @subsubheading Grey Scale
929
930 A grey scale can be obtained using:
931
932 @example
933 greyN
934 @end example
935
936 @noindent
937 Where N is in the range 0-100.
938
939
940 @node The Emmentaler font
941 @appendixsec The Emmentaler font
942
943
944 @cindex Emmentaler font
945 @cindex Font, Emmentaler
946 @cindex Feta font
947 @cindex Font, Feta
948 @cindex Parmesan font
949 @cindex Font, Parmesan
950
951 The Emmentaler font consists of two @emph{sub-sets} of glyphs.
952 @qq{Feta}, used for clasical notation and @qq{Parmesan}, sed for Ancient
953 notation.
954
955 Any glyph within the Emmentaler font can be accessed directly by using
956 text markup along with the name of the glyph (as shown in the tables
957 below).  For example;
958
959 @example
960 g^\markup @{\musicglyph #"scripts.segno" @}
961 @end example
962
963 @noindent
964 or
965
966 @example
967 \markup @{\musicglyph #"five"@}.
968 @end example
969
970 For more information see @ref{Formatting text}.
971
972
973 @menu
974 * Clef glyphs::
975 * Time Signature glyphs::
976 * Number glyphs::
977 * Accidental glyphs::
978 * Default Notehead glyphs::
979 * Special Notehead glyphs::
980 * Shape-note Notehead glyphs::
981 * Rest glyphs::
982 * Flag glyphs::
983 * Dot glyphs::
984 * Dynamic glyphs::
985 * Script glyphs::
986 * Arrowhead glyphs::
987 * Bracket-tip glyphs::
988 * Pedal glyphs::
989 * Accordion glyphs::
990 * Tie glyphs::
991 * Vaticana glyphs::
992 * Medicaea glyphs::
993 * Hufnagel glyphs::
994 * Mensural glyphs::
995 * Neomensural glyphs::
996 * Petrucci glyphs::
997 * Solesmes glyphs::
998 * Kievan Notation glyphs::
999 @end menu
1000
1001
1002 @node Clef glyphs
1003 @unnumberedsubsec Clef glyphs
1004
1005 @lilypond[quote]
1006 \include "font-table.ly"
1007 \markuplist \override-lines #'(word-space . 4)
1008             \doc-chars #clefs
1009 @end lilypond
1010
1011
1012 @node Time Signature glyphs
1013 @unnumberedsubsec Time Signature glyphs
1014
1015 @lilypond[quote]
1016 \include "font-table.ly"
1017 \markuplist \override-lines #'(word-space . 4)
1018             \doc-chars #timesig
1019 @end lilypond
1020
1021
1022 @node Number glyphs
1023 @unnumberedsubsec Number glyphs
1024
1025 @lilypond[quote]
1026 \include "font-table.ly"
1027 \markuplist \override-lines #'(word-space . 4)
1028             \doc-chars #numbers
1029 @end lilypond
1030
1031
1032 @node Accidental glyphs
1033 @unnumberedsubsec Accidental glyphs
1034
1035 @lilypond[quote]
1036 \include "font-table.ly"
1037 \markuplist \override-lines #'(word-space . 4)
1038             \doc-chars #accidentals
1039 @end lilypond
1040
1041
1042 @node Default Notehead glyphs
1043 @unnumberedsubsec Default Notehead glyphs
1044
1045 @lilypond[quote]
1046 \include "font-table.ly"
1047 \markuplist \override-lines #'(word-space . 4)
1048             \doc-chars #default-noteheads
1049 @end lilypond
1050
1051
1052 @node Special Notehead glyphs
1053 @unnumberedsubsec Special Notehead glyphs
1054
1055 @lilypond[quote]
1056 \include "font-table.ly"
1057 \markuplist \override-lines #'(word-space . 4)
1058             \doc-chars #special-noteheads
1059 @end lilypond
1060
1061
1062 @node Shape-note Notehead glyphs
1063 @unnumberedsubsec Shape-note Notehead glyphs
1064
1065 @lilypond[quote]
1066 \include "font-table.ly"
1067 \markuplist \override-lines #'(word-space . 4)
1068             \doc-chars #shape-note-noteheads
1069 @end lilypond
1070
1071
1072 @node Rest glyphs
1073 @unnumberedsubsec Rest glyphs
1074
1075 @lilypond[quote]
1076 \include "font-table.ly"
1077 \markuplist \override-lines #'(word-space . 4)
1078             \doc-chars #rests
1079 @end lilypond
1080
1081
1082 @node Flag glyphs
1083 @unnumberedsubsec Flag glyphs
1084
1085 @lilypond[quote]
1086 \include "font-table.ly"
1087 \markuplist \override-lines #'(word-space . 4)
1088             \doc-chars #flags
1089 @end lilypond
1090
1091
1092 @node Dot glyphs
1093 @unnumberedsubsec Dot glyphs
1094
1095 @lilypond[quote]
1096 \include "font-table.ly"
1097 \markuplist \override-lines #'(word-space . 4)
1098             \doc-chars #dots
1099 @end lilypond
1100
1101
1102 @node Dynamic glyphs
1103 @unnumberedsubsec Dynamic glyphs
1104
1105 @lilypond[quote]
1106 \include "font-table.ly"
1107 \markuplist \override-lines #'(word-space . 4)
1108             \doc-chars #dynamics
1109 @end lilypond
1110
1111
1112 @node Script glyphs
1113 @unnumberedsubsec Script glyphs
1114
1115 @lilypond[quote]
1116 \include "font-table.ly"
1117 \markuplist \override-lines #'(word-space . 4)
1118             \doc-chars #scripts
1119 @end lilypond
1120
1121
1122 @node Arrowhead glyphs
1123 @unnumberedsubsec Arrowhead glyphs
1124
1125 @lilypond[quote]
1126 \include "font-table.ly"
1127 \markuplist \override-lines #'(word-space . 4)
1128             \doc-chars #arrowheads
1129 @end lilypond
1130
1131
1132 @node Bracket-tip glyphs
1133 @unnumberedsubsec Bracket-tip glyphs
1134
1135 @lilypond[quote]
1136 \include "font-table.ly"
1137 \markuplist \override-lines #'(word-space . 4)
1138             \doc-chars #brackettips
1139 @end lilypond
1140
1141
1142 @node Pedal glyphs
1143 @unnumberedsubsec Pedal glyphs
1144
1145 @lilypond[quote]
1146 \include "font-table.ly"
1147 \markuplist \override-lines #'(word-space . 4)
1148             \doc-chars #pedal
1149 @end lilypond
1150
1151
1152 @node Accordion glyphs
1153 @unnumberedsubsec Accordion glyphs
1154
1155 @lilypond[quote]
1156 \include "font-table.ly"
1157 \markuplist \override-lines #'(word-space . 4)
1158             \doc-chars #accordion
1159 @end lilypond
1160
1161
1162 @node Tie glyphs
1163 @unnumberedsubsec Tie glyphs
1164
1165 @lilypond[quote]
1166 \include "font-table.ly"
1167 \markuplist \override-lines #'(word-space . 4)
1168             \doc-chars #ties
1169 @end lilypond
1170
1171
1172 @node Vaticana glyphs
1173 @unnumberedsubsec Vaticana glyphs
1174
1175 @lilypond[quote]
1176 \include "font-table.ly"
1177 \markuplist \override-lines #'(word-space . 4)
1178             \doc-chars #vaticana
1179 @end lilypond
1180
1181
1182 @node Medicaea glyphs
1183 @unnumberedsubsec Medicaea glyphs
1184
1185 @lilypond[quote]
1186 \include "font-table.ly"
1187 \markuplist \override-lines #'(word-space . 4)
1188             \doc-chars #medicaea
1189 @end lilypond
1190
1191
1192 @node Hufnagel glyphs
1193 @unnumberedsubsec Hufnagel glyphs
1194
1195 @lilypond[quote]
1196 \include "font-table.ly"
1197 \markuplist \override-lines #'(word-space . 4)
1198             \doc-chars #hufnagel
1199 @end lilypond
1200
1201
1202 @node Mensural glyphs
1203 @unnumberedsubsec Mensural glyphs
1204
1205 @lilypond[quote]
1206 \include "font-table.ly"
1207 \markuplist \override-lines #'(word-space . 4)
1208             \doc-chars #mensural
1209 @end lilypond
1210
1211
1212 @node Neomensural glyphs
1213 @unnumberedsubsec Neomensural glyphs
1214
1215 @lilypond[quote]
1216 \include "font-table.ly"
1217 \markuplist \override-lines #'(word-space . 4)
1218             \doc-chars #neomensural
1219 @end lilypond
1220
1221
1222 @node Petrucci glyphs
1223 @unnumberedsubsec Petrucci glyphs
1224
1225 @lilypond[quote]
1226 \include "font-table.ly"
1227 \markuplist \override-lines #'(word-space . 4)
1228             \doc-chars #petrucci
1229 @end lilypond
1230
1231
1232 @node Solesmes glyphs
1233 @unnumberedsubsec Solesmes glyphs
1234
1235 @lilypond[quote]
1236 \include "font-table.ly"
1237 \markuplist \override-lines #'(word-space . 4)
1238             \doc-chars #solesmes
1239 @end lilypond
1240
1241 @node Kievan Notation glyphs
1242 @unnumberedsubsec Kievan Notation glyphs
1243
1244 @lilypond[quote]
1245 \include "font-table.ly"
1246 \markuplist \override-lines #'(word-space . 4)
1247              \doc-chars #kievan
1248 @end lilypond
1249
1250
1251 @node Note head styles
1252 @appendixsec Note head styles
1253
1254 @cindex note head styles
1255 The following styles may be used for note heads.
1256
1257 @lilypondfile[noindent]{note-head-style.ly}
1258
1259
1260 @node Clef styles
1261 @appendixsec Clef styles
1262
1263 The following table shows all the different clef styles possible
1264 (including where @emph{middle C} sits relative to the clef).
1265
1266 @multitable @columnfractions .30 .2 .30 .2
1267
1268 @headitem
1269 Example
1270 @tab
1271 Output
1272 @tab
1273 Example
1274 @tab
1275 Output
1276
1277
1278 @item
1279 @code{\clef G}
1280 @tab
1281 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1282 \clef G c1
1283 @end lilypond
1284
1285 @tab
1286 @code{\clef "G2"}
1287 @tab
1288 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1289 \clef "G2"
1290 c1
1291 @end lilypond
1292
1293 @item
1294 @code{\clef treble}
1295 @tab
1296 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1297 \clef treble
1298 c1
1299 @end lilypond
1300
1301 @tab
1302 @code{\clef violin}
1303 @tab
1304 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1305 \clef violin
1306 c1
1307 @end lilypond
1308
1309 @item
1310 @code{\clef french}
1311 @tab
1312 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1313 \clef french
1314 c1
1315 @end lilypond
1316
1317 @tab
1318 @code{\clef GG}
1319 @tab
1320 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1321 \clef GG
1322 c1
1323 @end lilypond
1324
1325 @item
1326 @code{\clef tenorG}
1327 @tab
1328 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1329 \clef tenorG
1330 c1
1331 @end lilypond
1332
1333 @tab
1334 @code{\clef soprano}
1335 @tab
1336 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1337 \clef soprano
1338 c1
1339 @end lilypond
1340
1341 @item
1342 @code{\clef mezzosoprano}
1343 @tab
1344 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1345 \clef mezzosoprano
1346 c1
1347 @end lilypond
1348
1349 @tab
1350 @code{\clef C}
1351 @tab
1352 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1353 \clef C
1354 c1
1355 @end lilypond
1356
1357 @item
1358 @code{\clef alto}
1359 @tab
1360 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1361 \clef alto
1362 c1
1363 @end lilypond
1364
1365 @tab
1366 @code{\clef tenor}
1367 @tab
1368 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1369 \clef tenor
1370 c1
1371 @end lilypond
1372
1373 @item
1374 @code{\clef baritone}
1375 @tab
1376 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1377 \clef baritone
1378 c1
1379 @end lilypond
1380
1381 @tab
1382 @code{\clef varC}
1383 @tab
1384 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1385 \clef varC
1386 c1
1387 @end lilypond
1388
1389 @item
1390 @code{\clef altovarC}
1391 @tab
1392 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1393 \clef altovarC
1394 c1
1395 @end lilypond
1396
1397 @tab
1398 @code{\clef tenorvarC}
1399 @tab
1400 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1401 \clef tenorvarC
1402 c1
1403 @end lilypond
1404
1405 @item
1406 @code{\clef baritonevarC}
1407 @tab
1408 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1409 \clef baritonevarC
1410 c1
1411 @end lilypond
1412
1413 @tab
1414 @code{\clef varbaritone}
1415 @tab
1416 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1417 \clef varbaritone
1418 c1
1419 @end lilypond
1420
1421 @item
1422 @code{\clef baritonevarF}
1423 @tab
1424 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1425 \clef baritonevarF
1426 c1
1427 @end lilypond
1428
1429 @tab
1430 @code{\clef F}
1431 @tab
1432 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1433 \clef F
1434 c1
1435 @end lilypond
1436
1437 @item
1438 @code{\clef bass}
1439 @tab
1440 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1441 \clef bass
1442 c1
1443 @end lilypond
1444
1445 @tab
1446 @code{\clef subbass}
1447 @tab
1448 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1449 \clef subbass
1450 c1
1451 @end lilypond
1452
1453 @item
1454 @code{\clef percussion}
1455 @tab
1456 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1457 \clef percussion
1458 c1
1459 @end lilypond
1460
1461 @tab
1462 @c @example does not work as expected within multitables
1463 @code{
1464 \new TabStaff @{ @*
1465 @ @ \clef tab @*
1466 @}
1467 }
1468 @tab
1469 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1470 \new TabStaff {
1471   \clef tab
1472   c1
1473 }
1474 @end lilypond
1475
1476 @item
1477 @c @example does not work as expected within multitables
1478 @code{
1479 \new TabStaff @{ @*
1480 @ @ \clef moderntab @*
1481 @}
1482 }
1483 @tab
1484 @lilypond[line-width=3\cm,notime,ragged-right,relative=1]
1485 \new TabStaff {
1486   \clef moderntab
1487   c1
1488 }
1489 @end lilypond
1490
1491
1492 @end multitable
1493
1494
1495 @node Text markup commands
1496 @appendixsec Text markup commands
1497
1498 @include markup-commands.tely
1499
1500
1501 @node Text markup list commands
1502 @appendixsec Text markup list commands
1503
1504 The following commands can all be used with @code{\markuplist}:
1505
1506 @include markup-list-commands.tely
1507
1508
1509 @node List of special characters
1510 @appendixsec List of special characters
1511
1512 The following special characters references can be used;
1513 for more details, see @ref{ASCII aliases}.
1514
1515 The HTML syntax is used and most of these references are the same as HTML.
1516 The rest of them are inspired by @LaTeX{}.
1517
1518 The characters are boxed so that you can see their size.
1519 A small padding has been added between the character and the box
1520 for more readability.
1521
1522 @lilypond[quote]
1523 \include "special-characters.ly"
1524 @end lilypond
1525
1526
1527 @node List of articulations
1528 @appendixsec List of articulations
1529
1530
1531 The following lists show all the scripts in the Feta font that may be
1532 attached to notes (eg. @samp{f\accent} or @samp{f->}).  Each example
1533 shows the script in the @emph{up}, @emph{down} and @emph{neutral}
1534 positions respectively.
1535
1536 @c Articulations and ornamentations
1537 @c Fingering instructions (for "thumb")
1538 @c Common notation for unfretted strings
1539 @c   Bowing indications
1540 @c   Harmonics
1541 @c   Snap (Bartók) pizzicato
1542 @c Custom percussion staves (for "halfopen" -- not yet funindexed)
1543 @c References for wind instruments (for "open"/"stopped" -- not yet funindexed)
1544
1545
1546 @menu
1547 * Articulation scripts::
1548 * Ornament scripts::
1549 * Fermata scripts::
1550 * Instrument-specific scripts::
1551 * Repeat sign scripts::
1552 * Ancient scripts::
1553 @end menu
1554
1555 @ignore
1556 The @multitable @columnfraction value discrepancy between the first and
1557 the remaining columns is deliberate; it seems (at least visually
1558 anyway) the gap (after building the documentation) between first and
1559 second column examples was always larger than between the remaining
1560 columns - JL
1561 @end ignore
1562
1563 @cindex accent
1564 @cindex espressivo
1565 @cindex marcato
1566 @cindex portato
1567 @cindex staccatissimo
1568 @cindex staccato
1569 @cindex tenuto
1570 @cindex thumb
1571
1572 @node Articulation scripts
1573 @unnumberedsubsec Articulation scripts
1574
1575 @multitable @columnfractions .22 .25 .25 .25
1576
1577 @item
1578 @code{\accent} or @code{->}
1579 @lilypond[notime,relative=2]
1580 f^\accent e,_\accent b'\accent
1581 @end lilypond
1582 @tab
1583 @code{\espressivo}
1584 @lilypond[notime,relative=2]
1585 f^\espressivo e,_\espressivo b'\espressivo
1586 @end lilypond
1587 @tab
1588 @code{\marcato} or @code{-^}
1589 @lilypond[notime,relative=2]
1590 f^\marcato e,_\marcato b'\marcato
1591 @end lilypond
1592 @tab
1593 @code{\portato} or @code{-_}
1594 @lilypond[notime,relative=2]
1595 f^\portato e,_\portato b'\portato
1596 @end lilypond
1597
1598 @item
1599 @code{\staccatissimo} @* or @code{-!}
1600 @lilypond[notime,relative=2]
1601 f^\staccatissimo e,_\staccatissimo b'\staccatissimo
1602 @end lilypond
1603 @tab
1604 @code{\staccato} or @code{-.}
1605 @lilypond[notime,relative=2]
1606 f^\staccato e,_\staccato b'\staccato
1607 @end lilypond
1608 @tab
1609 @code{\tenuto} or @code{--}
1610 @lilypond[notime,relative=2]
1611 f^\tenuto e,_\tenuto b'\tenuto
1612 @end lilypond
1613
1614 @end multitable
1615
1616 @cindex prall
1617 @cindex prallup
1618 @cindex pralldown
1619 @cindex upprall
1620 @cindex downprall
1621 @cindex prallprall
1622 @cindex lineprall
1623 @cindex prallmordent
1624 @cindex mordent
1625 @cindex upmordent
1626 @cindex downmordent
1627 @cindex trill
1628 @cindex turn
1629 @cindex reverseturn
1630
1631 @node Ornament scripts
1632 @unnumberedsubsec Ornament scripts
1633
1634 @multitable @columnfractions .22 .25 .25 .25
1635
1636 @item
1637 @code{\prall}
1638 @lilypond[notime,relative=2]
1639 f^\prall e,_\prall b'\prall
1640 @end lilypond
1641 @tab
1642 @code{\prallup}
1643 @lilypond[notime,relative=2]
1644 f^\prallup e,_\prallup b'\prallup
1645 @end lilypond
1646 @tab
1647 @code{\pralldown}
1648 @lilypond[notime,relative=2]
1649 f^\pralldown e,_\pralldown b'\pralldown
1650 @end lilypond
1651 @tab
1652 @code{\upprall}
1653 @lilypond[notime,relative=2]
1654 f^\upprall e,_\upprall b'\upprall
1655 @end lilypond
1656
1657 @item
1658 @code{\downprall}
1659 @lilypond[notime,relative=2]
1660 f^\downprall e,_\downprall b'\downprall
1661 @end lilypond
1662 @tab
1663 @code{\prallprall}
1664 @lilypond[notime,relative=2]
1665 f^\prallprall e,_\prallprall b'\prallprall
1666 @end lilypond
1667 @tab
1668 @code{\lineprall}
1669 @lilypond[notime,relative=2]
1670 f^\lineprall e,_\lineprall b'\lineprall
1671 @end lilypond
1672 @tab
1673 @code{\prallmordent}
1674 @lilypond[notime,relative=2]
1675 f^\prallmordent e,_\prallmordent b'\prallmordent
1676 @end lilypond
1677
1678 @item
1679 @code{\mordent}
1680 @lilypond[notime,relative=2]
1681 f^\mordent e,_\mordent b'\mordent
1682 @end lilypond
1683 @tab
1684 @code{\upmordent}
1685 @lilypond[notime,relative=2]
1686 f^\upmordent e,_\upmordent b'\upmordent
1687 @end lilypond
1688 @tab
1689 @code{\downmordent}
1690 @lilypond[notime,relative=2]
1691 f^\downmordent e,_\downmordent b'\downmordent
1692 @end lilypond
1693 @tab
1694 @code{\trill}
1695 @lilypond[notime,relative=2]
1696 f^\trill e,_\trill b'\trill
1697 @end lilypond
1698
1699 @item
1700 @code{\turn}
1701 @lilypond[notime,relative=2]
1702 f^\turn e,_\turn b'\reverseturn
1703 @end lilypond
1704 @tab
1705 @code{\reverseturn}
1706 @lilypond[notime,relative=2]
1707 f^\reverseturn e,_\reverseturn b'\reverseturn
1708 @end lilypond
1709
1710 @end multitable
1711
1712 @cindex fermata
1713 @cindex shortfermata
1714 @cindex longfermata
1715 @cindex verylongfermata
1716
1717 @node Fermata scripts
1718 @unnumberedsubsec Fermata scripts
1719
1720 @multitable @columnfractions .22 .25 .25 .25
1721
1722 @item
1723 @code{\shortfermata}
1724 @lilypond[notime,relative=2]
1725 f^\shortfermata e,_\shortfermata b'\shortfermata
1726 @end lilypond
1727 @tab
1728 @code{\fermata}
1729 @lilypond[notime,relative=2]
1730 f^\fermata e,_\fermata b'\fermata
1731 @end lilypond
1732 @tab
1733 @code{\longfermata}
1734 @lilypond[notime,relative=2]
1735 f^\longfermata e,_\longfermata b'\longfermata
1736 @end lilypond
1737 @tab
1738 @code{\verylongfermata}
1739 @lilypond[notime,relative=2]
1740 f^\verylongfermata e,_\verylongfermata b'\verylongfermata
1741 @end lilypond
1742
1743 @end multitable
1744
1745 @cindex upbow
1746 @cindex downbow
1747 @cindex flageolet
1748 @cindex open
1749 @cindex halfopen
1750 @cindex lheel
1751 @cindex rheel
1752 @cindex ltoe
1753 @cindex rtoe
1754 @cindex snappizzicato
1755 @cindex stopped
1756
1757 @node Instrument-specific scripts
1758 @unnumberedsubsec Instrument-specific scripts
1759
1760 @multitable @columnfractions .22 .25 .25 .25
1761
1762 @item
1763 @code{\upbow}
1764 @lilypond[notime,relative=2]
1765 f^\upbow e,_\upbow b'\upbow
1766 @end lilypond
1767 @tab
1768 @code{\downbow}
1769 @lilypond[notime,relative=2]
1770 f^\downbow e,_\downbow b'\downbow
1771 @end lilypond
1772 @tab
1773 @code{\flageolet}
1774 @lilypond[notime,relative=2]
1775 f^\flageolet e,_\flageolet b'\flageolet
1776 @end lilypond
1777 @tab
1778 @code{\open}
1779 @lilypond[notime,relative=2]
1780 f^\open e,_\open b'\open
1781 @end lilypond
1782
1783 @item
1784 @code{\halfopen}
1785 @lilypond[notime,relative=2]
1786 f^\halfopen e,_\halfopen b'\halfopen
1787 @end lilypond
1788 @tab
1789 @code{\lheel}
1790 @lilypond[notime,relative=2]
1791 f^\lheel e,_\lheel b'\lheel
1792 @end lilypond
1793 @tab
1794 @code{\rheel}
1795 @lilypond[notime,relative=2]
1796 f^\rheel e,_\rheel b'\rheel
1797 @end lilypond
1798 @tab
1799 @code{\ltoe}
1800 @lilypond[notime,relative=2]
1801 f^\ltoe e,_\ltoe b'\ltoe
1802 @end lilypond
1803
1804 @item
1805 @code{\rtoe}
1806 @lilypond[notime,relative=2]
1807 f^\rtoe e,_\rtoe b'\rtoe
1808 @end lilypond
1809 @tab
1810 @code{\snappizzicato}
1811 @lilypond[notime,relative=2]
1812 f^\snappizzicato e,_\snappizzicato b'\snappizzicato
1813 @end lilypond
1814 @tab
1815 @code{\stopped} or @code{-+}
1816 @lilypond[notime,relative=2]
1817 f^\stopped e,_\stopped b'\stopped
1818 @end lilypond
1819
1820 @end multitable
1821
1822 @cindex segno
1823 @cindex coda
1824 @cindex varcoda
1825
1826 @node Repeat sign scripts
1827 @unnumberedsubsec Repeat sign scripts
1828
1829 @multitable @columnfractions .22 .25 .25 .25
1830
1831 @item
1832 @code{\segno}
1833 @lilypond[notime,relative=2]
1834 f^\segno e,_\segno b'\segno
1835 @end lilypond
1836 @tab
1837 @code{\coda}
1838 @lilypond[notime,relative=2]
1839 f^\coda e,_\coda b'\coda
1840 @end lilypond
1841 @tab
1842 @code{\varcoda}
1843 @lilypond[notime,relative=2]
1844 f^\varcoda e,_\varcoda b'\varcoda
1845 @end lilypond
1846
1847 @end multitable
1848
1849 @cindex accentus
1850 @cindex circulus
1851 @cindex ictus
1852 @cindex semicirculus
1853 @cindex signumcongruentiae
1854
1855 @node Ancient scripts
1856 @unnumberedsubsec Ancient scripts
1857
1858 @multitable @columnfractions .22 .25 .25 .25
1859
1860 @item
1861 @code{\accentus}
1862 @lilypond[notime]
1863 \include "gregorian.ly"
1864 \new VaticanaStaff { e'^\accentus s4 f_\accentus s4 b\accentus}
1865 @end lilypond
1866 @tab
1867 @code{\circulus}
1868 @lilypond[notime]
1869 \include "gregorian.ly"
1870 \new VaticanaStaff { e'^\circulus s4 f_\circulus s4 b\circulus  }
1871 @end lilypond
1872 @tab
1873 @code{\ictus}
1874 @lilypond[notime]
1875 \include "gregorian.ly"
1876 \new VaticanaStaff { e'^\ictus s4 f_\ictus s4 b\ictus}
1877 @end lilypond
1878
1879 @item
1880 @code{\semicirculus}
1881 @lilypond[notime]
1882 \include "gregorian.ly"
1883 \new VaticanaStaff {
1884   e'^\semicirculus s4 f_\semicirculus s4 b\semicirculus
1885 }
1886 @end lilypond
1887 @tab
1888 @code{\signumcongruentiae}
1889 @lilypond[notime]
1890 \include "gregorian.ly"
1891 \new VaticanaStaff {
1892   e'^\signumcongruentiae s4
1893   f_\signumcongruentiae s4
1894   b\signumcongruentiae
1895 }
1896 @end lilypond
1897
1898 @end multitable
1899
1900 @cindex drums, various
1901 @cindex acoustic bass
1902 @cindex bass
1903 @cindex snare
1904 @cindex electric snare
1905 @cindex acoustic snare
1906 @cindex tom tom
1907 @cindex bongo
1908 @cindex conga
1909 @cindex timbale
1910 @cindex sidestick
1911 @cindex floor tom tom
1912 @cindex low tom tom
1913 @cindex high tom tom
1914 @cindex mid tom tom
1915 @cindex high hat
1916 @cindex pedal high hat
1917 @cindex open high hat
1918 @cindex half-open high hat
1919 @cindex cymbal, various
1920 @cindex crash cymbal
1921 @cindex ride cymbal
1922 @cindex chinese cymbal
1923 @cindex splash cymbal
1924 @cindex ride bell
1925 @cindex cowbell
1926 @cindex agogo
1927 @cindex high bongo
1928 @cindex low bongo
1929 @cindex mute bongo
1930 @cindex open bongo
1931 @cindex high conga
1932 @cindex low conga
1933 @cindex mute conga
1934 @cindex open conga
1935 @cindex high timbale
1936 @cindex low timbale
1937 @cindex mute timbale
1938 @cindex open timbale
1939 @cindex sidestick
1940 @cindex guiro
1941 @cindex cabasa
1942 @cindex maracas
1943 @cindex whistle
1944 @cindex handclap
1945 @cindex tambourine
1946 @cindex vibraslap
1947 @cindex tam tam
1948 @cindex claves
1949 @cindex woodblock
1950 @cindex cuica
1951 @cindex triangle
1952
1953 @node Percussion notes
1954 @appendixsec Percussion notes
1955
1956 @multitable @columnfractions .22 .25 .25 .25
1957
1958 @item
1959 @code{bassdrum @* bd @*}
1960 @lilypond[notime,ragged-right]
1961 \drums { bd4 bd1 }
1962 @end lilypond
1963 @tab
1964 @code{acousticbassdrum @* bda @*}
1965 @lilypond[notime,ragged-right]
1966 \drums { bda4 bda1 }
1967 @end lilypond
1968 @tab
1969 @code{snare @* sn @*}
1970 @lilypond[notime,ragged-right]
1971 \drums { sn4 sn1 }
1972 @end lilypond
1973 @tab
1974 @code{acousticsnare @* sna @*}
1975 @lilypond[notime,ragged-right]
1976 \drums { sna4 sna1 }
1977 @end lilypond
1978
1979 @item
1980 @code{electricsnare @* sne @*}
1981 @lilypond[notime,ragged-right]
1982 \drums { sne4 sne1 }
1983 @end lilypond
1984 @tab
1985 @code{lowfloortom @* tomfl @*}
1986 @lilypond[notime,ragged-right]
1987 \drums { tomfl4 tomfl1 }
1988 @end lilypond
1989 @tab
1990 @code{highfloortom @* tomfh @*}
1991 @lilypond[notime,ragged-right]
1992 \drums { tomfh4 tomfh1 }
1993 @end lilypond
1994 @tab
1995 @code{lowtom @* toml @*}
1996 @lilypond[notime,ragged-right]
1997 \drums { toml4 toml1 }
1998 @end lilypond
1999
2000 @item
2001 @code{hightom @* tomh @*}
2002 @lilypond[notime,ragged-right]
2003 \drums { tomh4 tomh1 }
2004 @end lilypond
2005 @tab
2006 @code{lowmidtom @* tomml @*}
2007 @lilypond[notime,ragged-right]
2008 \drums { tomml4 tomml1 }
2009 @end lilypond
2010 @tab
2011 @code{highmidtom @* tommh @*}
2012 @lilypond[notime,ragged-right]
2013 \drums { tommh4 tommh1 }
2014 @end lilypond
2015 @tab
2016 @code{highhat @* hh @*}
2017 @lilypond[notime,ragged-right]
2018 \drums { hh4 hh1 }
2019 @end lilypond
2020
2021 @item
2022 @code{closedhihat @* hhc @*}
2023 @lilypond[notime,ragged-right]
2024 \drums { hhc4 hhc1 }
2025 @end lilypond
2026 @tab
2027 @code{openhighhat @* hho @*}
2028 @lilypond[notime,ragged-right]
2029 \drums { hho4 hho1 }
2030 @end lilypond
2031 @tab
2032 @code{halfopenhihat @* hhho @*}
2033 @lilypond[notime,ragged-right]
2034 \drums { hhho4 hhho1 }
2035 @end lilypond
2036 @tab
2037 @code{pedalhihat @* hhp @*}
2038 @lilypond[notime,ragged-right]
2039 \drums { hhp4 hhp1 }
2040 @end lilypond
2041
2042
2043 @item
2044 @code{crashcymbal @* cymc @*}
2045 @lilypond[notime,ragged-right]
2046 \drums { cymc4 cymc1 }
2047 @end lilypond
2048 @tab
2049 @code{crashcymbala @* cymca @*}
2050 @lilypond[notime,ragged-right]
2051 \drums { cymca4 cymca1 }
2052 @end lilypond
2053 @tab
2054 @code{crashcymbalb @* cymcb @*}
2055 @lilypond[notime,ragged-right]
2056 \drums { cymcb4 cymcb1 }
2057 @end lilypond
2058 @tab
2059 @code{ridecymbal @* cymr @*}
2060 @lilypond[notime,ragged-right]
2061 \drums { cymr4 cymr1 }
2062 @end lilypond
2063
2064 @item
2065 @code{ridecymbala @* cymra @*}
2066 @lilypond[notime,ragged-right]
2067 \drums { cymra4 cymra1 }
2068 @end lilypond
2069 @tab
2070 @code{ridecymbalb @* cymrb @*}
2071 @lilypond[notime,ragged-right]
2072 \drums { cymrb4 cymrb1 }
2073 @end lilypond
2074 @tab
2075 @code{chinesecymbal @* cymch @*}
2076 @lilypond[notime,ragged-right]
2077 \drums { cymch4 cymch1 }
2078 @end lilypond
2079 @tab
2080 @code{splashcymbal @* cyms @*}
2081 @lilypond[notime,ragged-right]
2082 \drums { cyms4 cyms1 }
2083 @end lilypond
2084
2085 @item
2086 @code{ridebell @* rb @*}
2087 @lilypond[notime,ragged-right]
2088 \drums { rb4 rb1 }
2089 @end lilypond
2090 @tab
2091 @code{cowbell @* cb @*}
2092 @lilypond[notime,ragged-right]
2093 \drums { cb4 cb1 }
2094 @end lilypond
2095 @tab
2096 @code{hibongo @* boh @*}
2097 @lilypond[notime,ragged-right]
2098 \drums { boh4 boh1 }
2099 @end lilypond
2100 @tab
2101 @code{openhibongo @* boho @*}
2102 @lilypond[notime,ragged-right]
2103 \drums { boho4 boho1 }
2104 @end lilypond
2105
2106 @item
2107 @code{mutehibongo @* bohm @*}
2108 @lilypond[notime,ragged-right]
2109 \drums { bohm4 bohm1 }
2110 @end lilypond
2111 @tab
2112 @code{lobongo @* bol @*}
2113 @lilypond[notime,ragged-right]
2114 \drums { bol4 bol1 }
2115 @end lilypond
2116 @tab
2117 @code{openlobongo @* bolo @*}
2118 @lilypond[notime,ragged-right]
2119 \drums { bolo4 bolo1 }
2120 @end lilypond
2121 @tab
2122 @code{mutelobongo @* bolm @*}
2123 @lilypond[notime,ragged-right]
2124 \drums { bolm4 bolm1 }
2125 @end lilypond
2126
2127
2128 @item
2129 @code{hiconga @* cgh @*}
2130 @lilypond[notime,ragged-right]
2131 \drums { cgh4 cgh1 }
2132 @end lilypond
2133 @tab
2134 @code{openhiconga @* cgho @*}
2135 @lilypond[notime,ragged-right]
2136 \drums { cgho4 cgho1 }
2137 @end lilypond
2138 @tab
2139 @code{mutehiconga @* cghm @*}
2140 @lilypond[notime,ragged-right]
2141 \drums { cghm4 cghm1 }
2142 @end lilypond
2143 @tab
2144 @code{loconga @* cgl @*}
2145 @lilypond[notime,ragged-right]
2146 \drums { cgl4 cgl1 }
2147 @end lilypond
2148
2149 @item
2150 @code{openloconga @* cglo @*}
2151 @lilypond[notime,ragged-right]
2152 \drums { cglo4 cglo1 }
2153 @end lilypond
2154 @tab
2155 @code{muteloconga @* cglm @*}
2156 @lilypond[notime,ragged-right]
2157 \drums { cglm4 cglm1 }
2158 @end lilypond
2159 @tab
2160 @code{hitimbale @* timh @*}
2161 @lilypond[notime,ragged-right]
2162 \drums { timh4 timh1 }
2163 @end lilypond
2164 @tab
2165 @code{lotimbale @* timl @*}
2166 @lilypond[notime,ragged-right]
2167 \drums { timl4 timl1 }
2168 @end lilypond
2169
2170 @item
2171 @code{hiagogo @* agh @*}
2172 @lilypond[notime,ragged-right]
2173 \drums { agh4 agh1 }
2174 @end lilypond
2175 @tab
2176 @code{loagogo @* agl @*}
2177 @lilypond[notime,ragged-right]
2178 \drums { agl4 agl1 }
2179 @end lilypond
2180 @tab
2181 @code{sidestick @* ss @*}
2182 @lilypond[notime,ragged-right]
2183 \drums { ss4 ss1 }
2184 @end lilypond
2185 @tab
2186 @code{hisidestick @* ssh @*}
2187 @lilypond[notime,ragged-right]
2188 \drums { ssh4 ssh1 }
2189 @end lilypond
2190
2191 @item
2192 @code{losidestick @* ssl @*}
2193 @lilypond[notime,ragged-right]
2194 \drums { ssl4 ssl1 }
2195 @end lilypond
2196 @tab
2197 @code{guiro @* gui @*}
2198 @lilypond[notime,ragged-right]
2199 \drums { gui4 gui1 }
2200 @end lilypond
2201 @tab
2202 @code{shortguiro @* guis @*}
2203 @lilypond[notime,ragged-right]
2204 \drums { guis4 guis1 }
2205 @end lilypond
2206 @tab
2207 @code{longguiro @* guil @*}
2208 @lilypond[notime,ragged-right]
2209 \drums { guil4 guil1 }
2210 @end lilypond
2211
2212 @item
2213 @code{cabasa @* cab @*}
2214 @lilypond[notime,ragged-right]
2215 \drums { cab4 cab1 }
2216 @end lilypond
2217 @tab
2218 @code{maracas @* mar @*}
2219 @lilypond[notime,ragged-right]
2220 \drums { mar4 mar1 }
2221 @end lilypond
2222 @tab
2223 @code{shortwhistle @* whs @*}
2224 @lilypond[notime,ragged-right]
2225 \drums { whs4 whs1 }
2226 @end lilypond
2227 @tab
2228 @code{longwhistle @* whl @*}
2229 @lilypond[notime,ragged-right]
2230 \drums { whl4 whl1 }
2231 @end lilypond
2232
2233 @item
2234 @code{handclap @* hc @*}
2235 @lilypond[notime,ragged-right]
2236 \drums { hc4 hc1 }
2237 @end lilypond
2238 @tab
2239 @code{tambourine @* tamb @*}
2240 @lilypond[notime,ragged-right]
2241 \drums { tamb4 tamb1 }
2242 @end lilypond
2243 @tab
2244 @code{vibraslap @* vibs @*}
2245 @lilypond[notime,ragged-right]
2246 \drums { vibs4 vibs1 }
2247 @end lilypond
2248 @tab
2249 @code{tamtam @* tt @*}
2250 @lilypond[notime,ragged-right]
2251 \drums { tt4 tt1 }
2252 @end lilypond
2253
2254 @item
2255 @code{claves @* cl @*}
2256 @lilypond[notime,ragged-right]
2257 \drums { cl4 cl1 }
2258 @end lilypond
2259 @tab
2260 @code{hiwoodblock @* wbh @*}
2261 @lilypond[notime,ragged-right]
2262 \drums { wbh4 wbh1 }
2263 @end lilypond
2264 @tab
2265 @code{lowoodblock @* wbl @*}
2266 @lilypond[notime,ragged-right]
2267 \drums { wbl4 wbl1 }
2268 @end lilypond
2269 @tab
2270 @code{opencuica @* cuio @*}
2271 @lilypond[notime,ragged-right]
2272 \drums { cuio4 cuio1 }
2273 @end lilypond
2274
2275 @item
2276 @code{mutecuica @* cuim @*}
2277 @lilypond[notime,ragged-right]
2278 \drums { cuim4 cuim1 }
2279 @end lilypond
2280 @tab
2281 @code{triangle @* tri @*}
2282 @lilypond[notime,ragged-right]
2283 \drums { tri4 tri1 }
2284 @end lilypond
2285 @tab
2286 @code{opentriangle @* trio @*}
2287 @lilypond[notime,ragged-right]
2288 \drums { trio4 trio1 }
2289 @end lilypond
2290 @tab
2291 @code{mutetriangle @* trim}
2292 @lilypond[notime,ragged-right]
2293 \drums { trim4 trim1 }
2294 @end lilypond
2295
2296 @item
2297 @code{oneup @* ua @*}
2298 @lilypond[notime,ragged-right]
2299 \drums { ua4 ua1 }
2300 @end lilypond
2301 @tab
2302 @code{twoup @* ub @*}
2303 @lilypond[notime,ragged-right]
2304 \drums { ub4 ub1 }
2305 @end lilypond
2306 @tab
2307 @code{threeup @* uc @*}
2308 @lilypond[notime,ragged-right]
2309 \drums { uc4 uc1 }
2310 @end lilypond
2311 @tab
2312 @code{fourup @* ud @*}
2313 @lilypond[notime,ragged-right]
2314 \drums { ud4 ud1 }
2315 @end lilypond
2316
2317 @item
2318 @code{fiveup @* ue @*}
2319 @lilypond[notime,ragged-right]
2320 \drums { ue4 ue1 }
2321 @end lilypond
2322 @tab
2323 @code{onedown @* da @*}
2324 @lilypond[notime,ragged-right]
2325 \drums { da4 da1 }
2326 @end lilypond
2327 @tab
2328 @code{twodown @* db @*}
2329 @lilypond[notime,ragged-right]
2330 \drums { db4 db1 }
2331 @end lilypond
2332 @tab
2333 @code{threedown @* dc @*}
2334 @lilypond[notime,ragged-right]
2335 \drums { dc4 dc1 }
2336 @end lilypond
2337
2338 @item
2339 @code{fourdown @* dd @*}
2340 @lilypond[notime,ragged-right]
2341 \drums { dd4 dd1 }
2342 @end lilypond
2343 @tab
2344 @code{fivedown @* de @*}
2345 @lilypond[notime,ragged-right]
2346 \drums { de4 de1 }
2347 @end lilypond
2348
2349
2350 @end multitable
2351
2352
2353 @node Technical glossary
2354 @appendixsec Technical glossary
2355
2356 A glossary of the technical terms and concepts used internally in
2357 LilyPond.  These terms may appear in the manuals, on mailing lists
2358 or in the source code.
2359
2360 @menu
2361 * alist::
2362 * callback::
2363 * closure::
2364 * glyph::
2365 * grob::
2366 * immutable::
2367 * interface::
2368 * lexer::
2369 * mutable::
2370 * output-def::
2371 * parser::
2372 * parser variable::
2373 * prob::
2374 * smob::
2375 * stencil::
2376 @end menu
2377
2378 @node alist
2379 @unnumberedsubsec alist
2380
2381 @cindex alist
2382 @cindex association list
2383
2384 An association list or @strong{alist} for short is a Scheme pair
2385 which associates a value with a key: @w{@code{(key . value)}}.  For
2386 example, in @file{scm/lily.scm}, the alist
2387 @w{@qq{type-p-name-alist}} associates certain type predicates
2388 (e.g., @code{ly:music?}) with names (e.g., @qq{music}) so
2389 that type-check failures can be reported with a console message that
2390 includes the name of the expected type predicate.
2391
2392 @node callback
2393 @unnumberedsubsec callback
2394
2395 @cindex callback
2396
2397 A @strong{callback} is a routine, function or method whose reference is
2398 passed as an argument in a call to another routine, so allowing
2399 the called routine to invoke it.  The technique enables a lower-
2400 level software layer to call a function defined in a higher
2401 layer.  Callbacks are used extensively in LilyPond to permit
2402 user-level Scheme code to define how many low-level actions are
2403 performed.
2404
2405
2406 @node closure
2407 @unnumberedsubsec closure
2408
2409 @cindex closure
2410
2411 In Scheme, a @strong{closure} is created when a function, usually
2412 a lambda expression, is passed as a variable.  The closure contains
2413 the function's code plus references to the lexical bindings of the
2414 function's free variables (i.e., those variables used in the
2415 expression but defined outside it).  When this function is applied
2416 to different arguments later, the free variable bindings that were
2417 captured in the closure are used to obtain the values of the free
2418 variables to be used in the calculation.  One useful property of
2419 closures is the retention of internal variable values between
2420 invocations, so permitting state to be maintained.
2421
2422
2423 @node glyph
2424 @unnumberedsubsec glyph
2425
2426 @cindex glyph
2427 @cindex font
2428 @cindex typeface
2429
2430 A @strong{glyph} is a particular graphical representation of a typographic
2431 character, or a combination of two characters formating a ligature.
2432 A set of glyphs with a single style and shape comprise a font, and
2433 a set of fonts covering several styles and sizes comprise a typeface.
2434
2435 @seealso
2436 Notation Reference:
2437 @ref{Fonts},
2438 @ref{Special characters}.
2439
2440
2441 @node grob
2442 @unnumberedsubsec grob
2443
2444 @cindex grob
2445 @cindex layout objects
2446 @cindex graphical objects
2447
2448 LilyPond objects which represent items of notation in the printed
2449 output such as note heads, stems, slurs, ties, fingering, clefs,
2450 etc are called @q{Layout objects}, often known as @q{GRaphical
2451 OBjects}, or @strong{grobs} for short.  They are represented by
2452 instances of the @code{Grob} class.
2453
2454 @seealso
2455 Learning Manual:
2456 @rlearning{Objects and interfaces},
2457 @rlearning{Naming conventions of objects and properties},
2458 @rlearning{Properties of layout objects}.
2459
2460 Internals Reference:
2461 @rinternals{grob-interface},
2462 @rinternals{All layout objects}.
2463
2464
2465 @node immutable
2466 @unnumberedsubsec immutable
2467
2468 @cindex immutable objects
2469 @cindex immutable properties
2470 @cindex shared properties
2471
2472 An @strong{immutable} object is one whose state cannot be modified
2473 after creation, in contrast to a mutable object, which can be
2474 modified after creation.
2475
2476 In LilyPond, immutable or shared properties define the default
2477 style and behavior of grobs.  They are shared between many objects.
2478 In apparent contradiction to the name, they can be changed using
2479 @code{\override} and @code{\revert}.
2480
2481 @seealso
2482 Notation Reference:
2483 @ref{mutable}.
2484
2485
2486 @node interface
2487 @unnumberedsubsec interface
2488
2489 @cindex interface
2490 @cindex grob-interface
2491 @cindex graphical object interfaces
2492
2493 Actions and properties which are common to a number of grobs are
2494 grouped together in an object called a @code{grob-interface}, or
2495 just @q{interface} for short.
2496
2497 @seealso
2498 Learning Manual:
2499 @rlearning{Objects and interfaces},
2500 @rlearning{Naming conventions of objects and properties},
2501 @rlearning{Properties found in interfaces}.
2502
2503 Notation Reference:
2504 @ref{Layout interfaces}.
2505
2506 Internals Reference:
2507 @rinternals{Graphical Object Interfaces}.
2508
2509
2510 @node lexer
2511 @unnumberedsubsec lexer
2512
2513 @cindex lexer
2514 @cindex Flex
2515
2516 A @strong{lexer} is a program which converts a sequence of
2517 characters into a sequence of tokens, a process called lexical
2518 analysis.  The LilyPond lexer converts the stream obtained from an
2519 input @file{.ly} file into a tokenized stream more suited to the
2520 next stage of processing - parsing, for which see @ref{parser}.
2521 The LilyPond lexer is built with Flex from the lexer file
2522 @file{lily/lexer.ll} which contains the lexical rules.  This file
2523 is part of the source code and is not included in the LilyPond
2524 binary installation.
2525
2526
2527 @node mutable
2528 @unnumberedsubsec mutable
2529
2530 @cindex mutable objects
2531 @cindex mutable properties
2532
2533 A @strong{mutable} object is one whose state can be modified after
2534 creation, in contrast to an immutable object, whose state is fixed
2535 at the time of creation.
2536
2537 In LilyPond, mutable properties contain values that are specific to
2538 one grob.  Typically, lists of other objects or results from
2539 computations are stored in mutable properties.
2540
2541 @seealso
2542 Notation Reference:
2543 @ref{immutable}.
2544
2545
2546 @node output-def
2547 @unnumberedsubsec output-def
2548
2549 @cindex output-def
2550
2551 An instance of the @code{Output-def} class contains the methods and
2552 data structures associated with an output block.  Instances are
2553 created for midi, layout and paper blocks.
2554
2555
2556 @node parser
2557 @unnumberedsubsec parser
2558
2559 @cindex parser
2560 @cindex Bison
2561 @cindex LilyPond grammar
2562 @cindex grammar for LilyPond
2563 @cindex BNF
2564
2565 A @strong{parser} analyzes the sequence of tokens produced by a
2566 lexer to determine its grammatical structure, grouping the tokens
2567 progressively into larger groupings according to the rules of the
2568 grammar.  If the sequence of tokens is valid the end product is a
2569 tree of tokens whose root is the grammar's start symbol.  If this
2570 cannot be achieved the file is invalid and an appropriate error
2571 message is produced.  The syntactic groupings and the rules for
2572 constructing the groupings from their parts for the LilyPond syntax
2573 are defined in @file{lily/parser.yy} and shown in Backus Normal Form
2574 (BNF) in @rcontrib{LilyPond grammar}.  This file is used to build the
2575 parser during the program build by the parser generator, Bison.  It is
2576 part of the source code and is not included in the LilyPond binary
2577 installation.
2578
2579
2580 @node parser variable
2581 @unnumberedsubsec parser variable
2582
2583 @cindex parser variable
2584 @cindex Scheme variable
2585 @cindex global variable
2586 @cindex afterGraceFraction
2587 @cindex musicQuotes
2588 @cindex mode
2589 @cindex output-count
2590 @cindex output-suffix
2591 @cindex partCombineListener
2592 @cindex pitchnames
2593 @cindex toplevel-bookparts
2594 @cindex toplevel-scores
2595 @cindex showLastLength
2596 @cindex showFirstLength
2597
2598 These are variables defined directly in Scheme.  Their direct
2599 use by users is strongly discouraged, because their scoping
2600 semantics can be confusing.
2601
2602 When the value of such a variable is changed in a @file{.ly} file,
2603 the change is global, and unless explicitly reverted, the new value
2604 will persist to the end of the file, affecting subsequent
2605 @code{\score} blocks as well as external files added with the
2606 @code{\include} command.  This can lead to unintended consequences
2607 and in complex typesetting projects the consequent errors can be
2608 difficult to track down.
2609
2610 LilyPond uses the following parser variables:
2611
2612 @itemize
2613 @item afterGraceFraction
2614 @item musicQuotes
2615 @item mode
2616 @item output-count
2617 @item output-suffix
2618 @item partCombineListener
2619 @item pitchnames
2620 @item toplevel-bookparts
2621 @item toplevel-scores
2622 @item showLastLength
2623 @item showFirstLength
2624 @end itemize
2625
2626
2627 @node prob
2628 @unnumberedsubsec prob
2629
2630 @cindex prob
2631 @cindex property object
2632
2633 PRoperty OBjects, or @strong{probs} for short, are instances of
2634 the @code{Prob} class, a simple base class for objects which have
2635 mutable and immutable property alists and the methods to manipulate
2636 them.  The @code{Music} and @code{Stream_event} classes derive from
2637 @code{Prob}.  Instances of the @code{Prob} class are also created
2638 to hold the formatted content of system grobs and titling blocks
2639 during page layout.
2640
2641
2642 @node smob
2643 @unnumberedsubsec smob
2644
2645 @cindex smob
2646 @cindex Scheme object
2647
2648 @strong{Smobs}, or ScheMe OBjects, are part of the mechanism used
2649 by Guile to export C and C++ objects to Scheme code.  In LilyPond,
2650 smobs are created from C++ objects through macros.  There are two
2651 types of smob objects: simple smobs, intended for simple immutable
2652 objects like numbers, and complex smobs, used for objects with
2653 identities.  If you have access to the LilyPond sources, more
2654 information can be found in @file{lily/includes/smob.hh}.
2655
2656 @node stencil
2657 @unnumberedsubsec stencil
2658
2659 @cindex stencil
2660
2661 An instance of the @strong{stencil} class holds the information
2662 required to print a typographical object.  It is a simple smob
2663 containing a confining box, which defines the vertical and
2664 horizontal extents of the object, and a Scheme expression which
2665 will print the object when evaluated.  Stencils may be combined
2666 to form more complex stencils defined by a tree of Scheme
2667 expressions formed from the Scheme expressions of the component
2668 stencils.
2669
2670 The @code{stencil} property, which connects a grob to its stencil,
2671 is defined in the @code{grob-interface} interface.
2672
2673 @seealso
2674 Internals Reference:
2675 @rinternals{grob-interface}.
2676
2677
2678 @node All context properties
2679 @appendixsec All context properties
2680
2681 @include context-properties.tely
2682
2683
2684 @node Layout properties
2685 @appendixsec Layout properties
2686
2687 @include layout-properties.tely
2688
2689
2690 @node Available music functions
2691 @appendixsec Available music functions
2692
2693 @include identifiers.tely
2694
2695 @node Context modification identifiers
2696 @appendixsec Context modification identifiers
2697
2698 The following commands are defined for use as context modifications
2699 within a @code{\layout} or @code{\with} block.
2700
2701 @include context-mod-identifiers.tely
2702
2703 @node Predefined type predicates
2704 @appendixsec Predefined type predicates
2705
2706 @include type-predicates.tely
2707
2708
2709 @node Scheme functions
2710 @appendixsec Scheme functions
2711
2712 @include scheme-functions.tely
2713