]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/ancient.itely
1348e2761a750dffe4063bc073b95379859b16fb
[lilypond.git] / Documentation / notation / ancient.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @c vim: foldmethod=marker
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.15.10"
12
13
14 @node Ancient notation
15 @section Ancient notation
16
17 @lilypondfile[quote]{ancient-headword.ly}
18
19 @cindex Vaticana, Editio
20 @cindex Medicaea, Editio
21 @cindex hufnagel
22 @cindex Petrucci
23 @cindex mensural
24
25
26 @menu
27 * Overview of the supported styles::
28 * Ancient notation---common features::
29 * Typesetting mensural music::
30 * Typesetting Gregorian chant::
31 * Typesetting Kievan square notation::
32 * Working with ancient music---scenarios and solutions::
33 @end menu
34
35
36 Support for ancient notation includes features for mensural
37 notation, Gregorian chant notation, and Kievan square notation.
38 These features can be accessed either by modifying style
39 properties of graphical objects such as note heads and rests,
40 or by using one of the pre-defined contexts for these styles.
41
42 Many graphical objects, such as note heads and flags, accidentals,
43 time signatures, and rests, provide a @code{style} property, which
44 can be changed to emulate several different styles of ancient
45 notation.  See
46
47 @itemize
48 @item @ref{Mensural note heads},
49 @item @ref{Mensural accidentals and key signatures},
50 @item @ref{Mensural rests},
51 @item @ref{Mensural clefs},
52 @item @ref{Gregorian clefs},
53 @item @ref{Mensural flags},
54 @item @ref{Mensural time signatures}.
55 @end itemize
56
57 Some notational concepts are introduced specifically for ancient
58 notation,
59
60 @itemize
61 @item @ref{Custodes},
62 @item @ref{Divisiones},
63 @item @ref{Ligatures}.
64 @end itemize
65
66 @seealso
67 Music Glossary:
68 @rglos{custos},
69 @rglos{ligature},
70 @rglos{mensural notation}.
71
72 Notation Reference:
73 @ref{Mensural note heads},
74 @ref{Mensural accidentals and key signatures},
75 @ref{Mensural rests},
76 @ref{Gregorian clefs},
77 @ref{Mensural flags},
78 @ref{Mensural time signatures},
79 @ref{Custodes},
80 @ref{Divisiones},
81 @ref{Ligatures}.
82
83
84 @node Overview of the supported styles
85 @subsection Overview of the supported styles
86
87 Three styles are available for typesetting Gregorian chant:
88
89 @itemize
90 @item @emph{Editio Vaticana} is a complete style for
91 Gregorian chant, following the appearance of the Solesmes
92 editions, the official chant books of the Vatican since 1904.
93 LilyPond has support for all the notational signs used in this
94 style, including ligatures, @emph{custodes}, and special signs
95 such as the quilisma and the oriscus.
96
97 @cindex Solesmes
98 @cindex Vaticana, Editio
99
100 @item The @emph{Editio Medicaea} style offers certain features
101 used in the Medicaea (or Ratisbona) editions which were used prior
102 to the Solesmes editions.  The most significant differences from
103 the @emph{Vaticana} style are the clefs, which have
104 downward-slanted strokes, and the note heads, which are square and
105 regular.
106
107 @cindex Ratisbona, Editio
108 @cindex Medicaea, Editio
109
110 @item The @emph{Hufnagel} (@qq{horseshoe nail}) or @emph{Gothic}
111 style mimics the writing style in chant manuscripts from Germany
112 and Central Europe during the middle ages.  It is named after the
113 basic note shape (the @emph{virga}), which looks like a small
114 nail.
115 @cindex hufnagel
116 @end itemize
117
118 Three styles emulate the appearance of late-medieval and
119 renaissance manuscripts and prints of mensural music:
120
121 @itemize
122 @item The @emph{Mensural} style most closely resembles the
123 writing style used in late-medieval and early renaissance
124 manuscripts, with its small and narrow, diamond-shaped note heads
125 and its rests which approach a hand-drawn style.
126
127 @cindex mensural
128
129 @item The @emph{Neomensural} style is a modernized and
130 stylized version of the former: the note heads are broader and the
131 rests are made up of straight lines.  This style is particularly
132 suited, e.g., for incipits of transcribed pieces of mensural
133 music.
134
135 @cindex neomensural
136
137 @item The @emph{Petrucci} style is named after Ottaviano Petrucci
138 (1466-1539), the first printer to use movable type for music (in
139 his @emph{Harmonice musices odhecaton}, 1501).  The style uses
140 larger note heads than the other mensural styles.
141
142 @cindex Petrucci
143
144 @end itemize
145
146 @emph{Baroque} and @emph{Classical} are not complete styles
147 but differ from the default style only in some details: certain
148 note heads (Baroque) and the quarter rest (Classical).
149
150 Only the mensural style has alternatives for all aspects of the
151 notation.  Thus, there are no rests or flags in the Gregorian
152 styles, since these signs are not used in plainchant notation, and
153 the Petrucci style has no flags or accidentals of its own.
154
155 Each element of the notation can be changed independently of the
156 others, so that one can use mensural flags, petrucci note heads,
157 classical rests and vaticana clefs in the same piece, if one
158 wishes.
159
160 @seealso
161 Music Glossary:
162 @rglos{mensural notation},
163 @rglos{flag}.
164
165
166 @node Ancient notation---common features
167 @subsection Ancient notation---common features
168
169 @menu
170 * Pre-defined contexts::
171 * Ligatures::
172 * Custodes::
173 * Figured bass support::
174 @end menu
175
176
177 @node Pre-defined contexts
178 @unnumberedsubsubsec Pre-defined contexts
179
180 For Gregorian chant and mensural notation, there are pre-defined
181 voice and staff contexts available, which set all the various
182 notation signs to values suitable for these styles.  If one is
183 satisfied with these defaults, one can proceed directly with note
184 entry without worrying about the details on how to customize a
185 context.  See one of the  pre-defined contexts
186 @code{VaticanaVoice}, @code{VaticanaStaff}, @code{MensuralVoice},
187 and @code{MensuralStaff}.  See further
188
189 @itemize
190 @item @ref{Gregorian chant contexts},
191 @item @ref{Mensural contexts}.
192 @end itemize
193
194 @seealso
195 Music Glossary:
196 @rglos{mensural notation}.
197
198 Notation Reference:
199 @ref{Gregorian chant contexts},
200 @ref{Mensural contexts}.
201
202
203 @node Ligatures
204 @unnumberedsubsubsec Ligatures
205
206 @cindex Ligatures
207
208 @c TODO: Should double check if I recalled things correctly when I wrote
209 @c down the following paragraph by heart.
210
211 A ligature is a graphical symbol that represents at least two
212 distinct notes.  Ligatures originally appeared in the manuscripts
213 of Gregorian chant notation to denote ascending or descending
214 sequences of notes on the same syllable.  They are also used in
215 mensural notation.
216
217 Ligatures are entered by @emph{enclosing} them in @code{\[} and
218 @code{\]}.  Some ligature styles may need additional input syntax
219 specific for this particular type of ligature.  By default, the
220 @code{LigatureBracket} engraver just puts a square bracket
221 above the ligature.
222
223 @lilypond[quote,ragged-right,verbatim]
224 \transpose c c' {
225   \[ g c a f d' \]
226   a g f
227   \[ e f a g \]
228 }
229 @end lilypond
230
231 Two other ligature styles are available: the Vaticana for
232 Gregorian chant, and the Mensural for mensural music (only white
233 mensural ligatures are supported for mensural music, and with
234 certain limitations).  To use any of these styles, the default
235 @code{Ligature_bracket_engraver} has to be replaced with one of the
236 specialized ligature engravers in the @code{Voice} context,
237 as explained in @ref{White mensural ligatures} and
238 @ref{Gregorian square neume ligatures}.
239
240 @seealso
241 Music Glossary:
242 @rglos{ligature}.
243
244 Notation Reference:
245 @ref{White mensural ligatures},
246 @ref{Gregorian square neume ligatures}.
247
248 @knownissues
249 Ligatures need special spacing that has not yet been implemented.  As
250 a result, there is too much space between ligatures most of the time,
251 and line breaking often is unsatisfactory.  Also, lyrics do not
252 correctly align with ligatures.
253
254 Accidentals must not be printed within a ligature, but instead need to
255 be collected and printed in front of it.
256
257 The syntax still uses the deprecated infix style
258 @code{\[ music expr \]}.  For consistency reasons, it will eventually
259 be changed to postfix style @code{note\[ ... note\]}.
260
261 @c Alternatively, the file
262 @c @file{gregorian-init.ly} can be included; it provides a scheme
263 @c function
264 @c @example
265 @c \ligature @var{music expr}
266 @c @end example
267 @c with the same effect and is believed to be stable.
268
269 @c TODO: this does not seem to work at the moment.
270 @c -- eo
271
272
273 @node Custodes
274 @unnumberedsubsubsec Custodes
275
276 @cindex custos
277 @cindex custodes
278
279 A @emph{custos} (plural: @emph{custodes}; Latin word for @qq{guard})
280 is a symbol that appears at the end of a staff.  It anticipates the
281 pitch of the first note of the following line, thus helping the performer
282 to manage line breaks during performance.
283
284 Custodes were frequently used in music notation until the
285 seventeenth century.  Nowadays, they have survived only in a few
286 particular forms of musical notation such as contemporary editions
287 of Gregorian chant like the @emph{Editio Vaticana}.  There are
288 different custos glyphs used in different flavors of notational
289 style.
290
291 For typesetting custodes, just put a @code{Custos_engraver} into the
292 @code{Staff} context when declaring the @code{\layout} block,
293 and change the style of the custos with an @code{\override} if
294 desired, as shown in the following example:
295
296 @lilypond[quote,ragged-right]
297 \score {
298   \relative c'' {
299     a1
300     \break
301     g
302   }
303   \layout {
304     \context {
305       \Staff
306       \consists Custos_engraver
307       \override Custos #'style = #'mensural
308     }
309   }
310 }
311 @end lilypond
312
313 The custos glyph is selected by the @code{style} property.  The styles
314 supported are @code{vaticana}, @code{medicaea}, @code{hufnagel}, and
315 @code{mensural}.  They are demonstrated in the following fragment.
316
317 @lilypond[quote,ragged-right,fragment]
318 \new Lyrics \lyricmode {
319   \markup { \column {
320     \typewriter "vaticana "
321     \line { " " \musicglyph #"custodes.vaticana.u0" }
322   } }
323   \markup { \column {
324     \typewriter "medicaea "
325     \line { " " \musicglyph #"custodes.medicaea.u0" }
326   }}
327   \markup { \column {
328     \typewriter "hufnagel "
329     \line { " " \musicglyph #"custodes.hufnagel.u0" }
330   }}
331   \markup { \column {
332     \typewriter "mensural "
333     \line { " " \musicglyph #"custodes.mensural.u0" }
334   }}
335 }
336 @end lilypond
337
338 @seealso
339 Music Glossary:
340 @rglos{custos}.
341
342 Snippets:
343 @rlsr{Ancient notation}.
344
345 Internals Reference:
346 @rinternals{Custos}.
347
348
349 @node Figured bass support
350 @unnumberedsubsubsec Figured bass support
351
352 There is limited support for figured bass notation from the
353 Baroque period; see @ref{Figured bass}.
354
355 @seealso
356 Music Glossary:
357 @rglos{figured bass}.
358
359 Notation Reference:
360 @ref{Figured bass}.
361
362
363 @node Typesetting mensural music
364 @subsection Typesetting mensural music
365
366 @menu
367 * Mensural contexts::
368 * Mensural clefs::
369 * Mensural time signatures::
370 * Mensural note heads::
371 * Mensural flags::
372 * Mensural rests::
373 * Mensural accidentals and key signatures::
374 * Annotational accidentals (musica ficta)::
375 * White mensural ligatures::
376 @end menu
377
378
379 @node Mensural contexts
380 @unnumberedsubsubsec Mensural contexts
381
382 @cindex MensuralVoiceContext
383 @cindex MensuralStaffContext
384
385 The predefined @code{MensuralVoice} and @code{MensuralStaff}
386 contexts can be used to engrave a piece in mensural style.  These
387 contexts initialize all relevant context properties and grob
388 properties to proper values, so you can immediately go ahead
389 entering the chant, as the following excerpt demonstrates:
390
391 @lilypond[quote,ragged-right,verbatim]
392 \score {
393   <<
394     \new MensuralVoice = "discantus" \transpose c c' {
395       \override Score.BarNumber #'transparent = ##t {
396         c'1\melisma bes a g\melismaEnd
397         f\breve
398         \[ f1\melisma a c'\breve d'\melismaEnd \]
399         c'\longa
400         c'\breve\melisma a1 g1\melismaEnd
401         fis\longa^\signumcongruentiae
402       }
403     }
404     \new Lyrics \lyricsto "discantus" {
405       San -- ctus, San -- ctus, San -- ctus
406     }
407   >>
408 }
409 @end lilypond
410
411 @seealso
412 Music Glossary:
413 @rglos{mensural notation}.
414
415
416 @node Mensural clefs
417 @unnumberedsubsubsec Mensural clefs
418
419 @cindex clefs
420
421 The following table shows all mensural clefs that are supported via
422 the @code{\clef} command.  Some of the clefs use the same glyph,
423 but differ only with respect to the line they are printed on.  In
424 such cases, a trailing number in the name is used to enumerate
425 these clefs, numbered from the lowest to the highest line.  Still,
426 you can manually force a clef glyph to be typeset on an arbitrary
427 line, as described in @ref{Clef}.  The note printed to the right
428 side of each clef in the example column denotes the @code{c'} with
429 respect to that clef.
430
431 Petrucci used C clefs with differently balanced left-side vertical
432 beams, depending on which staff line it is printed.
433
434 @multitable @columnfractions .4 .4 .2
435 @item
436 @b{Description}
437 @tab
438 @b{Supported Clefs}
439 @tab
440 @b{Example}
441
442 @item
443 mensural C clef
444 @tab
445 @code{mensural-c1}, @code{mensural-c2},@*
446 @code{mensural-c3}, @code{mensural-c4}
447 @tab
448 @lilypond[relative=1,notime]
449   \clef "mensural-c2"
450   \override NoteHead #'style = #'mensural
451   c
452 @end lilypond
453
454 @item
455 mensural F clef
456 @tab
457 @code{mensural-f}
458 @tab
459 @lilypond[relative=1,notime]
460   \clef "mensural-f"
461   \override NoteHead #'style = #'mensural
462   c
463 @end lilypond
464
465 @item
466 mensural G clef
467 @tab
468 @code{mensural-g}
469 @tab
470 @lilypond[relative=1,notime]
471   \clef "mensural-g"
472   \override NoteHead #'style = #'mensural
473   c
474 @end lilypond
475
476 @item
477 neomensural C clef
478 @tab
479 @code{neomensural-c1}, @code{neomensural-c2},@*
480 @code{neomensural-c3}, @code{neomensural-c4}
481 @tab
482 @lilypond[relative=1,notime]
483   \clef "neomensural-c2" c
484 @end lilypond
485
486 @item
487 petrucci style C clefs, for use on different staff lines
488 (the example shows the 2nd staff line C clef)
489 @tab
490 @code{petrucci-c1}, @code{petrucci-c2},@*
491 @code{petrucci-c3}, @code{petrucci-c4},@*
492 @code{petrucci-c5}
493 @tab
494 @lilypond[relative=1,notime]
495   \clef "petrucci-c2"
496   \override NoteHead #'style = #'mensural
497   c
498 @end lilypond
499
500 @item
501 petrucci style F clefs, for use on different staff lines
502 (the example shows the 3rd staff line F clef)
503 @tab
504 @code{petrucci-f3}, @code{petrucci-f4},@*
505 @code{petrucci-f5}
506 @tab
507 @lilypond[relative=1,notime]
508   \clef "petrucci-f3"
509   \override NoteHead #'style = #'mensural
510   c
511 @end lilypond
512
513 @item
514 petrucci style G clef
515 @tab
516 @code{petrucci-g}
517 @tab
518 @lilypond[relative=1,notime]
519   \clef "petrucci-g"
520   \override NoteHead #'style = #'mensural
521   c
522 @end lilypond
523 @end multitable
524
525 @seealso
526 Music Glossary:
527 @rglos{mensural notation},
528 @rglos{clef}.
529
530 Notation Reference:
531 @ref{Clef}.
532
533 @knownissues
534 The mensural g clef is mapped to the Petrucci g clef.
535
536
537 @node Mensural time signatures
538 @unnumberedsubsubsec Mensural time signatures
539
540 @cindex mensuration sign
541 @cindex time signatures
542
543 There is limited support for mensuration signs (which are similar to,
544 but not exactly the same as time signatures).  The glyphs are hard-wired
545 to particular time fractions.  In other words, to get a particular mensuration sign with the @code{\time n/m} command, @code{n} and
546 @code{m} have to be chosen according to the following table
547
548 @lilypond[quote,ragged-right]
549 \layout {
550   indent = 0.0
551   \context {
552     \Staff
553     \remove Staff_symbol_engraver
554     \remove Clef_engraver
555     \remove Time_signature_engraver
556   }
557 }
558 {
559   \set Score.timing = ##f
560   \set Score.barAlways = ##t
561   s_\markup { "\\time 4/4" }^\markup { "       " \musicglyph
562 #"timesig.neomensural44" }
563   s
564   s_\markup { "\\time 2/2" }^\markup { "       " \musicglyph
565 #"timesig.neomensural22" }
566   s
567   s_\markup { "\\time 6/4" }^\markup { "       " \musicglyph
568 #"timesig.neomensural64" }
569   s
570   s_\markup { "\\time 6/8" }^\markup { "       " \musicglyph
571 #"timesig.neomensural68" }
572   \break
573   s_\markup { "\\time 3/2" }^\markup { "       " \musicglyph
574 #"timesig.neomensural32" }
575   s
576   s_\markup { "\\time 3/4" }^\markup { "       " \musicglyph
577 #"timesig.neomensural34" }
578   s
579   s_\markup { "\\time 9/4" }^\markup { "       " \musicglyph
580 #"timesig.neomensural94" }
581   s
582   s_\markup { "\\time 9/8" }^\markup { "       " \musicglyph
583 #"timesig.neomensural98" }
584   \break
585   s_\markup { "\\time 4/8" }^\markup { "       " \musicglyph
586 #"timesig.neomensural48" }
587   s
588   s_\markup { "\\time 2/4" }^\markup { "       " \musicglyph
589 #"timesig.neomensural24" }
590 }
591 @end lilypond
592
593 Use the @code{style} property of grob @code{TimeSignature}
594 to select ancient time signatures.  Supported styles are
595 @code{neomensural} and @code{mensural}.  The above table uses the
596 @code{neomensural} style.  The following examples show the
597 differences in style:
598
599 @lilypond[ragged-right,relative=1,quote]
600 {
601   \textLengthOn
602
603   \time 2/2
604   c1^\markup { \hspace #-2.0 \typewriter default }
605
606   \override Staff.TimeSignature #'style = #'numbered
607   \time 2/2
608   c1^\markup { \hspace #-2.0 \typewriter numbered }
609
610   \override Staff.TimeSignature #'style = #'mensural
611   \time 2/2
612   c1^\markup { \hspace #-2.0 \typewriter mensural }
613
614   \override Staff.TimeSignature #'style = #'neomensural
615   \time 2/2
616   c1^\markup { \hspace #-2.0 \typewriter neomensural }
617   \override Staff.TimeSignature #'style = #'single-digit
618   \time 2/2
619   c1^\markup { \hspace #-2.0 \typewriter single-digit }
620 }
621 @end lilypond
622
623 @ref{Time signature}, gives a general introduction to
624 the use of time signatures.
625
626 @seealso
627 Music Glossary:
628 @rglos{mensural notation}.
629
630 Notation Reference:
631 @ref{Time signature}.
632
633 @knownissues
634 Ratios of note durations cannot change with the time signature,
635 as those are not constant.  For
636 example, the ratio of 1@tie{}breve = 3@tie{}semibreves
637 (@emph{tempus perfectum}) can be made by hand, by setting
638
639 @example
640 breveTP = #(ly:make-duration -1 0 3 2)
641 @dots{}
642 @{ c\breveTP f1 @}
643 @end example
644
645 @noindent
646 This sets @code{breveTP} to 3/2 times 2 = 3 times a whole note.
647
648 The @code{mensural68alt} and @code{neomensural68alt} symbols
649 (alternate symbols for 6/8) are not addressable with @code{\time}.
650 Use @code{\markup @{\musicglyph #"timesig.mensural68alt" @}} instead.
651
652
653 @node Mensural note heads
654 @unnumberedsubsubsec Mensural note heads
655
656 @cindex note heads, ancient
657
658 For ancient notation, a note head style other than the
659 @code{default} style may be chosen.  This is accomplished by setting
660 the @code{style} property of the @code{NoteHead} object to
661 @code{baroque}, @code{neomensural}, @code{mensural},
662 @code{petrucci}, @code{blackpetrucci} or @code{semipetrucci}.
663
664 The @code{baroque} style differs from the @code{default} style by:
665
666 @itemize
667 @item Providing a @code{maxima} note head, and
668 @item Using a square shape for @code{\breve} note heads.
669 @end itemize
670
671 The @code{neomensural}, @code{mensural}, and @code{petrucci} styles
672 differ from the @code{baroque} style by:
673
674 @itemize
675 @item Using rhomboidal heads for semibreves and all smaller durations,
676 and
677 @item Centering the stems on the note heads.
678 @end itemize
679
680 The @code{blackpetrucci} style produces note heads usable in black
681 mensural notation or coloratio sections in white mensural notation.
682 Because note head style does not influence flag count, in
683 this style a semiminima should be notated as @code{a8*2}, not
684 @code{a4}, otherwise it will look like a minima.
685 The multiplyer can be different if coloratio is used e.g. to notate
686 triplets.
687
688 Use @code{semipetrucci} style to draw half-colored
689 note heads (breves, longas and maximas).
690
691
692 The following example demonstrates the @code{petrucci} style:
693
694 @c Renaissance music doesn't use bar lines ...  but they do help to
695 @c separate the notes for easier identification.
696
697 @lilypond[quote,fragment,ragged-right,verbatim]
698 \set Score.skipBars = ##t
699 \autoBeamOff
700 \override NoteHead #'style = #'petrucci
701 a'\maxima a'\longa a'\breve a'1 a'2 a'4 a'8 a'16 a'
702 \override NoteHead #'style = #'semipetrucci
703 a'\breve*5/6
704 \override NoteHead #'style = #'blackpetrucci
705 a'8*4/3 a'
706 \override NoteHead #'style = #'petrucci
707 a'\longa
708 @end lilypond
709
710
711 @ref{Note head styles}, gives an overview of all available note head
712 styles.
713
714 @seealso
715 Music Glossary:
716 @rglos{mensural notation},
717 @rglos{note head}.
718
719 Notation Reference:
720 @ref{Note head styles}.
721
722
723 @node Mensural flags
724 @unnumberedsubsubsec Mensural flags
725
726 @cindex flags
727
728 Use the @code{flag-style} property of grob @code{Stem} to
729 select ancient flags.  Besides the @code{default} flag style,
730 only the @code{mensural} style is supported.
731
732 @lilypond[quote,fragment,ragged-right,verbatim]
733 \override Flag #'style = #'mensural
734 \override Stem #'thickness = #1.0
735 \override NoteHead #'style = #'mensural
736 \autoBeamOff
737 c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
738 c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
739 @end lilypond
740
741 Note that the innermost flare of each mensural flag always is
742 vertically aligned with a staff line.
743
744 There is no particular flag style for neo-mensural or Petrucci notation.
745 @c Hence,
746 @c when typesetting the incipit of a transcribed piece of mensural
747 @c music, the default flag style should be used.
748 There are no flags in Gregorian chant notation.
749
750 @seealso
751 Music Glossary:
752 @rglos{mensural notation},
753 @rglos{flag}.
754
755 @knownissues
756 The attachment of ancient flags to stems is slightly off.
757 @c due to a change in early 2.3.x.
758
759 Vertically aligning each flag with a staff line assumes that stems
760 always end either exactly on or exactly in the middle between two
761 staff lines.  This may not always be true when using advanced layout
762 features of classical notation (which however are typically out of
763 scope for mensural notation).
764
765
766 @node Mensural rests
767 @unnumberedsubsubsec Mensural rests
768
769 @cindex rests, ancient
770
771 Use the @code{style} property of grob @code{Rest} to select
772 ancient rests.  Supported styles are @code{classical},
773 @code{neomensural}, and @code{mensural}.  @code{classical} differs
774 from the @code{default} style only in that the quarter rest looks
775 like a horizontally mirrored 8th rest.  The @code{mensural} and
776 the @code{neomensural} styles mimic the appearance of rests in
777 manuscripts and prints up to the 16th century.
778
779 The following example demonstrates the @code{mensural} and
780 @code{neomensural} styles:
781
782 @lilypond[quote,fragment,ragged-right,verbatim]
783 \set Score.skipBars = ##t
784 \override Rest #'style = #'classical
785 r\longa^"classical" r\breve r1 r2 r4 r8 r16 s \break
786 \override Rest #'style = #'mensural
787 r\longa^"mensural" r\breve r1 r2 r4 r8 r16 s \break
788 \override Rest #'style = #'neomensural
789 r\longa^"neomensural" r\breve r1 r2 r4 r8 r16
790 @end lilypond
791
792 There are no 32th and 64th rests specifically for the mensural or
793 neo-mensural style.  Instead, the rests from the default style will be
794 taken.
795
796 @seealso
797 Music Glossary:
798 @rglos{mensural notation}.
799
800 Notation Reference:
801 @ref{Rests}.
802
803 Snippets:
804 @rlsr{Ancient notation}.
805
806 @knownissues
807 The glyph for the maxima rest in mensural style is actually a perfect
808 longa rest; use two (or three) longa rests to print a maxima rest.
809 Longa rests are not grouped automatically, so have to be done manually by
810 using pitched rests.
811
812
813 @node Mensural accidentals and key signatures
814 @unnumberedsubsubsec Mensural accidentals and key signatures
815
816 @cindex accidentals
817 @cindex key signature
818
819 The @code{mensural} style provides a sharp and a flat sign
820 different from the default style.  If called for, the natural sign
821 will be taken from the @code{vaticana} style.
822
823 @lilypond[quote,ragged-right,staffsize=26]
824 \markup {
825   \column {
826     "mensural"
827     \line { " " \musicglyph #"accidentals.mensural-1"
828       " " \musicglyph #"accidentals.mensural1" }
829   }
830 }
831 @end lilypond
832
833 The style for accidentals and key signatures is controlled by the
834 @code{glyph-name-alist} property of the grobs @code{Accidental} and
835 @code{KeySignature}, respectively; e.g.:
836
837 @code{\override Staff.Accidental #'glyph-name-alist =
838 #alteration-mensural-glyph-name-alist}
839
840 @seealso
841 Music Glossary:
842 @rglos{mensural notation},
843 @rglos{Pitch names},
844 @rglos{accidental},
845 @rglos{key signature}.
846
847 Notation Reference:
848 @ref{Pitches},
849 @ref{Accidentals},
850 @ref{Automatic accidentals},
851 @ref{Key signature}.
852
853 Internals Reference:
854 @rinternals{KeySignature}.
855
856
857 @node Annotational accidentals (musica ficta)
858 @unnumberedsubsubsec Annotational accidentals (@emph{musica ficta})
859
860 In European music from before about 1600, singers were expected to
861 chromatically alter notes at their own initiative according to
862 certain rules.  This is called @notation{musica ficta}.  In modern
863 transcriptions, these accidentals are usually printed over the
864 note.
865
866 @cindex Accidental, musica ficta
867 @cindex Musica ficta
868
869 Support for such suggested accidentals is included, and can be
870 switched on by setting @code{suggestAccidentals} to true.
871
872 @funindex suggestAccidentals
873
874 @lilypond[verbatim,relative=1]
875 fis gis
876 \set suggestAccidentals = ##t
877 ais bis
878 @end lilypond
879
880 This will treat @emph{every} subsequent accidental as
881 @emph{musica ficta} until it is unset with
882 @code{\set suggestAccidentals = ##f}.  A more practical way is to
883 use @code{\once \set suggestAccidentals = ##t}, which can even be
884 defined as a convenient shorthand:
885
886 @lilypond[quote,verbatim]
887 ficta = { \once \set suggestAccidentals = ##t }
888 \score { \relative c''
889   \new MensuralVoice  {
890         \once \set suggestAccidentals = ##t
891   bes4 a2 g2 \ficta fis8 \ficta e! fis2 g1
892   }
893 }
894 @end lilypond
895
896 @seealso
897 Internals Reference:
898 @rinternals{Accidental_engraver},
899 @rinternals{AccidentalSuggestion}.
900
901
902 @node White mensural ligatures
903 @unnumberedsubsubsec White mensural ligatures
904
905 @cindex Mensural ligatures
906 @cindex White mensural ligatures
907
908 There is limited support for white mensural ligatures.
909
910 To engrave white mensural ligatures, in the layout block, replace
911 the @code{Ligature_bracket_engraver} with the
912 @code{Mensural_ligature_engraver} in the @code{Voice}
913 context:
914
915 @example
916 \layout @{
917   \context @{
918     \Voice
919     \remove Ligature_bracket_engraver
920     \consists Mensural_ligature_engraver
921   @}
922 @}
923 @end example
924
925 There is no additional input language to describe the shape of a
926 white mensural ligature.  The shape is rather determined solely from
927 the pitch and duration of the enclosed notes.  While this approach may
928 take a new user a while to get accustomed to, it has the great advantage
929 that the full musical information of the ligature is known internally.
930 This is not only required for correct MIDI output, but also allows for
931 automatic transcription of the ligatures.
932
933 At certain places two consecutive notes can be represented either as
934 two squares or as an oblique parallelogram (flexa shape).  In such
935 cases the default is the two squares, but a flexa can be required by
936 setting the @code{ligature-flexa} property of the @emph{second} note
937 head.  The length of a flexa can be set by the note head property
938 @code{flexa-width}.
939
940 For example,
941
942 @c @example
943 @c \set Score.timing = ##f
944 @c \set Score.defaultBarType = "empty"
945 @c \override NoteHead #'style = #'neomensural
946 @c \override Staff.TimeSignature #'style = #'neomensural
947 @c \clef "petrucci-g"
948 @c \[ c'\maxima g \]
949 @c \[ d\longa c\breve f e d \]
950 @c \[ c'\maxima d'\longa \]
951 @c \[ e'1 a g\breve \]
952 @c @end example
953 @lilypond[quote,ragged-right,verbatim]
954 \score {
955   \transpose c c' {
956     \set Score.timing = ##f
957     \set Score.defaultBarType = "empty"
958     \override NoteHead #'style = #'petrucci
959     \override Staff.TimeSignature #'style = #'mensural
960     \clef "petrucci-g"
961     \[ c'\maxima g \]
962     \[ d\longa
963        \override NoteHead #'ligature-flexa = ##t
964        \once \override NoteHead #'flexa-width = #3.2
965        c\breve f e d \]
966     \[ c'\maxima d'\longa \]
967     \[ e'1 a g\breve \]
968   }
969   \layout {
970     \context {
971       \Voice
972       \remove Ligature_bracket_engraver
973       \consists Mensural_ligature_engraver
974     }
975   }
976 }
977 @end lilypond
978
979 Without replacing @code{Ligature_bracket_engraver} with
980 @code{Mensural_ligature_engraver}, the same music transcribes
981 to the following
982
983 @lilypond[quote,ragged-right]
984 \transpose c c' {
985   \set Score.timing = ##f
986   \set Score.defaultBarType = "empty"
987   \override NoteHead #'style = #'petrucci
988   \override Staff.TimeSignature #'style = #'mensural
989   \clef "petrucci-g"
990   \[ c'\maxima g \]
991   \[ d\longa
992      \override NoteHead #'ligature-flexa = ##t
993      \once \override NoteHead #'flexa-width = #3.2
994      c\breve f e d \]
995   \[ c'\maxima d'\longa \]
996   \[ e'1 a g\breve \]
997 }
998 @end lilypond
999
1000 @seealso
1001 Music Glossary:
1002 @rglos{ligature}.
1003
1004 Notation Reference:
1005 @ref{Gregorian square neume ligatures},
1006 @ref{Ligatures}.
1007
1008 @knownissues
1009 Horizontal spacing of ligatures is poor.
1010 Accidentals may collide with previous notes.
1011
1012
1013 @node Typesetting Gregorian chant
1014 @subsection Typesetting Gregorian chant
1015
1016 @menu
1017 * Gregorian chant contexts::
1018 * Gregorian clefs::
1019 * Gregorian accidentals and key signatures::
1020 * Divisiones::
1021 * Gregorian articulation signs::
1022 * Augmentum dots (morae)::
1023 * Gregorian square neume ligatures::
1024 @end menu
1025
1026 When typesetting a piece in Gregorian chant notation, the
1027 @code{Vaticana_ligature_engraver} automatically selects the
1028 proper note heads, so there is no need to explicitly set the note
1029 head style.  Still, the note head style can be set, e.g., to
1030 @code{vaticana_punctum} to produce punctum neumes.  Similarly, the
1031 @code{Mensural_ligature_engraver} automatically assembles
1032 mensural ligatures.
1033
1034 @seealso
1035 Music Glossary:
1036 @rglos{ligature}.
1037
1038 Notation Reference:
1039 @ref{White mensural ligatures},
1040 @ref{Ligatures}.
1041
1042
1043 @node Gregorian chant contexts
1044 @unnumberedsubsubsec Gregorian chant contexts
1045
1046 @cindex VaticanaVoiceContext
1047 @cindex VaticanaStaffContext
1048
1049 The predefined @code{VaticanaVoiceContext} and
1050 @code{VaticanaStaffContext} can be used to engrave a piece of
1051 Gregorian chant in the style of the Editio Vaticana.  These contexts
1052 initialize all relevant context properties and grob properties to
1053 proper values, so you can immediately go ahead entering the chant, as
1054 the following excerpt demonstrates:
1055
1056 @lilypond[quote,ragged-right,verbatim]
1057 \include "gregorian.ly"
1058 \score {
1059   <<
1060     \new VaticanaVoice = "cantus" {
1061       \[ c'\melisma c' \flexa a \]
1062       \[ a \flexa \deminutum g\melismaEnd \]
1063       f \divisioMinima
1064       \[ f\melisma \pes a c' c' \pes d'\melismaEnd \]
1065       c' \divisioMinima \break
1066       \[ c'\melisma c' \flexa a \]
1067       \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
1068     }
1069     \new Lyrics \lyricsto "cantus" {
1070       San- ctus, San- ctus, San- ctus
1071     }
1072   >>
1073 }
1074 @end lilypond
1075
1076
1077 @c @seealso
1078 @c TODO: nothing here yet ...
1079
1080
1081 @node Gregorian clefs
1082 @unnumberedsubsubsec Gregorian clefs
1083
1084 @cindex clefs
1085
1086 The following table shows all Gregorian clefs that are supported via
1087 the @code{\clef} command.  Some of the clefs use the same glyph,
1088 but differ only with respect to the line they are printed on.  In
1089 such cases, a trailing number in the name is used to enumerate
1090 these clefs, numbered from the lowest to the highest line.  Still,
1091 you can manually force a clef glyph to be typeset on an arbitrary
1092 line, as described in @ref{Clef}.  The note printed to the right
1093 side of each clef in the example column denotes the @code{c'} with
1094 respect to that clef.
1095
1096 @multitable @columnfractions .4 .4 .2
1097 @item
1098 @b{Description}
1099 @tab
1100 @b{Supported Clefs}
1101 @tab
1102 @b{Example}
1103
1104 @item
1105 Editio Vaticana style do clef
1106 @tab
1107 @code{vaticana-do1}, @code{vaticana-do2},@*
1108 @code{vaticana-do3}
1109 @tab
1110 @lilypond[relative=1,notime]
1111   \override Staff.StaffSymbol #'line-count = #4
1112   \override Staff.StaffSymbol #'color = #red
1113   \override Staff.LedgerLineSpanner #'color = #red
1114   \override Voice.Stem #'transparent = ##t
1115   \override Voice.Flag #'transparent = ##t
1116   \override NoteHead #'style = #'vaticana.punctum
1117   \clef "vaticana-do2"
1118   c
1119 @end lilypond
1120
1121 @item
1122 Editio Vaticana style fa clef
1123 @tab
1124 @code{vaticana-fa1}, @code{vaticana-fa2}
1125 @tab
1126 @lilypond[relative=1,notime]
1127   \override Staff.StaffSymbol #'line-count = #4
1128   \override Staff.StaffSymbol #'color = #red
1129   \override Staff.LedgerLineSpanner #'color = #red
1130   \override Voice.Stem #'transparent = ##t
1131   \override Voice.Flag #'transparent = ##t
1132   \override NoteHead #'style = #'vaticana.punctum
1133   \clef "vaticana-fa2"
1134   c
1135 @end lilypond
1136
1137 @item
1138 Editio Medicaea style do clef
1139 @tab
1140 @code{medicaea-do1}, @code{medicaea-do2},@*
1141 @code{medicaea-do3}
1142 @tab
1143 @lilypond[relative=1,notime]
1144   \override Staff.StaffSymbol #'line-count = #4
1145   \override Staff.StaffSymbol #'color = #red
1146   \override Staff.LedgerLineSpanner #'color = #red
1147   \override Voice.Stem #'transparent = ##t
1148   \override Voice.Flag #'transparent = ##t
1149   \override NoteHead #'style = #'medicaea.punctum
1150   \clef "medicaea-do2"
1151   c
1152 @end lilypond
1153
1154 @item
1155 Editio Medicaea style fa clef
1156 @tab
1157 @code{medicaea-fa1}, @code{medicaea-fa2}
1158 @tab
1159 @lilypond[relative=1,notime]
1160   \override Staff.StaffSymbol #'line-count = #4
1161   \override Staff.StaffSymbol #'color = #red
1162   \override Staff.LedgerLineSpanner #'color = #red
1163   \override Voice.Stem #'transparent = ##t
1164   \override Voice.Flag #'transparent = ##t
1165   \override NoteHead #'style = #'medicaea.punctum
1166   \clef "medicaea-fa2"
1167   c
1168 @end lilypond
1169
1170 @item
1171 hufnagel style do clef
1172 @tab
1173 @code{hufnagel-do1}, @code{hufnagel-do2},@*
1174 @code{hufnagel-do3}
1175 @tab
1176 @lilypond[relative=1,notime]
1177   \override Staff.StaffSymbol #'line-count = #4
1178   \override Staff.StaffSymbol #'color = #red
1179   \override Staff.LedgerLineSpanner #'color = #red
1180   \override Voice.Stem #'transparent = ##t
1181   \override Voice.Flag #'transparent = ##t
1182   \override NoteHead #'style = #'hufnagel.punctum
1183   \clef "hufnagel-do2"
1184   c
1185 @end lilypond
1186
1187 @item
1188 hufnagel style fa clef
1189 @tab
1190 @code{hufnagel-fa1}, @code{hufnagel-fa2}
1191 @tab
1192 @lilypond[relative=1,notime]
1193   \override Staff.StaffSymbol #'line-count = #4
1194   \override Staff.StaffSymbol #'color = #red
1195   \override Staff.LedgerLineSpanner #'color = #red
1196   \override Voice.Stem #'transparent = ##t
1197   \override Voice.Flag #'transparent = ##t
1198   \override NoteHead #'style = #'hufnagel.punctum
1199   \clef "hufnagel-fa2"
1200   c
1201 @end lilypond
1202
1203 @item
1204 hufnagel style combined do/fa clef
1205 @tab
1206 @code{hufnagel-do-fa}
1207 @tab
1208 @lilypond[relative=1,notime]
1209   \override Staff.StaffSymbol #'color = #red
1210   \override Staff.LedgerLineSpanner #'color = #red
1211   \override Voice.Stem #'transparent = ##t
1212   \override Voice.Flag #'transparent = ##t
1213   \override NoteHead #'style = #'hufnagel.punctum
1214   \clef "hufnagel-do-fa"
1215   c
1216 @end lilypond
1217 @end multitable
1218
1219 @seealso
1220 Music Glossary:
1221 @rglos{clef}.
1222
1223 Notation Reference:
1224 @ref{Clef}.
1225
1226
1227 @node Gregorian accidentals and key signatures
1228 @unnumberedsubsubsec Gregorian accidentals and key signatures
1229
1230 @cindex accidentals
1231 @cindex key signature
1232
1233 Accidentals for the three different Gregorian styles are available:
1234
1235 @lilypond[quote,ragged-right,staffsize=26]
1236 \markup {
1237   \column {
1238     "vaticana"
1239     \line { " " \musicglyph #"accidentals.vaticana-1"
1240       " " \musicglyph #"accidentals.vaticana0" }
1241   }
1242   \column {
1243     "medicaea"
1244     \line { " " \musicglyph #"accidentals.medicaea-1" }
1245   }
1246   \column {
1247     "hufnagel"
1248     \line { " " \musicglyph #"accidentals.hufnagel-1" }
1249   }
1250 }
1251 @end lilypond
1252
1253 As shown, not all accidentals are supported by each style.  When
1254 trying to access an unsupported accidental, LilyPond will switch to a
1255 different style.
1256
1257 @c @lilypondfile[verbatim,quote,texidoc,doctitle]
1258 @c {ancient-accidentals.ly}
1259
1260 The style for accidentals and key signatures is controlled by the
1261 @code{glyph-name-alist} property of the grobs @code{Accidental} and
1262 @code{KeySignature}, respectively; e.g.:
1263
1264 @code{\override Staff.Accidental #'glyph-name-alist =
1265 #alteration-mensural-glyph-name-alist}
1266
1267 @seealso
1268 Music Glossary:
1269 @rglos{accidental},
1270 @rglos{key signature}.
1271
1272 Notation Reference:
1273 @ref{Pitches},
1274 @ref{Accidentals},
1275 @ref{Automatic accidentals},
1276 @ref{Key signature}.
1277
1278 Internals Reference:
1279 @rinternals{KeySignature}.
1280
1281
1282 @node Divisiones
1283 @unnumberedsubsubsec Divisiones
1284
1285 @cindex divisio
1286 @cindex divisiones
1287 @cindex finalis
1288
1289 There are no rests in Gregorian chant notation; instead, it uses
1290 @ref{Divisiones}.
1291
1292 A @emph{divisio} (plural: @emph{divisiones}; Latin word for
1293 @q{division}) is a staff context symbol that is used to indicate
1294 the phrase and section structure of Gregorian music.  The musical
1295 meaning of @emph{divisio minima}, @emph{divisio maior}, and
1296 @emph{divisio maxima} can be characterized as short, medium, and
1297 long pause, somewhat like the breath marks from @ref{Breath marks}.
1298 The  @emph{finalis} sign not only marks the end of a chant, but is
1299 also frequently used within a single antiphonal/responsorial chant
1300 to mark the end of each section.
1301
1302 To use divisiones, include the file @file{gregorian.ly}.  It
1303 contains definitions that you can apply by just inserting
1304 @code{\divisioMinima}, @code{\divisioMaior}, @code{\divisioMaxima},
1305 and @code{\finalis} at proper places in the input.  Some editions use
1306 @emph{virgula} or @emph{caesura} instead of divisio minima.
1307 Therefore, @file{gregorian.ly} also defines @code{\virgula} and
1308 @code{\caesura}
1309
1310 @lilypond[quote,ragged-right]
1311 \include "gregorian.ly"
1312 \score {
1313   <<
1314     \context VaticanaVoice {
1315       \override TextScript  #'padding = #3
1316       g a g
1317       s^\markup { "divisio minima" }
1318       \divisioMinima
1319       g a g
1320       s^\markup { "divisio maior" }
1321       \divisioMaior
1322       g a g
1323       s^\markup { "divisio maxima" }
1324       \divisioMaxima
1325       \break
1326       g a g
1327       s^\markup { "finalis" }
1328       \finalis
1329       g a g
1330       s^\markup { "virgula" }
1331       \virgula
1332       g a g
1333       s^\markup { "caesura" }
1334       \caesura
1335       g a g
1336     }
1337   >>
1338 }
1339 @end lilypond
1340
1341
1342 @predefined
1343 @funindex \virgula
1344 @code{\virgula},
1345 @funindex \caesura
1346 @code{\caesura},
1347 @funindex \divisioMinima
1348 @code{\divisioMinima},
1349 @funindex \divisioMaior
1350 @code{\divisioMaior},
1351 @funindex \divisioMaxima
1352 @code{\divisioMaxima},
1353 @funindex \finalis
1354 @code{\finalis}.
1355 @endpredefined
1356
1357 @seealso
1358 Music Glossary:
1359 @rglos{caesura},
1360 @rglos{divisio}.
1361
1362 Notation Reference:
1363 @ref{Breath marks}.
1364
1365 Installed Files:
1366 @file{ly/gregorian.ly}.
1367
1368
1369 @node Gregorian articulation signs
1370 @unnumberedsubsubsec Gregorian articulation signs
1371
1372 @cindex articulations
1373
1374 In addition to the standard articulation signs described in
1375 section @ref{Articulations and ornamentations}, articulation signs
1376 specifically designed for use with notation in
1377 @emph{Editio Vaticana} style are provided.
1378
1379 @lilypond[quote,ragged-right,verbatim]
1380 \include "gregorian.ly"
1381 \score {
1382   \new VaticanaVoice {
1383     \override TextScript #'font-family = #'typewriter
1384     \override TextScript #'font-shape = #'upright
1385     \override Script #'padding = #-0.1
1386     a\ictus_"ictus " \bar "" \break
1387     a\circulus_"circulus " \bar "" \break
1388     a\semicirculus_"semicirculus " \bar "" \break
1389     a\accentus_"accentus " \bar "" \break
1390     \[ a_"episema" \episemInitium \pes b \flexa a b \episemFinis \flexa a \]
1391   }
1392 }
1393 @end lilypond
1394
1395 @seealso
1396 Notation Reference:
1397 @ref{Articulations and ornamentations}.
1398
1399 Snippets:
1400 @rlsr{Ancient notation}.
1401
1402 Internals Reference:
1403 @rinternals{Episema},
1404 @rinternals{EpisemaEvent},
1405 @rinternals{Episema_engraver},
1406 @rinternals{Script},
1407 @rinternals{ScriptEvent},
1408 @rinternals{Script_engraver}.
1409
1410 @knownissues
1411 Some articulations are vertically placed too closely to the
1412 corresponding note heads.
1413
1414
1415 @node Augmentum dots (morae)
1416 @unnumberedsubsubsec Augmentum dots (@emph{morae})
1417
1418 Augmentum dots, also called @emph{morae}, are added with the music
1419 function @code{\augmentum}.  Note that @code{\augmentum} is
1420 implemented as a unary music function rather than as head prefix.  It
1421 applies to the immediately following music expression only.  That is,
1422 @code{\augmentum \virga c} will have no visible effect.  Instead, say
1423 @code{\virga \augmentum c} or @code{\augmentum @{\virga c@}}.  Also
1424 note that you can say @code{\augmentum @{a g@}} as a shortcut for
1425 @code{\augmentum a \augmentum g}.
1426
1427 @lilypond[quote,ragged-right,verbatim]
1428 \include "gregorian.ly"
1429 \score {
1430   \new VaticanaVoice {
1431     \[ \augmentum a \flexa \augmentum g \]
1432     \augmentum g
1433   }
1434 }
1435 @end lilypond
1436
1437 @seealso
1438 Notation Reference:
1439 @ref{Breath marks}.
1440
1441 Internals Reference:
1442 @rinternals{BreathingSign}.
1443
1444 Snippets:
1445 @rlsr{Ancient notation}.
1446
1447
1448 @node Gregorian square neume ligatures
1449 @unnumberedsubsubsec Gregorian square neume ligatures
1450
1451 @cindex Square neumes ligatures
1452 @cindex Gregorian square neumes ligatures
1453
1454 There is limited support for Gregorian square neumes notation
1455 (following the style of the Editio Vaticana).  Core ligatures can
1456 already be typeset, but essential issues for serious typesetting are
1457 still lacking, such as (among others) horizontal alignment of multiple
1458 ligatures, lyrics alignment, and proper handling of accidentals.
1459
1460 The support for Gregorian neumes is enabled by @code{\include}ing
1461 @file{gregorian.ly} at the beginning of the file.  This makes available
1462 a number of extra commands to produce the neume symbols used in
1463 plainchant notation.
1464
1465
1466
1467 Note heads can be @emph{modified} and/or @emph{joined}.
1468
1469 @itemize
1470 @item The shape of
1471 the note head can be modified by @emph{prefixing} the note name
1472 with any of the following commands:
1473 @funindex \virga
1474 @code{\virga},
1475 @funindex \stropha
1476 @code{\stropha},
1477 @funindex \inclinatum
1478 @code{\inclinatum},
1479 @funindex \auctum
1480 @code{\auctum},
1481 @funindex \descendens
1482 @code{\descendens},
1483 @funindex \ascendens
1484 @code{\ascendens},
1485 @funindex \oriscus
1486 @code{\oriscus},
1487 @funindex \quilisma
1488 @code{\quilisma},
1489 @funindex \deminutum
1490 @code{\deminutum},
1491 @funindex \cavum
1492 @code{\cavum},
1493 @funindex \linea
1494 @code{\linea}.
1495
1496 @item Ligatures, properly speaking (i.e. notes joined together), are
1497 produced by placing one of the joining commands @code{\pes} or
1498 @code{\flexa}, for upwards and downwards movement, respectively,
1499 @emph{between} the notes to be joined.
1500 @end itemize
1501
1502 A note name without any qualifiers will produce a @emph{punctum}.
1503 All other neumes, including the single-note neumes with a
1504 different shape such as the @emph{virga}, are in principle
1505 considered as ligatures and should therefore be placed
1506 between @code{\[...\]}.
1507 @c Regarding the @emph{punctum}, @code{b} and @code{\[ b \]} are
1508 @c equivalent.
1509
1510 @noindent
1511 Single-note neumes:
1512
1513 @itemize
1514 @item The @emph{punctum} is the basic note shape (in the
1515 @emph{Vaticana} style: a square with some curvation for
1516 typographical finesse).  In addition to the regular
1517 @emph{punctum}, there is also the oblique @emph{punctum
1518 inclinatum}, produced with the prefix @code{\inclinatum}.  The
1519 regular @emph{punctum} can be modified with @code{\cavum}, which
1520 produces a hollow note, and @code{\linea}, which draws vertical
1521 lines on either side of the note.
1522
1523 @item The @emph{virga} has a descending stem on the right side.  It is
1524 produced by the modifier @code{\virga}.
1525 @end itemize
1526
1527 @noindent
1528 Ligatures
1529
1530 Unlike most other neumes notation systems, the typographical
1531 appearance of ligatures is not directly dictated by the input
1532 commands, but follows certain conventions dependent on musical
1533 meaning.  For example, a three-note ligature with the musical shape
1534 low-high-low, such as @code{\[ a \pes b \flexa g \]}, produces a
1535 Torculus consisting of three Punctum heads, while the shape
1536 high-low-high, such as @code{\[ a \flexa g \pes b \]}, produces a
1537 Porrectus with a curved flexa shape and only a single Punctum
1538 head.  There is no command to explicitly typeset the curved flexa
1539 shape; the decision of when to typeset a curved flexa shape is
1540 based on the musical input.  The idea of this approach is to
1541 separate the musical aspects of the input from the notation style
1542 of the output.  This way, the same input can be reused to typeset
1543 the same music in a different style of Gregorian chant notation.
1544
1545 @noindent
1546 Liquescent neumes
1547
1548 Another main category of notes in Gregorian chant is the so-called
1549 liquescent neumes.  They are used under certain circumstances at
1550 the end of a syllable which ends in a @q{liquescent} letter, i.e.
1551 the sounding consonants that can hold a tone (the nasals, l, r, v,
1552 j, and their diphthong equivalents).  Thus, the liquescent neumes
1553 are never used alone (although some of them can be produced), and
1554 they always fall at the end of a ligature.
1555
1556 Liquescent neumes are represented graphically in two different,
1557 more or less interchangeable ways: with a smaller note or by
1558 @q{twisting} the main note upwards or downwards.  The first is
1559 produced by making a regular @code{pes} or @code{flexa} and
1560 modifying the shape of the second note:
1561 @code{\[ a \pes \deminutum b \] }, the second by modifying the shape
1562 of a single-note neume with @code{\auctum} and one of the direction
1563 markers @code{\descendens} or @code{\ascendens}, e.g.,
1564 @code{ \[ \auctum \descendens a \] }.
1565
1566 @noindent
1567 Special signs
1568
1569 A third category of signs is made up of a small number of signs
1570 with a special meaning (which, incidentally, in most cases is only
1571 vaguely known): the @emph{quilisma}, the @emph{oriscus}, and the
1572 @emph{strophicus}.  These are all produced by prefixing a note name
1573 with the corresponding modifier, @code{\quilisma},
1574 @code{\oriscus}, or @code{\stropha}.
1575
1576 Virtually, within the ligature delimiters @code{\[} and @code{\]},
1577 any number of heads may be accumulated to form a single ligature,
1578 and head prefixes like @code{\pes}, @code{\flexa}, @code{\virga},
1579 @code{\inclinatum}, etc. may be mixed in as desired.  The use of
1580 the set of rules that underlies the construction of the ligatures
1581 in the above table is accordingly extrapolated.  This way,
1582 infinitely many different ligatures can be created.
1583
1584 Note that the use of these signs in the music itself follows
1585 certain rules, which are not checked by LilyPond.  E.g., the
1586 @emph{quilisma} is always the middle note of an ascending
1587 ligature, and usually falls on a half-tone step, but it is
1588 perfectly possible, although incorrect, to make a single-note
1589 quilisma.
1590
1591 In addition to the note signs, @file{gregorian.ly} also defines the
1592 commands @code{\versus}, @code{\responsum}, @code{\ij},
1593 @code{\iij}, @code{\IJ}, and @code{\IIJ}, that will produce the
1594 corresponding characters, e.g., for use in lyrics, as section
1595 markers, etc.  These commands use special Unicode characters and
1596 will only work if a font is used which supports them.
1597
1598
1599 @c neume table
1600
1601 The following table shows a limited, but still representative pool
1602 of Gregorian ligatures, together with the code fragments that
1603 produce the ligatures.  The table is based on the extended neumes
1604 table of the 2nd volume of the Antiphonale Romanum
1605 (@emph{Liber Hymnarius}), published 1983 by the monks of Solesmes.
1606 The first column gives the name of the ligature, with the main form in
1607 boldface and the liquescent forms in italics.  The third column
1608 shows the code fragment that produces this ligature, using
1609 @code{g}, @code{a}, and @code{b} as example pitches.
1610
1611
1612 @b{Single-note neums}
1613
1614 @multitable @columnfractions .4 .2 .4
1615
1616 @item
1617 @b{Basic} and @emph{Liquescent} forms
1618 @tab
1619 @b{Output}
1620 @tab
1621 @b{LilyPond@*
1622 code}
1623
1624 @c TODO: \layout block is identical in all of the below examples.
1625 @c Therefore, it should somehow be included rather than duplicated all
1626 @c the time.  --jr
1627
1628 @c why not make variables in ly/engraver-init.ly? --hwn
1629
1630 @c Because it's just used to typeset plain notes without
1631 @c a staff for demonstration purposes rather than something
1632 @c special of Gregorian chant notation.  --jr
1633
1634
1635 @item
1636 @b{Punctum}
1637 @tab
1638 @lilypond[staffsize=26,line-width=1.5\cm]
1639 \include "gregorian.ly"
1640 \score {
1641   \transpose c c' {
1642     % Punctum
1643     \[ b \]
1644   }
1645 \layout { \neumeDemoLayout }}
1646 @end lilypond
1647 @tab
1648 @code{\[ b \]}
1649
1650 @item
1651 @tab
1652 @lilypond[staffsize=26,line-width=1.5\cm]
1653 \include "gregorian.ly"
1654 \score {
1655   \transpose c c' {
1656     % Punctum
1657     \[ \cavum b \]
1658   }
1659 \layout { \neumeDemoLayout }}
1660 @end lilypond
1661 @tab
1662 @code{\[ \cavum b \]}
1663
1664 @item
1665 @tab
1666 @lilypond[staffsize=26,line-width=1.5\cm]
1667 \include "gregorian.ly"
1668 \score {
1669   \transpose c c' {
1670     % Punctum
1671     \[ \linea b \]
1672   }
1673 \layout { \neumeDemoLayout }}
1674 @end lilypond
1675 @tab
1676 @code{\[ \linea b \]}
1677
1678 @item
1679 @emph{Punctum Auctum Ascendens}
1680 @tab
1681 @lilypond[staffsize=26,line-width=2.5\cm]
1682 \include "gregorian.ly"
1683 \score {
1684   \transpose c c' {
1685     % Punctum Auctum Ascendens
1686     \[ \auctum \ascendens b \]
1687   }
1688 \layout { \neumeDemoLayout }}
1689 @end lilypond
1690 @tab
1691 @code{\[ \auctum \ascendens b \]}
1692
1693 @item
1694 @emph{Punctum Auctum Descendens}
1695 @tab
1696 @lilypond[staffsize=26,line-width=2.5\cm]
1697 \include "gregorian.ly"
1698 \score {
1699   \transpose c c' {
1700     % Punctum Auctum Descendens
1701     \[ \auctum \descendens b \]
1702   }
1703 \layout { \neumeDemoLayout }}
1704 @end lilypond
1705 @tab
1706 @code{\[ \auctum \descendens b \]}
1707
1708 @item
1709 @b{Punctum inclinatum}
1710 @tab
1711 @lilypond[staffsize=26,line-width=1.5\cm]
1712 \include "gregorian.ly"
1713 \score {
1714   \transpose c c' {
1715     % Punctum Inclinatum
1716     \[ \inclinatum b \]
1717   }
1718 \layout { \neumeDemoLayout }}
1719 @end lilypond
1720 @tab
1721 @code{\[ \inclinatum b \]}
1722
1723 @item
1724 @emph{Punctum Inclinatum Auctum}
1725 @tab
1726 @lilypond[staffsize=26,line-width=2.5\cm]
1727 \include "gregorian.ly"
1728 \score {
1729   \transpose c c' {
1730     % Punctum Inclinatum Auctum
1731     \[ \inclinatum \auctum b \]
1732   }
1733 \layout { \neumeDemoLayout }}
1734 @end lilypond
1735 @tab
1736 @code{\[ \inclinatum \auctum b \]}
1737
1738 @item
1739 @emph{Punctum Inclinatum Parvum}
1740 @tab
1741 @lilypond[staffsize=26,line-width=1.0\cm]
1742 \include "gregorian.ly"
1743 \score {
1744   \transpose c c' {
1745     % Punctum Inclinatum Parvum
1746     \[ \inclinatum \deminutum b \]
1747   }
1748 \layout { \neumeDemoLayout }}
1749 @end lilypond
1750 @tab
1751 @code{\[ \inclinatum \deminutum b \]}
1752
1753 @item
1754 @b{Virga}
1755 @tab
1756 @lilypond[staffsize=26,line-width=1.0\cm]
1757 \include "gregorian.ly"
1758 \score {
1759   \transpose c c' {
1760     % Virga
1761     \[ \virga b \]
1762   }
1763 \layout { \neumeDemoLayout }}
1764 @end lilypond
1765 @tab
1766
1767 @end multitable
1768
1769 @noindent
1770 @b{Two-note ligatures}
1771
1772 @multitable @columnfractions .4 .2 .4
1773
1774 @item
1775 @b{Clivis vel Flexa}
1776 @tab
1777 @lilypond[staffsize=26,line-width=1.0\cm]
1778 \include "gregorian.ly"
1779 \score {
1780   \transpose c c' {
1781     % Clivis vel Flexa
1782     \[ b \flexa g \]
1783   }
1784 \layout { \neumeDemoLayout }}
1785 @end lilypond
1786 @tab
1787 @code{\[ b \flexa g \]}
1788
1789
1790 @item
1791 @emph{Clivis Aucta Descendens}
1792 @tab
1793 @lilypond[staffsize=26,line-width=2.0\cm]
1794 \include "gregorian.ly"
1795 \score {
1796   \transpose c c' {
1797     % Clivis Aucta Descendens
1798     \[ b \flexa \auctum \descendens g \]
1799   }
1800 \layout { \neumeDemoLayout }}
1801 @end lilypond
1802 @tab
1803 @code{\[ b \flexa \auctum \descendens g \]}
1804
1805 @item
1806 @emph{Clivis Aucta Ascendens}
1807 @tab
1808 @lilypond[staffsize=26,line-width=2.0\cm]
1809 \include "gregorian.ly"
1810 \score {
1811   \transpose c c' {
1812     % Clivis Aucta Ascendens
1813     \[ b \flexa \auctum \ascendens g \]
1814   }
1815 \layout { \neumeDemoLayout }}
1816 @end lilypond
1817 @tab
1818 @code{\[ b \flexa \auctum \ascendens g \]}
1819
1820 @item
1821 @emph{Cephalicus}
1822 @tab
1823 @lilypond[staffsize=26,line-width=2.0\cm]
1824 \include "gregorian.ly"
1825 \score {
1826   \transpose c c' {
1827     % Cephalicus
1828     \[ b \flexa \deminutum g \]
1829   }
1830 \layout { \neumeDemoLayout }}
1831 @end lilypond
1832 @tab
1833 @code{\[ b \flexa \deminutum g \]}
1834
1835 @item
1836 @b{Podatus/Pes}
1837 @tab
1838 @lilypond[staffsize=26,line-width=1.0\cm]
1839 \include "gregorian.ly"
1840 \score {
1841   \transpose c c' {
1842     % Podatus vel Pes
1843     \[ g \pes b \]
1844   }
1845 \layout { \neumeDemoLayout }}
1846 @end lilypond
1847 @tab
1848 @code{\[ g \pes b \]}
1849
1850 @item
1851 @emph{Pes Auctus Descendens}
1852 @tab
1853 @lilypond[staffsize=26,line-width=1.0\cm]
1854 \include "gregorian.ly"
1855 \score {
1856   \transpose c c' {
1857         % Pes Auctus Descendens
1858     \[ g \pes \auctum \descendens b \]
1859   }
1860 \layout { \neumeDemoLayout }}
1861 @end lilypond
1862 @tab
1863 @code{\[ g \pes \auctum \descendens b \]}
1864
1865 @item
1866 @emph{Pes Auctus Ascendens}
1867 @tab
1868 @lilypond[staffsize=26,line-width=1.0\cm]
1869 \include "gregorian.ly"
1870 \score {
1871   \transpose c c' {
1872     % Pes Auctus Ascendens
1873     \[ g \pes \auctum \ascendens b \]
1874   }
1875 \layout { \neumeDemoLayout }}
1876 @end lilypond
1877 @tab
1878 @code{\[ g \pes \auctum \ascendens b \]}
1879
1880 @item
1881 @emph{Epiphonus}
1882 @tab
1883 @lilypond[staffsize=26,line-width=1.0\cm]
1884 \include "gregorian.ly"
1885 \score {
1886   \transpose c c' {
1887         % Epiphonus
1888     \[ g \pes \deminutum b \]
1889   }
1890 \layout { \neumeDemoLayout }}
1891 @end lilypond
1892 @tab
1893 @code{\[ g \pes \deminutum b \]}
1894
1895 @item
1896 @emph{Pes Initio Debilis}
1897 @tab
1898 @lilypond[staffsize=26,line-width=1.0\cm]
1899 \include "gregorian.ly"
1900 \score {
1901   \transpose c c' {
1902     % Pes Initio Debilis
1903     \[ \deminutum g \pes b \]
1904   }
1905 \layout { \neumeDemoLayout }}
1906 @end lilypond
1907 @tab
1908 @code{\[ \deminutum g \pes b \]}
1909
1910 @item
1911 @emph{Pes Auctus Descendens Initio Debilis}
1912 @tab
1913 @lilypond[staffsize=26,line-width=1.0\cm]
1914 \include "gregorian.ly"
1915 \score {
1916   \transpose c c' {
1917     % Pes Auctus Descendens Initio Debilis
1918     \[ \deminutum g \pes \auctum \descendens b \]
1919   }
1920 \layout { \neumeDemoLayout }}
1921 @end lilypond
1922 @tab
1923 @code{\[ \deminutum g \pes \auctum \descendens b \]}
1924
1925 @end multitable
1926
1927 @noindent
1928 @b{Multi-note ligatures}
1929
1930 @multitable @columnfractions .4 .2 .4
1931
1932 @item
1933 @b{Torculus}
1934 @tab
1935 @lilypond[staffsize=26,line-width=1.0\cm]
1936 \include "gregorian.ly"
1937 \score {
1938   \transpose c c' {
1939     % Torculus
1940     \[ a \pes b \flexa g \]
1941   }
1942 \layout { \neumeDemoLayout }}
1943 @end lilypond
1944 @tab
1945 @code{\[ a \pes b \flexa g \]}
1946
1947 @item
1948 @emph{Torculus Auctus Descendens}
1949 @tab
1950 @lilypond[staffsize=26,line-width=1.0\cm]
1951 \include "gregorian.ly"
1952 \score {
1953   \transpose c c' {
1954         % Torculus Auctus Descendens
1955     \[ a \pes b \flexa \auctum \descendens g \]
1956   }
1957 \layout { \neumeDemoLayout }}
1958 @end lilypond
1959 @tab
1960 @code{\[ a \pes b \flexa \auctum \descendens g \]}
1961
1962 @item
1963 @emph{Torculus Deminutus}
1964 @tab
1965 @lilypond[staffsize=26,line-width=1.0\cm]
1966 \include "gregorian.ly"
1967 \score {
1968   \transpose c c' {
1969         % Torculus Deminutus
1970     \[ a \pes b \flexa \deminutum g \]
1971   }
1972 \layout { \neumeDemoLayout }}
1973 @end lilypond
1974 @tab
1975 @code{\[ a \pes b \flexa \deminutum g \]}
1976
1977 @item
1978 @emph{Torculus Initio Debilis}
1979 @tab
1980 @lilypond[staffsize=26,line-width=1.0\cm]
1981 \include "gregorian.ly"
1982 \score {
1983   \transpose c c' {
1984         % Torculus Initio Debilis
1985     \[ \deminutum a \pes b \flexa g \]
1986   }
1987 \layout { \neumeDemoLayout }}
1988 @end lilypond
1989 @tab
1990 @code{\[ \deminutum a \pes b \flexa g \]}
1991
1992 @item
1993 @emph{Torculus Auctus Descendens Initio Debilis}
1994 @tab
1995 @lilypond[staffsize=26,line-width=1.0\cm]
1996 \include "gregorian.ly"
1997 \score {
1998   \transpose c c' {
1999         % Torculus Auctus Descendens Initio Debilis
2000     \[ \deminutum a \pes b \flexa \auctum \descendens g \]
2001   }
2002 \layout { \neumeDemoLayout }}
2003 @end lilypond
2004 @tab
2005 @code{\[ \deminutum a \pes b \flexa \auctum \descendens g \]}
2006
2007 @item
2008 @emph{Torculus Deminutus Initio Debilis}
2009 @tab
2010 @lilypond[staffsize=26,line-width=1.0\cm]
2011 \include "gregorian.ly"
2012 \score {
2013   \transpose c c' {
2014         % Torculus Deminutus Initio Debilis
2015     \[ \deminutum a \pes b \flexa \deminutum g \]
2016   }
2017 \layout { \neumeDemoLayout }}
2018 @end lilypond
2019 @tab
2020 @code{\[ \deminutum a \pes b \flexa \deminutum g \]}
2021
2022 @item
2023 @b{Porrectus}
2024 @tab
2025 @lilypond[staffsize=26,line-width=1.0\cm]
2026 \include "gregorian.ly"
2027 \score {
2028   \transpose c c' {
2029     % Porrectus
2030     \[ a \flexa g \pes b \]
2031   }
2032 \layout { \neumeDemoLayout }}
2033 @end lilypond
2034 @tab
2035 @code{\[ a \flexa g \pes b \]}
2036
2037 @item
2038 @emph{Porrectus Auctus Descendens}
2039 @tab
2040 @lilypond[staffsize=26,line-width=1.0\cm]
2041 \include "gregorian.ly"
2042 \score {
2043   \transpose c c' {
2044         % Porrectus Auctus Descendens
2045     \[ a \flexa g \pes \auctum \descendens b \]
2046   }
2047 \layout { \neumeDemoLayout }}
2048 @end lilypond
2049 @tab
2050 @code{\[ a \flexa g \pes \auctum \descendens b \]}
2051
2052 @item
2053 @emph{Porrectus Deminutus}
2054 @tab
2055 @lilypond[staffsize=26,line-width=1.0\cm]
2056 \include "gregorian.ly"
2057 \score {
2058   \transpose c c' {
2059         % Porrectus Deminutus
2060     \[ a \flexa g \pes \deminutum b \]
2061   }
2062 \layout { \neumeDemoLayout }}
2063 @end lilypond
2064 @tab
2065 @code{\[ a \flexa g \pes \deminutum b \]}
2066
2067 @item
2068 @b{Climacus}
2069 @tab
2070 @lilypond[staffsize=26,line-width=1.0\cm]
2071 \include "gregorian.ly"
2072 \score {
2073   \transpose c c' {
2074     % Climacus
2075     \[ \virga b \inclinatum a \inclinatum g \]
2076   }
2077 \layout { \neumeDemoLayout }}
2078 @end lilypond
2079 @tab
2080 @code{\[ \virga b \inclinatum a \inclinatum g \]}
2081
2082 @item
2083 @emph{Climacus Auctus}
2084 @tab
2085 @lilypond[staffsize=26,line-width=1.0\cm]
2086 \include "gregorian.ly"
2087 \score {
2088   \transpose c c' {
2089         % Climacus Auctus
2090     \[ \virga b \inclinatum a \inclinatum \auctum g \]
2091   }
2092 \layout { \neumeDemoLayout }}
2093 @end lilypond
2094 @tab
2095 @code{\[ \virga b \inclinatum a \inclinatum \auctum g \]}
2096
2097 @item
2098 @emph{Climacus Deminutus}
2099 @tab
2100 @lilypond[staffsize=26,line-width=1.0\cm]
2101 \include "gregorian.ly"
2102 \score {
2103   \transpose c c' {
2104         % Climacus Deminutus
2105     \[ \virga b \inclinatum a \inclinatum \deminutum g \]
2106   }
2107 \layout { \neumeDemoLayout }}
2108 @end lilypond
2109 @tab
2110 @code{\[ \virga b \inclinatum a \inclinatum \deminutum g \]}
2111
2112 @item
2113 @b{Scandicus}
2114 @tab
2115 @lilypond[staffsize=26,line-width=1.0\cm]
2116 \include "gregorian.ly"
2117 \score {
2118   \transpose c c' {
2119     % Scandicus
2120     \[ g \pes a \virga b \]
2121   }
2122 \layout { \neumeDemoLayout }}
2123 @end lilypond
2124 @tab
2125 @code{\[ g \pes a \virga b \]}
2126
2127 @item
2128 @emph{Scandicus Auctus Descendens}
2129 @tab
2130 @lilypond[staffsize=26,line-width=1.0\cm]
2131 \include "gregorian.ly"
2132 \score {
2133   \transpose c c' {
2134         % Scandicus Auctus Descendens
2135     \[ g \pes a \pes \auctum \descendens b \]
2136   }
2137 \layout { \neumeDemoLayout }}
2138 @end lilypond
2139 @tab
2140 @code{\[ g \pes a \pes \auctum \descendens b \]}
2141
2142 @item
2143 @emph{Scandicus Deminutus}
2144 @tab
2145 @lilypond[staffsize=26,line-width=1.0\cm]
2146 \include "gregorian.ly"
2147 \score {
2148   \transpose c c' {
2149         % Scandicus Deminutus
2150     \[ g \pes a \pes \deminutum b \]
2151   }
2152 \layout { \neumeDemoLayout }}
2153 @end lilypond
2154 @tab
2155 @code{\[ g \pes a \pes \deminutum b \]}
2156
2157 @end multitable
2158
2159 @noindent
2160 @b{Special Signs}
2161
2162 @multitable @columnfractions .4 .2 .4
2163
2164 @item
2165 @b{Quilisma}
2166 @tab
2167 @lilypond[staffsize=26,line-width=1.0\cm]
2168 \include "gregorian.ly"
2169 \score {
2170   \transpose c c' {
2171     % Quilisma
2172     \[ g \pes \quilisma a \pes b \]
2173   }
2174 \layout { \neumeDemoLayout }}
2175 @end lilypond
2176 @tab
2177 @code{\[ g \pes \quilisma a \pes b \]}
2178
2179 @item
2180 @emph{Quilisma Pes Auctus Descendens}
2181 @tab
2182 @lilypond[staffsize=26,line-width=1.0\cm]
2183 \include "gregorian.ly"
2184 \score {
2185   \transpose c c' {
2186     % Quilisma Pes Auctus Descendens
2187     \[ g \quilisma a \pes \auctum \descendens b \]
2188   }
2189 \layout { \neumeDemoLayout }}
2190 @end lilypond
2191 @tab
2192 @code{\[ \quilisma g \pes \auctum \descendens b \]}
2193
2194 @item
2195 @b{Oriscus}
2196 @tab
2197 @lilypond[staffsize=26,line-width=1.0\cm]
2198 \include "gregorian.ly"
2199 \score {
2200   \transpose c c' {
2201     % Oriscus
2202     \[ \oriscus b \]
2203   }
2204 \layout { \neumeDemoLayout }}
2205 @end lilypond
2206 @tab
2207 @code{\[ \oriscus b \]}
2208
2209 @item
2210 @emph{Pes Quassus}
2211 @tab
2212 @lilypond[staffsize=26,line-width=1.0\cm]
2213 \include "gregorian.ly"
2214 \score {
2215   \transpose c c' {
2216     % Pes Quassus
2217     \[ \oriscus g \pes \virga b \]
2218   }
2219 \layout { \neumeDemoLayout }}
2220 @end lilypond
2221 @tab
2222 @code{\[ \oriscus g \pes \virga b \]}
2223
2224 @item
2225 @emph{Pes Quassus Auctus Descendens}
2226 @tab
2227 @lilypond[staffsize=26,line-width=1.0\cm]
2228 \include "gregorian.ly"
2229 \score {
2230   \transpose c c' {
2231     % Pes Quassus Auctus Descendens
2232     \[ \oriscus g \pes \auctum \descendens b \]
2233   }
2234 \layout { \neumeDemoLayout }}
2235 @end lilypond
2236 @tab
2237 @code{\[ \oriscus g \pes \auctum \descendens b \]}
2238
2239 @item
2240 @b{Salicus}
2241 @tab
2242 @lilypond[staffsize=26,line-width=1.0\cm]
2243 \include "gregorian.ly"
2244 \score {
2245   \transpose c c' {
2246     % Salicus
2247     \[ g \oriscus a \pes \virga b \]
2248   }
2249 \layout { \neumeDemoLayout }}
2250 @end lilypond
2251 @tab
2252 @code{\[ g \oriscus a \pes \virga b \]}
2253
2254 @item
2255 @emph{Salicus Auctus Descendens}
2256 @tab
2257 @lilypond[staffsize=26,line-width=1.0\cm]
2258 \include "gregorian.ly"
2259 \score {
2260   \transpose c c' {
2261     % Salicus Auctus Descendens
2262     \[ g \oriscus a \pes \auctum \descendens b \]
2263   }
2264 \layout { \neumeDemoLayout }}
2265 @end lilypond
2266 @tab
2267 @code{\[ g \oriscus a \pes \auctum \descendens b \]}
2268
2269 @item
2270 @b{(Apo)stropha}
2271 @tab
2272 @lilypond[staffsize=26,line-width=1.0\cm]
2273 \include "gregorian.ly"
2274 \score {
2275   \transpose c c' {
2276     % Stropha
2277     \[ \stropha b \]
2278   }
2279 \layout { \neumeDemoLayout }}
2280 @end lilypond
2281 @tab
2282 @code{\[ \stropha b \]}
2283
2284 @item
2285 @emph{Stropha Aucta}
2286 @tab
2287 @lilypond[staffsize=26,line-width=1.0\cm]
2288 \include "gregorian.ly"
2289 \score {
2290   \transpose c c' {
2291     % Stropha Aucta
2292     \[ \stropha \auctum b \]
2293   }
2294 \layout { \neumeDemoLayout }}
2295 @end lilypond
2296 @tab
2297 @code{\[ \stropha \auctum b \]}
2298
2299 @item
2300 @b{Bistropha}
2301 @tab
2302 @lilypond[staffsize=26,line-width=1.0\cm]
2303 \include "gregorian.ly"
2304 \score {
2305   \transpose c c' {
2306     % Bistropha
2307     \[ \stropha b \stropha b \]
2308   }
2309 \layout { \neumeDemoLayout }}
2310 @end lilypond
2311 @tab
2312 @code{\[ \stropha b \stropha b \]}
2313
2314 @item
2315 @b{Tristropha}
2316 @tab
2317 @lilypond[staffsize=26,line-width=1.0\cm]
2318 \include "gregorian.ly"
2319 \score {
2320   \transpose c c' {
2321     % Tristropha
2322     \[ \stropha b \stropha b \stropha b \]
2323   }
2324 \layout { \neumeDemoLayout }}
2325 @end lilypond
2326 @tab
2327 @code{\[ \stropha b \stropha b \stropha b \]}
2328
2329 @item
2330 @emph{Trigonus}
2331 @tab
2332 @lilypond[staffsize=26,line-width=1.0\cm]
2333 \include "gregorian.ly"
2334 \score {
2335   \transpose c c' {
2336     % Trigonus
2337     \[ \stropha b \stropha b \stropha a \]
2338   }
2339   \layout { \neumeDemoLayout }
2340 }
2341 @end lilypond
2342 @tab
2343 @code{\[ \stropha b \stropha b \stropha a \]}
2344
2345 @end multitable
2346
2347
2348 @predefined
2349 The following head prefixes are supported:
2350 @funindex \virga
2351 @code{\virga},
2352 @funindex \stropha
2353 @code{\stropha},
2354 @funindex \inclinatum
2355 @code{\inclinatum},
2356 @funindex \auctum
2357 @code{\auctum},
2358 @funindex \descendens
2359 @code{\descendens},
2360 @funindex \ascendens
2361 @code{\ascendens},
2362 @funindex \oriscus
2363 @code{\oriscus},
2364 @funindex \quilisma
2365 @code{\quilisma},
2366 @funindex \deminutum
2367 @code{\deminutum},
2368 @funindex \cavum
2369 @code{\cavum},
2370 @funindex \linea
2371 @code{\linea}.
2372 @endpredefined
2373
2374 Head prefixes can be accumulated, though restrictions apply.  For
2375 example, either @code{\descendens} or @code{\ascendens} can be applied
2376 to a head, but not both to the same head.
2377
2378 @funindex \pes
2379 @funindex \flexa
2380
2381 Two adjacent heads can be tied together with the @code{\pes} and
2382 @code{\flexa} infix commands for a rising and falling line of melody,
2383 respectively.
2384
2385 @funindex \augmentum
2386
2387 Use the unary music function @code{\augmentum} to add augmentum dots.
2388
2389 @seealso
2390 Music Glossary:
2391 @rglos{ligature}.
2392
2393 Notation Reference:
2394 @ref{Gregorian square neume ligatures},
2395 @ref{White mensural ligatures},
2396 @ref{Ligatures}.
2397
2398 @knownissues
2399 When an @code{\augmentum} dot appears at the end of the last staff
2400 within a ligature, it is sometimes vertically placed wrong.  As a
2401 workaround, add an additional skip note (e.g., @code{s8}) as last note
2402 of the staff.
2403
2404 @code{\augmentum} should be implemented as a head prefix rather than a
2405 unary music function, such that @code{\augmentum} can be intermixed
2406 with head prefixes in arbitrary order.
2407
2408 @node Typesetting Kievan square notation
2409 @subsection Typesetting Kievan square notation
2410
2411 @menu
2412 * Kievan contexts::
2413 * Kievan clefs::
2414 * Kievan note heads::
2415 * Kievan accidentals::
2416 * Kievan bar line::
2417 @end menu
2418
2419 @node Kievan contexts
2420 @unnumberedsubsubsec Kievan contexts
2421
2422 @cindex KievanVoiceContext
2423 @cindex KievanStaffContext
2424
2425 As with Mensural and Gregorian notation, the predefined
2426 @code{KievanVoice} and @code{KievanStaff} contexts can be used
2427 to engrave a piece in square notation.  These contexts initialize
2428 all relevant context properties and grob properties to proper
2429 values, so you can immediately go ahead entering the chant:
2430
2431 @lilypond[quote,ragged-right,verbatim]
2432 \score {
2433   <<
2434     \new KievanVoice = "melody" \transpose c c' {
2435       \cadenzaOn
2436         c4 c c c c2 b,\longa
2437         \bar "kievan"
2438     }
2439     \new Lyrics \lyricsto "melody" {
2440       Го -- спо -- ди по -- ми -- луй.
2441     }
2442   >>
2443 }
2444 @end lilypond
2445
2446 @seealso
2447 Music Glossary:
2448 @rglos{kievan notation}.
2449
2450 @knownissues
2451 LilyPond supports Kievan notation of the Synodal style, as used in
2452 the corpus of chantbooks printed by the Russian Holy Synod in the
2453 1910's and recently reprinted by the Moscow Patriarchate Publishing
2454 House.  LilyPond does not support the older (less common) forms of
2455 Kievan notation that were used in Galicia to notate Rusyn plainchant.
2456
2457 @node Kievan clefs
2458 @unnumberedsubsubsec Kievan clefs
2459
2460 @cindex clefs
2461
2462 There is only one clef used in Kievan notation (the Tse-fa-ut Clef).
2463 It is used to indicate the position of @code{c}:
2464
2465 @lilypond[quote,relative=1,notime,verbatim]
2466   \clef "kievan-do"
2467   \override NoteHead #'style = #'kievan
2468   c
2469 @end lilypond
2470
2471 @seealso
2472 Music Glossary:
2473 @rglos{kievan notation},
2474 @rglos{clef}.
2475
2476 Notation Reference:
2477 @ref{Clef}.
2478
2479 @node Kievan note heads
2480 @unnumberedsubsubsec Kievan note heads
2481
2482 @cindex note heads, ancient
2483
2484 For Kievan square notation, the appropriate note head style needs
2485 to be chosen.  This is accomplished by setting the @code{style}
2486 property of the @code{NoteHead} object to @code{kievan}.
2487
2488 The Kievan final note, which usually comes at the end of a piece
2489 of music, may be selected by setting the duration to
2490 @code{\longa}.  The Kievan recitative mark, used to indicate
2491 the chanting of several syllables on one note, may be selected by
2492 setting the duration to @code{\breve}.  The following example
2493 demonstrates the various Kievan note heads:
2494
2495 @lilypond[quote,fragment,ragged-right,verbatim]
2496 \autoBeamOff
2497 \cadenzaOn
2498 \override NoteHead #'style = #'kievan
2499 b'1 b'2 b'4 b'8 b'\breve b'\longa
2500 @end lilypond
2501
2502 @seealso
2503 Music Glossary:
2504 @rglos{kievan notation},
2505 @rglos{note head}.
2506
2507 Notation Reference:
2508 @ref{Note head styles}.
2509
2510 @knownissues
2511 LilyPond automatically determines if the stem up or stem down
2512 form of a note is drawn.  When setting chant in square notation,
2513 however, it is customary to have the stems point in the same
2514 direction within a single melisma.  This can be done manually by
2515 setting the @code{direction} property of the @code{Stem} object.
2516
2517 @node Kievan accidentals
2518 @unnumberedsubsubsec Kievan accidentals
2519
2520 @cindex accidentals
2521
2522 The @code{kievan} style for accidentals is selected with the
2523 @code{glyph-name-alist} property of the grob @code{Accidental}.
2524 The @code{kievan} style provides a sharp and a flat sign
2525 different from the default style.  There is no natural sign
2526 in Kievan notation.  The sharp sign is not used in Synodal music
2527 but may occur in earlier manuscripts.  It has been included
2528 primarily for the sake of compatibility.
2529
2530 @lilypond[quote,relative=1,notime,verbatim]
2531 \clef "kievan-do"
2532 \override NoteHead #'style = #'kievan
2533 \override Accidental #'glyph-name-alist =
2534  #alteration-kievan-glyph-name-alist
2535 bes' dis,
2536 @end lilypond
2537
2538 @seealso
2539 Music Glossary:
2540 @rglos{kievan notation},
2541 @rglos{accidental}.
2542
2543 Notation Reference:
2544 @ref{Accidentals},
2545 @ref{Automatic accidentals},
2546 @ref{The Feta font}
2547
2548 @node Kievan bar line
2549 @unnumberedsubsubsec Kievan bar line
2550
2551 A decorative figure is commonly placed at the end of a piece of
2552 Kievan notation, which may be called the Kievan final bar line.
2553 It can be invoked as @code{\bar "kievan"}.
2554
2555 @lilypond[quote,relative=1,notime,verbatim]
2556   \clef "kievan-do"
2557   \override NoteHead #'style = #'kievan
2558   c \bar "kievan"
2559 @end lilypond
2560
2561 @seealso
2562 @ref{Bars},
2563 @ref{The Feta font}
2564
2565 @node Working with ancient music---scenarios and solutions
2566 @subsection Working with ancient music---scenarios and solutions
2567
2568 @menu
2569 * Incipits::
2570 * Mensurstriche layout::
2571 * Transcribing Gregorian chant::
2572 * Ancient and modern from one source::
2573 * Editorial markings::
2574 @end menu
2575
2576 Working with ancient music frequently involves particular tasks
2577 which differ considerably from the modern notation for which
2578 LilyPond is designed.  In the rest of this section, a number of
2579 typical scenarios are outlined, with suggestions of solutions.
2580 These involve:
2581
2582 @itemize
2583 @item how to make incipits (i.e. prefatory material to indicate
2584 what the original has looked like) to modern transcriptions of
2585 mensural music;
2586 @item how to achieve the @emph{Mensurstriche} layout frequently
2587 used for modern transcriptions of polyphonic music;
2588 @item how to transcribe Gregorian chant in modern notation;
2589 @item how to generate both ancient and modern notation from the
2590 same source.
2591 @end itemize
2592
2593
2594 @node Incipits
2595 @unnumberedsubsubsec Incipits
2596
2597 @c TODO Add text
2598 @c clefs, mensuration signs etc from lsr and -user
2599 @c use snippet Transcription-of-ancient-music-with-incipit
2600 TBC
2601
2602 @c @seealso
2603 @c ... and reference to other sections ...
2604
2605
2606 @node Mensurstriche layout
2607 @unnumberedsubsubsec Mensurstriche layout
2608
2609 @emph{Mensurstriche} (@q{mensuration lines}) is the accepted term
2610 for bar lines that are drawn between the staves of a system but
2611 not through the staves themselves.  It is a common way to preserve
2612 the rhythmic appearance of the original, i.e. not having to break
2613 syncopated notes at bar lines, while still providing the
2614 orientation aids that bar lines give.
2615
2616
2617 @lilypondfile[verbatim,quote,texidoc]
2618 {mensurstriche-layout-bar-lines-between-the-staves.ly}
2619
2620 @c This simple setup will take care of the
2621 @c TODO Add text about lyrics to the lowest line, to be placed
2622 @c outside the StaffGroup.
2623 @c from lsr and -user
2624 @c TBC
2625
2626 @c @seealso
2627 @c ... and reference to other sections ...
2628
2629
2630 @node Transcribing Gregorian chant
2631 @unnumberedsubsubsec Transcribing Gregorian chant
2632
2633 Gregorian chant can be transcribed into modern notation with a
2634 number of simple tweaks.
2635
2636 @b{Stems}.  Stems can be left out altogether by @code{\remove}-ing
2637 the @code{Stem_engraver} from the Voice context:
2638
2639 @example
2640 \layout @{
2641   ...
2642   \context @{
2643     \Voice
2644       \remove "Stem_engraver"
2645   @}
2646 @}
2647 @end example
2648
2649 However, in some transcription styles, stems are used
2650 occasionally, for example to indicate the transition from a
2651 single-tone recitative to a fixed melodic gesture.  In these cases,
2652 one can use either @code{\override Stem #'transparent = ##t} or
2653 @code{\override Stem #'length = #0} instead, and restore the stem
2654 when needed with the corresponding @code{\once \override Stem
2655 #'transparent = ##f} (see example below).  When using stems that
2656 carry flags, make sure to set @code{\override Flag #'transparent
2657 = ##t} as well.
2658
2659 @b{Timing.} For unmetered chant, there are several alternatives.
2660
2661 The Time_signature_engraver can be removed from the Staff context
2662 without any negative side effects.  The alternative, to make it
2663 transparent, will leave an empty space in the score, since the
2664 invisible signature will still take up space.
2665
2666 In many cases, @code{\set Score.timing = ##f} will give good
2667 results.  Another alternative is to use @code{\CadenzaOn} and
2668 @code{\CadenzaOff}.
2669
2670 To remove the bar lines, the radical approach is to @code{\remove}
2671 the Bar_engraver from the Staff context.  Again, one may want to
2672 use @code{\override BarLine #'transparent = ##t} instead, if an
2673 occasional barline is wanted.
2674
2675 A common type of transcription is recitativic chant where the
2676 repeated notes are indicated with a single breve.  The text to
2677 the recitation tone can  be dealt with in two different ways:
2678 either set as a single, left-aligned syllable:
2679
2680 @lilypond[verbatim,ragged-right]
2681 \include "gregorian.ly"
2682 chant = \relative c' {
2683   \clef "G_8"
2684   c\breve c4 b4 a c2 c4  \divisioMaior
2685   c\breve c4 c f, f \finalis
2686 }
2687
2688 verba = \lyricmode {
2689   \once \override LyricText #'self-alignment-X = #-1
2690   "Noctem quietam et" fi -- nem per -- fec -- tum
2691   \once \override LyricText #'self-alignment-X = #-1
2692   "concedat nobis Dominus" om -- ni -- po -- tens.
2693 }
2694 \score {
2695   \new Staff <<
2696   \new Voice = "melody" \chant
2697   \new Lyrics = "one" \lyricsto melody \verba
2698   >>
2699   \layout {
2700     \context {
2701       \Staff
2702       \remove "Time_signature_engraver"
2703       \remove "Bar_engraver"
2704       \override Stem #'transparent = ##t
2705       \override Flag #'transparent = ##t
2706     }
2707   }
2708 }
2709 @end lilypond
2710
2711 This works fine, as long as the text doesn't span a line break.  If
2712 that is the case, an alternative is to add hidden notes to the
2713 score, here in combination with changing stem visibility:
2714
2715
2716 @lilypond[verbatim,ragged-right]
2717 \include "gregorian.ly"
2718 chant = \relative c' {
2719   \clef "G_8"
2720   \set Score.timing = ##f
2721   c\breve \override NoteHead #'transparent = ##t  c c c c c
2722   \revert NoteHead #'transparent
2723   \override Stem #'transparent = ##f \stemUp c4 b4 a
2724   \override Stem #'transparent = ##t
2725   \override Flag #'transparent = ##t c2 c4  \divisioMaior
2726   c\breve \override NoteHead #'transparent = ##t c c c c c c c
2727   \revert NoteHead #'transparent c4 c f, f \finalis
2728 }
2729
2730 verba = \lyricmode {
2731   No -- ctem qui -- e -- tam et fi -- nem per -- fec -- tum
2732   con -- ce -- dat no -- bis Do -- mi -- nus om -- ni -- po -- tens.
2733 }
2734
2735 \score {
2736   \new Staff <<
2737     \new Voice = "melody" \chant
2738     \new Lyrics \lyricsto "melody" \verba
2739   >>
2740   \layout {
2741     \context {
2742       \Staff
2743       \remove "Time_signature_engraver"
2744       \override BarLine #'transparent = ##t
2745       \override Stem #'transparent = ##t
2746       \override Flag #'transparent = ##t
2747     }
2748   }
2749 }
2750 @end lilypond
2751
2752 Another common situation is transcription of neumatic or
2753 melismatic chants, i.e. chants with a varying number of notes
2754 to each syllable.  In this case, one would want to set the
2755 syllable groups clearly apart, usually also the subdivisions of a
2756 longer melisma.  One way to achieve this is to use a fixed
2757 @code{\time}, e.g., 1/4, and let each syllable or note group fill
2758 one of these measures, with the help of tuplets or shorter
2759 durations.  If the bar lines and all other rhythmical indications
2760 are made transparent, and the space around the bar lines is
2761 increased, this will give a fairly good representation in modern
2762 notation of the original.
2763
2764 To avoid that syllables of different width (such as @qq{-ri} and
2765 @qq{-rum}) spread the syllable note groups unevenly apart, the
2766 @code{'X-extent} property of the @code{LyricText} object may be
2767 set to a fixed value.  Another, more cumbersome way would be to
2768 add the syllables as @code{\markup} elements.  If further
2769 adjustments are necessary, this can be easily done with
2770 @code{s} @q{notes}.
2771
2772 @lilypond[verbatim,quote]
2773 spiritus = \relative c' {
2774   \time 1/4
2775   \override Lyrics.LyricText #'X-extent  = #'(0 . 3)
2776   d4 \times 2/3 { f8 a g } g a a4 g f8 e
2777   d4 f8 g g8 d f g a g f4 g8 a a4  s
2778   \times 2/3 { g8 f d } e f g a g4
2779 }
2780
2781 spirLyr = \lyricmode {
2782   Spi -- ri -- _ _ tus  _ Do -- mi -- ni  _ re -- ple -- _ vit _
2783   or -- _ bem _  ter -- ra -- _ rum, al -- _ _ le -- _ lu
2784   -- _ ia.
2785 }
2786 \score {
2787   \new Staff <<
2788     \new Voice = "chant" \spiritus
2789     \new Lyrics = "one" \lyricsto "chant" \spirLyr
2790   >>
2791   \layout {
2792     \context {
2793       \Staff
2794       \remove "Time_signature_engraver"
2795       \override BarLine #'X-extent = #'(-1 . 1)
2796       \override Stem #'transparent = ##t
2797       \override Flag #'transparent = ##t
2798       \override Beam #'transparent = ##t
2799       \override BarLine #'transparent = ##t
2800       \override TupletNumber #'transparent = ##t
2801     }
2802   }
2803 }
2804 @end lilypond
2805
2806 @c extract from 1.6.1.1
2807
2808 @c @seealso
2809 @c ... and reference to other sections ...
2810
2811
2812 @node Ancient and modern from one source
2813 @unnumberedsubsubsec Ancient and modern from one source
2814
2815 @c TODO Add text
2816 @c Here among others the snippets about reducing note length
2817 TBC
2818
2819 @c @seealso
2820 @c ... and reference to other sections ...
2821
2822
2823 @node Editorial markings
2824 @unnumberedsubsubsec Editorial markings
2825
2826
2827 @c @node Baroque rhythmic notation
2828 @c @unnumberedsubsubsec Baroque rhythmic notation
2829
2830 @c TODO Add text
2831 @c try Till Rettig
2832 @c Add example of white note heads:
2833 @c In the french baroque some composers used white note heads in slow pieces,
2834 @c mainly in 3/2-time.  A quarter looks there like a eighth with a white
2835 @c note head.  (Franz-Rudolf Kuhnen)
2836
2837 @c TODO Add example of this:
2838 @c I was referring to e.g. notated a8. a16, which should, if I
2839 @c remember correctly, be interpreted more like a8.. a32 (in the french
2840 @c style).  The editor might want to show that rythmic figure above the
2841 @c staff as an hint to performers.  (Karl Hammer)
2842
2843
2844 @c TBC
2845
2846
2847 @c @seealso
2848 @c ... and reference to other sections ...