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