]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/ancient.itely
Doc: Couple of Typos and line break fixes
[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.13.36"
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 * Working with ancient music---scenarios and solutions::
32 @end menu
33
34
35 Support for ancient notation includes features for mensural
36 notation and Gregorian chant notation.  These features can be
37 accessed either by modifying style properties of graphical objects
38 such as note heads and rests, or by using one of the pre-defined
39 contexts for mensural or Gregorian notation.
40
41 Many graphical objects, such as note heads and flags, accidentals,
42 time signatures, and rests, provide a @code{style} property, which
43 can be changed to emulate several different styles of ancient
44 notation.  See
45
46 @itemize
47 @item @ref{Mensural note heads},
48 @item @ref{Mensural accidentals and key signatures},
49 @item @ref{Mensural rests},
50 @item @ref{Mensural clefs},
51 @item @ref{Gregorian clefs},
52 @item @ref{Mensural flags},
53 @item @ref{Mensural time signatures}.
54 @end itemize
55
56 Some notational concepts are introduced specifically for ancient
57 notation,
58
59 @itemize
60 @item @ref{Custodes},
61 @item @ref{Divisiones},
62 @item @ref{Ligatures}.
63 @end itemize
64
65 @seealso
66 Music Glossary:
67 @rglos{custos},
68 @rglos{ligature},
69 @rglos{mensural notation}.
70
71 Notation Reference:
72 @ref{Mensural note heads},
73 @ref{Mensural accidentals and key signatures},
74 @ref{Mensural rests},
75 @ref{Gregorian clefs},
76 @ref{Mensural flags},
77 @ref{Mensural time signatures},
78 @ref{Custodes},
79 @ref{Divisiones},
80 @ref{Ligatures}.
81
82
83 @node Overview of the supported styles
84 @subsection Overview of the supported styles
85
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 Internals Reference:
343 @rinternals{Custos}.
344
345 Snippets:
346 @rlsr{Ancient notation}.
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
412 @seealso
413 Music Glossary:
414 @rglos{mensural notation}.
415
416
417 @node Mensural clefs
418 @unnumberedsubsubsec Mensural clefs
419
420 @cindex clefs
421
422 The following table shows all mensural clefs that are supported via
423 the @code{\clef} command.  Some of the clefs use the same glyph,
424 but differ only with respect to the line they are printed on.  In
425 such cases, a trailing number in the name is used to enumerate
426 these clefs, numbered from the lowest to the highest line.  Still,
427 you can manually force a clef glyph to be typeset on an arbitrary
428 line, as described in @ref{Clef}.  The note printed to the right
429 side of each clef in the example column denotes the @code{c'} with
430 respect to that clef.
431
432 Petrucci used C clefs with differently balanced left-side vertical
433 beams, depending on which staff line it is printed.
434
435 @multitable @columnfractions .4 .4 .2
436 @item
437 @b{Description}
438 @tab
439 @b{Supported Clefs}
440 @tab
441 @b{Example}
442
443 @item
444 mensural C clef
445 @tab
446 @code{mensural-c1}, @code{mensural-c2},@*
447 @code{mensural-c3}, @code{mensural-c4}
448 @tab
449 @lilypond[fragment,relative=1,notime]
450   \clef "mensural-c2"
451   \override NoteHead #'style = #'mensural
452   c
453 @end lilypond
454
455 @item
456 mensural F clef
457 @tab
458 @code{mensural-f}
459 @tab
460 @lilypond[fragment,relative=1,notime]
461   \clef "mensural-f"
462   \override NoteHead #'style = #'mensural
463   c
464 @end lilypond
465
466 @item
467 mensural G clef
468 @tab
469 @code{mensural-g}
470 @tab
471 @lilypond[fragment,relative=1,notime]
472   \clef "mensural-g"
473   \override NoteHead #'style = #'mensural
474   c
475 @end lilypond
476
477 @item
478 neomensural C clef
479 @tab
480 @code{neomensural-c1}, @code{neomensural-c2},@*
481 @code{neomensural-c3}, @code{neomensural-c4}
482 @tab
483 @lilypond[fragment,relative=1,notime]
484   \clef "neomensural-c2" c
485 @end lilypond
486
487 @item
488 petrucci style C clefs, for use on different staff lines
489 (the example shows the 2nd staff line C clef)
490 @tab
491 @code{petrucci-c1}, @code{petrucci-c2},@*
492 @code{petrucci-c3}, @code{petrucci-c4},@*
493 @code{petrucci-c5}
494 @tab
495 @lilypond[fragment,relative=1,notime]
496   \clef "petrucci-c2"
497   \override NoteHead #'style = #'mensural
498   c
499 @end lilypond
500
501 @item
502 petrucci style F clef
503 @tab
504 @code{petrucci-f}
505 @tab
506 @lilypond[fragment,relative=1,notime]
507   \clef "petrucci-f"
508   \override NoteHead #'style = #'mensural
509   c
510 @end lilypond
511
512 @item
513 petrucci style G clef
514 @tab
515 @code{petrucci-g}
516 @tab
517 @lilypond[fragment,relative=1,notime]
518   \clef "petrucci-g"
519   \override NoteHead #'style = #'mensural
520   c
521 @end lilypond
522 @end multitable
523
524 @seealso
525 Music Glossary:
526 @rglos{mensural notation},
527 @rglos{clef}.
528
529 Notation Reference:
530 @ref{Clef}.
531
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,fragment,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 do not change with the time signature.  For
635 example, the ratio of 1@tie{}breve = 3@tie{}semibreves
636 (@emph{tempus perfectum}) must 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} or
661 @code{petrucci}.
662
663 The @code{baroque} style differs from the @code{default} style by:
664
665 @itemize
666 @item Providing a @code{maxima} notehead, 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
680 The following example demonstrates the @code{petrucci} style:
681
682 @c Renaissance music doesn't use bar lines ...  but they do help to
683 @c separate the notes for easier identification.
684
685 @lilypond[quote,fragment,ragged-right,verbatim]
686 \set Score.skipBars = ##t
687 \autoBeamOff
688 \override NoteHead #'style = #'petrucci
689 a'\maxima a'\longa a'\breve a'1 a'2 a'4 a'8 a'16 a'
690
691 @end lilypond
692
693
694 @ref{Note head styles}, gives an overview of all available note head
695 styles.
696
697 @seealso
698 Music Glossary:
699 @rglos{mensural notation},
700 @rglos{note head}.
701
702 Notation Reference:
703 @ref{Note head styles}.
704
705
706 @node Mensural flags
707 @unnumberedsubsubsec Mensural flags
708
709 @cindex flags
710
711 Use the @code{flag-style} property of grob @code{Stem} to
712 select ancient flags.  Besides the @code{default} flag style,
713 only the @code{mensural} style is supported.
714
715 @lilypond[quote,fragment,ragged-right,verbatim]
716 \override Stem #'flag-style = #'mensural
717 \override Stem #'thickness = #1.0
718 \override NoteHead #'style = #'mensural
719 \autoBeamOff
720 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
721 c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
722 @end lilypond
723
724 Note that the innermost flare of each mensural flag always is
725 vertically aligned with a staff line.
726
727 There is no particular flag style for neo-mensural or Petrucci notation.
728 @c Hence,
729 @c when typesetting the incipit of a transcribed piece of mensural
730 @c music, the default flag style should be used.
731 There are no flags in Gregorian chant notation.
732
733
734 @seealso
735 Music Glossary:
736 @rglos{mensural notation},
737 @rglos{flag}.
738
739
740 @knownissues
741 The attachment of ancient flags to stems is slightly off.
742 @c due to a change in early 2.3.x.
743
744 Vertically aligning each flag with a staff line assumes that stems
745 always end either exactly on or exactly in the middle between two
746 staff lines.  This may not always be true when using advanced layout
747 features of classical notation (which however are typically out of
748 scope for mensural notation).
749
750
751 @node Mensural rests
752 @unnumberedsubsubsec Mensural rests
753
754 @cindex rests, ancient
755
756 Use the @code{style} property of grob @code{Rest} to select
757 ancient rests.  Supported styles are @code{classical},
758 @code{neomensural}, and @code{mensural}.  @code{classical} differs
759 from the @code{default} style only in that the quarter rest looks
760 like a horizontally mirrored 8th rest.  The @code{mensural} and
761 the @code{neomensural} styles mimic the appearance of rests in
762 manuscripts and prints up to the 16th century.
763
764 The following example demonstrates the @code{mensural} and
765 @code{neomensural} styles:
766
767 @lilypond[quote,fragment,ragged-right,verbatim]
768 \set Score.skipBars = ##t
769 \override Rest #'style = #'classical
770 r\longa^"classical" r\breve r1 r2 r4 r8 r16 s \break
771 \override Rest #'style = #'mensural
772 r\longa^"mensural" r\breve r1 r2 r4 r8 r16 s \break
773 \override Rest #'style = #'neomensural
774 r\longa^"neomensural" r\breve r1 r2 r4 r8 r16
775 @end lilypond
776
777 There are no 32th and 64th rests specifically for the mensural or
778 neo-mensural style.  Instead, the rests from the default style will be
779 taken.
780
781 @seealso
782 Music Glossary:
783 @rglos{mensural notation}.
784
785 Notation Reference:
786 @ref{Rests}.
787
788 Snippets:
789 @rlsr{Ancient notation}.
790
791
792 @node Mensural accidentals and key signatures
793 @unnumberedsubsubsec Mensural accidentals and key signatures
794
795 @cindex accidentals
796 @cindex key signature
797
798 The @code{mensural} style provides a sharp and a flat sign
799 different from the default style.  If called for, the natural sign
800 will be taken from the @code{vaticana} style.
801
802 @lilypond[quote,ragged-right,staffsize=26]
803 \markup {
804   \column {
805     "mensural"
806     \line { " " \musicglyph #"accidentals.mensural-1"
807       " " \musicglyph #"accidentals.mensural1" }
808   }
809 }
810 @end lilypond
811
812 The style for accidentals and key signatures is controlled by the
813 @code{glyph-name-alist} property of the grobs @code{Accidental} and
814 @code{KeySignature}, respectively; e.g.:
815
816 @code{\override Staff.Accidental #'glyph-name-alist =
817 #alteration-mensural-glyph-name-alist}
818
819 @seealso
820 Music Glossary:
821 @rglos{mensural notation},
822 @rglos{Pitch names},
823 @rglos{accidental},
824 @rglos{key signature}.
825
826 Notation Reference:
827 @ref{Pitches},
828 @ref{Accidentals},
829 @ref{Automatic accidentals},
830 @ref{Key signature}.
831
832 Internals Reference:
833 @rinternals{KeySignature}.
834
835
836 @node Annotational accidentals (musica ficta)
837 @unnumberedsubsubsec Annotational accidentals (@emph{musica ficta})
838
839 In European music from before about 1600, singers were expected to
840 chromatically alter notes at their own initiative according to
841 certain rules.  This is called @notation{musica ficta}.  In modern
842 transcriptions, these accidentals are usually printed over the
843 note.
844
845 @cindex Accidental, musica ficta
846 @cindex Musica ficta
847
848 Support for such suggested accidentals is included, and can be
849 switched on by setting @code{suggestAccidentals} to true.
850
851 @funindex suggestAccidentals
852
853 @lilypond[verbatim,fragment,relative=1]
854 fis gis
855 \set suggestAccidentals = ##t
856 ais bis
857 @end lilypond
858
859 This will treat @emph{every} subsequent accidental as
860 @emph{musica ficta} until it is unset with
861 @code{\set suggestAccidentals = ##f}.  A more practical way is to
862 use @code{\once \set suggestAccidentals = ##t}, which can even be
863 defined as a convenient shorthand:
864
865 @lilypond[quote,verbatim]
866 ficta = { \once \set suggestAccidentals = ##t }
867 \score { \relative c''
868   \new MensuralVoice  {
869         \once \set suggestAccidentals = ##t
870   bes4 a2 g2 \ficta fis8 \ficta e! fis2 g1
871   }
872 }
873 @end lilypond
874
875
876 @seealso
877 Internals Reference:
878 @rinternals{Accidental_engraver},
879 @rinternals{AccidentalSuggestion}.
880
881
882 @node White mensural ligatures
883 @unnumberedsubsubsec White mensural ligatures
884
885 @cindex Mensural ligatures
886 @cindex White mensural ligatures
887
888 There is limited support for white mensural ligatures.
889
890 To engrave white mensural ligatures, in the layout block, replace
891 the @code{Ligature_bracket_engraver} with the
892 @code{Mensural_ligature_engraver} in the @code{Voice}
893 context:
894
895 @example
896 \layout @{
897   \context @{
898     \Voice
899     \remove Ligature_bracket_engraver
900     \consists Mensural_ligature_engraver
901   @}
902 @}
903 @end example
904
905 There is no additional input language to describe the shape of a
906 white mensural ligature.  The shape is rather determined solely from
907 the pitch and duration of the enclosed notes.  While this approach may
908 take a new user a while to get accustomed to, it has the great advantage
909 that the full musical information of the ligature is known internally.
910 This is not only required for correct MIDI output, but also allows for
911 automatic transcription of the ligatures.
912
913 For example,
914
915 @c @example
916 @c \set Score.timing = ##f
917 @c \set Score.defaultBarType = "empty"
918 @c \override NoteHead #'style = #'neomensural
919 @c \override Staff.TimeSignature #'style = #'neomensural
920 @c \clef "petrucci-g"
921 @c \[ c'\maxima g \]
922 @c \[ d\longa c\breve f e d \]
923 @c \[ c'\maxima d'\longa \]
924 @c \[ e'1 a g\breve \]
925 @c @end example
926 @lilypond[quote,ragged-right,verbatim]
927 \score {
928   \transpose c c' {
929     \set Score.timing = ##f
930     \set Score.defaultBarType = "empty"
931     \override NoteHead #'style = #'neomensural
932     \override Staff.TimeSignature #'style = #'neomensural
933     \clef "petrucci-g"
934     \[ c'\maxima g \]
935     \[ d\longa c\breve f e d \]
936     \[ c'\maxima d'\longa \]
937     \[ e'1 a g\breve \]
938   }
939   \layout {
940     \context {
941       \Voice
942       \remove Ligature_bracket_engraver
943       \consists Mensural_ligature_engraver
944     }
945   }
946 }
947 @end lilypond
948
949 Without replacing @code{Ligature_bracket_engraver} with
950 @code{Mensural_ligature_engraver}, the same music transcribes
951 to the following
952
953 @lilypond[quote,ragged-right]
954 \transpose c c' {
955   \set Score.timing = ##f
956   \set Score.defaultBarType = "empty"
957   \override NoteHead #'style = #'neomensural
958   \override Staff.TimeSignature #'style = #'neomensural
959   \clef "petrucci-g"
960   \[ c'\maxima g \]
961   \[ d\longa c\breve f e d \]
962   \[ c'\maxima d'\longa \]
963   \[ e'1 a g\breve \]
964 }
965 @end lilypond
966
967 @seealso
968 Music Glossary:
969 @rglos{ligature}.
970
971 Notation Reference:
972 @ref{Gregorian square neume ligatures},
973 @ref{Ligatures}.
974
975 @knownissues
976 Horizontal spacing of ligatures is poor.
977
978
979 @node Typesetting Gregorian chant
980 @subsection Typesetting Gregorian chant
981
982 @menu
983 * Gregorian chant contexts::
984 * Gregorian clefs::
985 * Gregorian accidentals and key signatures::
986 * Divisiones::
987 * Gregorian articulation signs::
988 * Augmentum dots (morae)::
989 * Gregorian square neume ligatures::
990 @end menu
991
992 When typesetting a piece in Gregorian chant notation, the
993 @code{Vaticana_ligature_engraver} automatically selects the
994 proper note heads, so there is no need to explicitly set the note
995 head style.  Still, the note head style can be set, e.g., to
996 @code{vaticana_punctum} to produce punctum neumes.  Similarly, the
997 @code{Mensural_ligature_engraver} automatically assembles
998 mensural ligatures.
999
1000 @seealso
1001 Music Glossary:
1002 @rglos{ligature}.
1003
1004 Notation Reference:
1005 @ref{White mensural ligatures},
1006 @ref{Ligatures}.
1007
1008 @node Gregorian chant contexts
1009 @unnumberedsubsubsec Gregorian chant contexts
1010
1011 @cindex VaticanaVoiceContext
1012 @cindex VaticanaStaffContext
1013
1014 The predefined @code{VaticanaVoiceContext} and
1015 @code{VaticanaStaffContext} can be used to engrave a piece of
1016 Gregorian chant in the style of the Editio Vaticana.  These contexts
1017 initialize all relevant context properties and grob properties to
1018 proper values, so you can immediately go ahead entering the chant, as
1019 the following excerpt demonstrates:
1020
1021 @lilypond[quote,ragged-right,verbatim]
1022 \include "gregorian.ly"
1023 \score {
1024   <<
1025     \new VaticanaVoice = "cantus" {
1026       \[ c'\melisma c' \flexa a \]
1027       \[ a \flexa \deminutum g\melismaEnd \]
1028       f \divisioMinima
1029       \[ f\melisma \pes a c' c' \pes d'\melismaEnd \]
1030       c' \divisioMinima \break
1031       \[ c'\melisma c' \flexa a \]
1032       \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
1033     }
1034     \new Lyrics \lyricsto "cantus" {
1035       San- ctus, San- ctus, San- ctus
1036     }
1037   >>
1038 }
1039 @end lilypond
1040
1041
1042 @c @seealso
1043 @c TODO: nothing here yet ...
1044
1045
1046 @node Gregorian clefs
1047 @unnumberedsubsubsec Gregorian clefs
1048
1049 @cindex clefs
1050
1051 The following table shows all Gregorian clefs that are supported via
1052 the @code{\clef} command.  Some of the clefs use the same glyph,
1053 but differ only with respect to the line they are printed on.  In
1054 such cases, a trailing number in the name is used to enumerate
1055 these clefs, numbered from the lowest to the highest line.  Still,
1056 you can manually force a clef glyph to be typeset on an arbitrary
1057 line, as described in @ref{Clef}.  The note printed to the right
1058 side of each clef in the example column denotes the @code{c'} with
1059 respect to that clef.
1060
1061 @multitable @columnfractions .4 .4 .2
1062 @item
1063 @b{Description}
1064 @tab
1065 @b{Supported Clefs}
1066 @tab
1067 @b{Example}
1068
1069 @item
1070 Editio Vaticana style do clef
1071 @tab
1072 @code{vaticana-do1}, @code{vaticana-do2},@*
1073 @code{vaticana-do3}
1074 @tab
1075 @lilypond[fragment,relative=1,notime]
1076   \override Staff.StaffSymbol #'line-count = #4
1077   \override Staff.StaffSymbol #'color = #red
1078   \override Staff.LedgerLineSpanner #'color = #red
1079   \override Voice.Stem #'transparent = ##t
1080   \override NoteHead #'style = #'vaticana.punctum
1081   \clef "vaticana-do2"
1082   c
1083 @end lilypond
1084
1085 @item
1086 Editio Vaticana style fa clef
1087 @tab
1088 @code{vaticana-fa1}, @code{vaticana-fa2}
1089 @tab
1090 @lilypond[fragment,relative=1,notime]
1091   \override Staff.StaffSymbol #'line-count = #4
1092   \override Staff.StaffSymbol #'color = #red
1093   \override Staff.LedgerLineSpanner #'color = #red
1094   \override Voice.Stem #'transparent = ##t
1095   \override NoteHead #'style = #'vaticana.punctum
1096   \clef "vaticana-fa2"
1097   c
1098 @end lilypond
1099
1100 @item
1101 Editio Medicaea style do clef
1102 @tab
1103 @code{medicaea-do1}, @code{medicaea-do2},@*
1104 @code{medicaea-do3}
1105 @tab
1106 @lilypond[fragment,relative=1,notime]
1107   \override Staff.StaffSymbol #'line-count = #4
1108   \override Staff.StaffSymbol #'color = #red
1109   \override Staff.LedgerLineSpanner #'color = #red
1110   \override Voice.Stem #'transparent = ##t
1111   \override NoteHead #'style = #'medicaea.punctum
1112   \clef "medicaea-do2"
1113   c
1114 @end lilypond
1115
1116 @item
1117 Editio Medicaea style fa clef
1118 @tab
1119 @code{medicaea-fa1}, @code{medicaea-fa2}
1120 @tab
1121 @lilypond[fragment,relative=1,notime]
1122   \override Staff.StaffSymbol #'line-count = #4
1123   \override Staff.StaffSymbol #'color = #red
1124   \override Staff.LedgerLineSpanner #'color = #red
1125   \override Voice.Stem #'transparent = ##t
1126   \override NoteHead #'style = #'medicaea.punctum
1127   \clef "medicaea-fa2"
1128   c
1129 @end lilypond
1130
1131 @item
1132 hufnagel style do clef
1133 @tab
1134 @code{hufnagel-do1}, @code{hufnagel-do2},@*
1135 @code{hufnagel-do3}
1136 @tab
1137 @lilypond[fragment,relative=1,notime]
1138   \override Staff.StaffSymbol #'line-count = #4
1139   \override Staff.StaffSymbol #'color = #red
1140   \override Staff.LedgerLineSpanner #'color = #red
1141   \override Voice.Stem #'transparent = ##t
1142   \override NoteHead #'style = #'hufnagel.punctum
1143   \clef "hufnagel-do2"
1144   c
1145 @end lilypond
1146
1147 @item
1148 hufnagel style fa clef
1149 @tab
1150 @code{hufnagel-fa1}, @code{hufnagel-fa2}
1151 @tab
1152 @lilypond[fragment,relative=1,notime]
1153   \override Staff.StaffSymbol #'line-count = #4
1154   \override Staff.StaffSymbol #'color = #red
1155   \override Staff.LedgerLineSpanner #'color = #red
1156   \override Voice.Stem #'transparent = ##t
1157   \override NoteHead #'style = #'hufnagel.punctum
1158   \clef "hufnagel-fa2"
1159   c
1160 @end lilypond
1161
1162 @item
1163 hufnagel style combined do/fa clef
1164 @tab
1165 @code{hufnagel-do-fa}
1166 @tab
1167 @lilypond[fragment,relative=1,notime]
1168   \override Staff.StaffSymbol #'color = #red
1169   \override Staff.LedgerLineSpanner #'color = #red
1170   \override Voice.Stem #'transparent = ##t
1171   \override NoteHead #'style = #'hufnagel.punctum
1172   \clef "hufnagel-do-fa"
1173   c
1174 @end lilypond
1175 @end multitable
1176
1177
1178 @seealso
1179 Music Glossary:
1180 @rglos{clef}.
1181
1182 Notation Reference:
1183 @ref{Clef}.
1184
1185
1186 @node Gregorian accidentals and key signatures
1187 @unnumberedsubsubsec Gregorian accidentals and key signatures
1188
1189 @cindex accidentals
1190 @cindex key signature
1191
1192 Accidentals for the three different Gregorian styles are available:
1193
1194 @lilypond[quote,ragged-right,staffsize=26]
1195 \markup {
1196   \column {
1197     "vaticana"
1198     \line { " " \musicglyph #"accidentals.vaticana-1"
1199       " " \musicglyph #"accidentals.vaticana0" }
1200   }
1201   \column {
1202     "medicaea"
1203     \line { " " \musicglyph #"accidentals.medicaea-1" }
1204   }
1205   \column {
1206     "hufnagel"
1207     \line { " " \musicglyph #"accidentals.hufnagel-1" }
1208   }
1209 }
1210 @end lilypond
1211
1212 As shown, not all accidentals are supported by each style.  When
1213 trying to access an unsupported accidental, LilyPond will switch to a
1214 different style.
1215
1216 @c @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1217 @c {ancient-accidentals.ly}
1218
1219 The style for accidentals and key signatures is controlled by the
1220 @code{glyph-name-alist} property of the grobs @code{Accidental} and
1221 @code{KeySignature}, respectively; e.g.:
1222
1223 @code{\override Staff.Accidental #'glyph-name-alist =
1224 #alteration-mensural-glyph-name-alist}
1225
1226
1227 @seealso
1228 Music Glossary:
1229 @rglos{accidental},
1230 @rglos{key signature}.
1231
1232 Notation Reference:
1233 @ref{Pitches},
1234 @ref{Accidentals},
1235 @ref{Automatic accidentals},
1236 @ref{Key signature}.
1237
1238 Internals Reference:
1239 @rinternals{KeySignature}.
1240
1241
1242 @node Divisiones
1243 @unnumberedsubsubsec Divisiones
1244
1245 @cindex divisio
1246 @cindex divisiones
1247 @cindex finalis
1248
1249 There are no rests in Gregorian chant notation; instead, it uses
1250 @ref{Divisiones}.
1251
1252 A @emph{divisio} (plural: @emph{divisiones}; Latin word for
1253 @q{division}) is a staff context symbol that is used to indicate
1254 the phrase and section structure of Gregorian music.  The musical
1255 meaning of @emph{divisio minima}, @emph{divisio maior}, and
1256 @emph{divisio maxima} can be characterized as short, medium, and
1257 long pause, somewhat like the breath marks from @ref{Breath marks}.
1258 The  @emph{finalis} sign not only marks the end of a chant, but is
1259 also frequently used within a single antiphonal/responsorial chant
1260 to mark the end of each section.
1261
1262 To use divisiones, include the file @file{gregorian.ly}.  It
1263 contains definitions that you can apply by just inserting
1264 @code{\divisioMinima}, @code{\divisioMaior}, @code{\divisioMaxima},
1265 and @code{\finalis} at proper places in the input.  Some editions use
1266 @emph{virgula} or @emph{caesura} instead of divisio minima.
1267 Therefore, @file{gregorian.ly} also defines @code{\virgula} and
1268 @code{\caesura}
1269
1270 @lilypond[quote,ragged-right]
1271 \include "gregorian.ly"
1272 \score {
1273   <<
1274     \context VaticanaVoice {
1275       \override TextScript  #'padding = #3
1276       g a g
1277       s^\markup { "divisio minima" }
1278       \divisioMinima
1279       g a g
1280       s^\markup { "divisio maior" }
1281       \divisioMaior
1282       g a g
1283       s^\markup { "divisio maxima" }
1284       \divisioMaxima
1285       \break
1286       g a g
1287       s^\markup { "finalis" }
1288       \finalis
1289       g a g
1290       s^\markup { "virgula" }
1291       \virgula
1292       g a g
1293       s^\markup { "caesura" }
1294       \caesura
1295       g a g
1296     }
1297   >>
1298 }
1299 @end lilypond
1300
1301
1302 @predefined
1303 @funindex \virgula
1304 @code{\virgula},
1305 @funindex \caesura
1306 @code{\caesura},
1307 @funindex \divisioMinima
1308 @code{\divisioMinima},
1309 @funindex \divisioMaior
1310 @code{\divisioMaior},
1311 @funindex \divisioMaxima
1312 @code{\divisioMaxima},
1313 @funindex \finalis
1314 @code{\finalis}.
1315 @endpredefined
1316
1317 @seealso
1318 Music Glossary:
1319 @rglos{caesura},
1320 @rglos{divisio}.
1321
1322 Notation Reference:
1323 @ref{Breath marks}.
1324
1325 Installed Files:
1326 @file{gregorian.ly}.
1327
1328
1329 @node Gregorian articulation signs
1330 @unnumberedsubsubsec Gregorian articulation signs
1331
1332 @cindex articulations
1333
1334 In addition to the standard articulation signs described in
1335 section @ref{Articulations and ornamentations}, articulation signs
1336 specifically designed for use with notation in
1337 @emph{Editio Vaticana} style are provided.
1338
1339 @lilypond[quote,ragged-right,verbatim]
1340 \include "gregorian.ly"
1341 \score {
1342   \new VaticanaVoice {
1343     \override TextScript #'font-family = #'typewriter
1344     \override TextScript #'font-shape = #'upright
1345     \override Script #'padding = #-0.1
1346     a\ictus_"ictus " \bar "" \break
1347     a\circulus_"circulus " \bar "" \break
1348     a\semicirculus_"semicirculus " \bar "" \break
1349     a\accentus_"accentus " \bar "" \break
1350     \[ a_"episema" \episemInitium \pes b \flexa a b \episemFinis \flexa a \]
1351   }
1352 }
1353 @end lilypond
1354
1355
1356 @seealso
1357 Notation Reference:
1358 @ref{Articulations and ornamentations}.
1359
1360 Snippets:
1361 @rlsr{Ancient notation}.
1362
1363 Internals Reference:
1364 @rinternals{Episema},
1365 @rinternals{EpisemaEvent},
1366 @rinternals{Episema_engraver},
1367 @rinternals{Script},
1368 @rinternals{ScriptEvent},
1369 @rinternals{Script_engraver}.
1370
1371
1372 @knownissues
1373 Some articulations are vertically placed too closely to the
1374 corresponding note heads.
1375
1376
1377 @node Augmentum dots (morae)
1378 @unnumberedsubsubsec Augmentum dots (@emph{morae})
1379
1380 Augmentum dots, also called @emph{morae}, are added with the music
1381 function @code{\augmentum}.  Note that @code{\augmentum} is
1382 implemented as a unary music function rather than as head prefix.  It
1383 applies to the immediately following music expression only.  That is,
1384 @code{\augmentum \virga c} will have no visible effect.  Instead, say
1385 @code{\virga \augmentum c} or @code{\augmentum @{\virga c@}}.  Also
1386 note that you can say @code{\augmentum @{a g@}} as a shortcut for
1387 @code{\augmentum a \augmentum g}.
1388
1389 @lilypond[quote,ragged-right,verbatim]
1390 \include "gregorian.ly"
1391 \score {
1392   \new VaticanaVoice {
1393     \[ \augmentum a \flexa \augmentum g \]
1394     \augmentum g
1395   }
1396 }
1397 @end lilypond
1398
1399
1400 @seealso
1401 Notation Reference:
1402 @ref{Breath marks}.
1403
1404 Internals Reference:
1405 @rinternals{BreathingSign}.
1406
1407 Snippets:
1408 @rlsr{Ancient notation}.
1409
1410
1411 @node Gregorian square neume ligatures
1412 @unnumberedsubsubsec Gregorian square neume ligatures
1413
1414 @cindex Square neumes ligatures
1415 @cindex Gregorian square neumes ligatures
1416
1417 There is limited support for Gregorian square neumes notation
1418 (following the style of the Editio Vaticana).  Core ligatures can
1419 already be typeset, but essential issues for serious typesetting are
1420 still lacking, such as (among others) horizontal alignment of multiple
1421 ligatures, lyrics alignment, and proper handling of accidentals.
1422
1423 The support for Gregorian neumes is enabled by @code{\include}ing
1424 @file{gregorian.ly} at the beginning of the file.  This makes available
1425 a number of extra commands to produce the neume symbols used in
1426 plainchant notation.
1427
1428
1429
1430 Note heads can be @emph{modified} and/or @emph{joined}.
1431
1432 @itemize
1433 @item The shape of
1434 the note head can be modified by @emph{prefixing} the note name
1435 with any of the following commands:
1436 @funindex \virga
1437 @code{\virga},
1438 @funindex \stropha
1439 @code{\stropha},
1440 @funindex \inclinatum
1441 @code{\inclinatum},
1442 @funindex \auctum
1443 @code{\auctum},
1444 @funindex \descendens
1445 @code{\descendens},
1446 @funindex \ascendens
1447 @code{\ascendens},
1448 @funindex \oriscus
1449 @code{\oriscus},
1450 @funindex \quilisma
1451 @code{\quilisma},
1452 @funindex \deminutum
1453 @code{\deminutum},
1454 @funindex \cavum
1455 @code{\cavum},
1456 @funindex \linea
1457 @code{\linea}.
1458
1459 @item Ligatures, properly speaking (i.e. notes joined together), are
1460 produced by placing one of the joining commands @code{\pes} or
1461 @code{\flexa}, for upwards and downwards movement, respectively,
1462 @emph{between} the notes to be joined.
1463 @end itemize
1464
1465 A note name without any qualifiers will produce a @emph{punctum}.
1466 All other neumes, including the single-note neumes with a
1467 different shape such as the @emph{virga}, are in principle
1468 considered as ligatures and should therefore be placed
1469 between @code{\[...\]}.
1470 @c Regarding the @emph{punctum}, @code{b} and @code{\[ b \]} are
1471 @c equivalent.
1472
1473 @noindent
1474 Single-note neumes:
1475
1476 @itemize
1477 @item The @emph{punctum} is the basic note shape (in the
1478 @emph{Vaticana} style: a square with some curvation for
1479 typographical finesse).  In addition to the regular
1480 @emph{punctum}, there is also the oblique @emph{punctum
1481 inclinatum}, produced with the prefix @code{\inclinatum}.  The
1482 regular @emph{punctum} can be modified with @code{\cavum}, which
1483 produces a hollow note, and @code{\linea}, which draws vertical
1484 lines on either side of the note.
1485
1486 @item The @emph{virga} has a descending stem on the right side.  It is
1487 produced by the modifier @code{\virga}.
1488 @end itemize
1489
1490 @noindent
1491 Ligatures
1492
1493 Unlike most other neumes notation systems, the typographical
1494 appearance of ligatures is not directly dictated by the input
1495 commands, but follows certain conventions dependent on musical
1496 meaning.  For example, a three-note ligature with the musical shape
1497 low-high-low, such as @code{\[ a \pes b \flexa g \]}, produces a
1498 Torculus consisting of three Punctum heads, while the shape
1499 high-low-high, such as @code{\[ a \flexa g \pes b \]}, produces a
1500 Porrectus with a curved flexa shape and only a single Punctum
1501 head.  There is no command to explicitly typeset the curved flexa
1502 shape; the decision of when to typeset a curved flexa shape is
1503 based on the musical input.  The idea of this approach is to
1504 separate the musical aspects of the input from the notation style
1505 of the output.  This way, the same input can be reused to typeset
1506 the same music in a different style of Gregorian chant notation.
1507
1508 @noindent
1509 Liquescent neumes
1510
1511 Another main category of notes in Gregorian chant is the so-called
1512 liquescent neumes.  They are used under certain circumstances at
1513 the end of a syllable which ends in a @q{liquescent} letter, i.e.
1514 the sounding consonants that can hold a tone (the nasals, l, r, v,
1515 j, and their diphthong equivalents).  Thus, the liquescent neumes
1516 are never used alone (although some of them can be produced), and
1517 they always fall at the end of a ligature.
1518
1519 Liquescent neumes are represented graphically in two different,
1520 more or less interchangeable ways: with a smaller note or by
1521 @q{twisting} the main note upwards or downwards.  The first is
1522 produced by making a regular @code{pes} or @code{flexa} and
1523 modifying the shape of the second note:
1524 @code{\[ a \pes \deminutum b \] }, the second by modifying the shape
1525 of a single-note neume with @code{\auctum} and one of the direction
1526 markers @code{\descendens} or @code{\ascendens}, e.g.,
1527 @code{ \[ \auctum \descendens a \] }.
1528
1529 @noindent
1530 Special signs
1531
1532 A third category of signs is made up of a small number of signs
1533 with a special meaning (which, incidentally, in most cases is only
1534 vaguely known): the @emph{quilisma}, the @emph{oriscus}, and the
1535 @emph{strophicus}.  These are all produced by prefixing a note name
1536 with the corresponding modifier, @code{\quilisma},
1537 @code{\oriscus}, or @code{\stropha}.
1538
1539 Virtually, within the ligature delimiters @code{\[} and @code{\]},
1540 any number of heads may be accumulated to form a single ligature,
1541 and head prefixes like @code{\pes}, @code{\flexa}, @code{\virga},
1542 @code{\inclinatum}, etc. may be mixed in as desired.  The use of
1543 the set of rules that underlies the construction of the ligatures
1544 in the above table is accordingly extrapolated.  This way,
1545 infinitely many different ligatures can be created.
1546
1547 Note that the use of these signs in the music itself follows
1548 certain rules, which are not checked by LilyPond.  E.g., the
1549 @emph{quilisma} is always the middle note of an ascending
1550 ligature, and usually falls on a half-tone step, but it is
1551 perfectly possible, although incorrect, to make a single-note
1552 quilisma.
1553
1554 In addition to the note signs, @file{gregorian.ly} also defines the
1555 commands @code{\versus}, @code{\responsum}, @code{\ij},
1556 @code{\iij}, @code{\IJ}, and @code{\IIJ}, that will produce the
1557 corresponding characters, e.g., for use in lyrics, as section
1558 markers, etc.  These commands use special Unicode characters and
1559 will only work if a font is used which supports them.
1560
1561
1562 @c neume table
1563
1564 The following table shows a limited, but still representative pool
1565 of Gregorian ligatures, together with the code fragments that
1566 produce the ligatures.  The table is based on the extended neumes
1567 table of the 2nd volume of the Antiphonale Romanum
1568 (@emph{Liber Hymnarius}), published 1983 by the monks of Solesmes.
1569 The first column gives the name of the ligature, with the main form in
1570 boldface and the liquescent forms in italics.  The third column
1571 shows the code fragment that produces this ligature, using
1572 @code{g}, @code{a}, and @code{b} as example pitches.
1573
1574
1575 @b{Single-note neums}
1576
1577 @multitable @columnfractions .4 .2 .4
1578
1579 @item
1580 @b{Basic} and @emph{Liquescent} forms
1581 @tab
1582 @b{Output}
1583 @tab
1584 @b{LilyPond@*
1585 code}
1586
1587 @c TODO: \layout block is identical in all of the below examples.
1588 @c Therefore, it should somehow be included rather than duplicated all
1589 @c the time.  --jr
1590
1591 @c why not make variables in ly/engraver-init.ly? --hwn
1592
1593 @c Because it's just used to typeset plain notes without
1594 @c a staff for demonstration purposes rather than something
1595 @c special of Gregorian chant notation.  --jr
1596
1597
1598 @item
1599 @b{Punctum}
1600 @tab
1601 @lilypond[staffsize=26,line-width=1.5\cm]
1602 \include "gregorian.ly"
1603 \score {
1604   \transpose c c' {
1605     % Punctum
1606     \[ b \]
1607   }
1608 \layout { \neumeDemoLayout }}
1609 @end lilypond
1610 @tab
1611 @code{\[ b \]}
1612
1613 @item
1614 @tab
1615 @lilypond[staffsize=26,line-width=1.5\cm]
1616 \include "gregorian.ly"
1617 \score {
1618   \transpose c c' {
1619     % Punctum
1620     \[ \cavum b \]
1621   }
1622 \layout { \neumeDemoLayout }}
1623 @end lilypond
1624 @tab
1625 @code{\[ \cavum b \]}
1626
1627 @item
1628 @tab
1629 @lilypond[staffsize=26,line-width=1.5\cm]
1630 \include "gregorian.ly"
1631 \score {
1632   \transpose c c' {
1633     % Punctum
1634     \[ \linea b \]
1635   }
1636 \layout { \neumeDemoLayout }}
1637 @end lilypond
1638 @tab
1639 @code{\[ \linea b \]}
1640
1641 @item
1642 @emph{Punctum Auctum Ascendens}
1643 @tab
1644 @lilypond[staffsize=26,line-width=2.5\cm]
1645 \include "gregorian.ly"
1646 \score {
1647   \transpose c c' {
1648     % Punctum Auctum Ascendens
1649     \[ \auctum \ascendens b \]
1650   }
1651 \layout { \neumeDemoLayout }}
1652 @end lilypond
1653 @tab
1654 @code{\[ \auctum \ascendens b \]}
1655
1656 @item
1657 @emph{Punctum Auctum Descendens}
1658 @tab
1659 @lilypond[staffsize=26,line-width=2.5\cm]
1660 \include "gregorian.ly"
1661 \score {
1662   \transpose c c' {
1663     % Punctum Auctum Descendens
1664     \[ \auctum \descendens b \]
1665   }
1666 \layout { \neumeDemoLayout }}
1667 @end lilypond
1668 @tab
1669 @code{\[ \auctum \descendens b \]}
1670
1671 @item
1672 @b{Punctum inclinatum}
1673 @tab
1674 @lilypond[staffsize=26,line-width=1.5\cm]
1675 \include "gregorian.ly"
1676 \score {
1677   \transpose c c' {
1678     % Punctum Inclinatum
1679     \[ \inclinatum b \]
1680   }
1681 \layout { \neumeDemoLayout }}
1682 @end lilypond
1683 @tab
1684 @code{\[ \inclinatum b \]}
1685
1686 @item
1687 @emph{Punctum Inclinatum Auctum}
1688 @tab
1689 @lilypond[staffsize=26,line-width=2.5\cm]
1690 \include "gregorian.ly"
1691 \score {
1692   \transpose c c' {
1693     % Punctum Inclinatum Auctum
1694     \[ \inclinatum \auctum b \]
1695   }
1696 \layout { \neumeDemoLayout }}
1697 @end lilypond
1698 @tab
1699 @code{\[ \inclinatum \auctum b \]}
1700
1701 @item
1702 @emph{Punctum Inclinatum Parvum}
1703 @tab
1704 @lilypond[staffsize=26,line-width=1.0\cm]
1705 \include "gregorian.ly"
1706 \score {
1707   \transpose c c' {
1708     % Punctum Inclinatum Parvum
1709     \[ \inclinatum \deminutum b \]
1710   }
1711 \layout { \neumeDemoLayout }}
1712 @end lilypond
1713 @tab
1714 @code{\[ \inclinatum \deminutum b \]}
1715
1716 @item
1717 @b{Virga}
1718 @tab
1719 @lilypond[staffsize=26,line-width=1.0\cm]
1720 \include "gregorian.ly"
1721 \score {
1722   \transpose c c' {
1723     % Virga
1724     \[ \virga b \]
1725   }
1726 \layout { \neumeDemoLayout }}
1727 @end lilypond
1728 @tab
1729
1730 @end multitable
1731
1732 @noindent
1733 @b{Two-note ligatures}
1734
1735 @multitable @columnfractions .4 .2 .4
1736
1737 @item
1738 @b{Clivis vel Flexa}
1739 @tab
1740 @lilypond[staffsize=26,line-width=1.0\cm]
1741 \include "gregorian.ly"
1742 \score {
1743   \transpose c c' {
1744     % Clivis vel Flexa
1745     \[ b \flexa g \]
1746   }
1747 \layout { \neumeDemoLayout }}
1748 @end lilypond
1749 @tab
1750 @code{\[ b \flexa g \]}
1751
1752
1753 @item
1754 @emph{Clivis Aucta Descendens}
1755 @tab
1756 @lilypond[staffsize=26,line-width=2.0\cm]
1757 \include "gregorian.ly"
1758 \score {
1759   \transpose c c' {
1760     % Clivis Aucta Descendens
1761     \[ b \flexa \auctum \descendens g \]
1762   }
1763 \layout { \neumeDemoLayout }}
1764 @end lilypond
1765 @tab
1766 @code{\[ b \flexa \auctum \descendens g \]}
1767
1768 @item
1769 @emph{Clivis Aucta Ascendens}
1770 @tab
1771 @lilypond[staffsize=26,line-width=2.0\cm]
1772 \include "gregorian.ly"
1773 \score {
1774   \transpose c c' {
1775     % Clivis Aucta Ascendens
1776     \[ b \flexa \auctum \ascendens g \]
1777   }
1778 \layout { \neumeDemoLayout }}
1779 @end lilypond
1780 @tab
1781 @code{\[ b \flexa \auctum \ascendens g \]}
1782
1783 @item
1784 @emph{Cephalicus}
1785 @tab
1786 @lilypond[staffsize=26,line-width=2.0\cm]
1787 \include "gregorian.ly"
1788 \score {
1789   \transpose c c' {
1790     % Cephalicus
1791     \[ b \flexa \deminutum g \]
1792   }
1793 \layout { \neumeDemoLayout }}
1794 @end lilypond
1795 @tab
1796 @code{\[ b \flexa \deminutum g \]}
1797
1798 @item
1799 @b{Podatus/Pes}
1800 @tab
1801 @lilypond[staffsize=26,line-width=1.0\cm]
1802 \include "gregorian.ly"
1803 \score {
1804   \transpose c c' {
1805     % Podatus vel Pes
1806     \[ g \pes b \]
1807   }
1808 \layout { \neumeDemoLayout }}
1809 @end lilypond
1810 @tab
1811 @code{\[ g \pes b \]}
1812
1813 @item
1814 @emph{Pes Auctus Descendens}
1815 @tab
1816 @lilypond[staffsize=26,line-width=1.0\cm]
1817 \include "gregorian.ly"
1818 \score {
1819   \transpose c c' {
1820         % Pes Auctus Descendens
1821     \[ g \pes \auctum \descendens b \]
1822   }
1823 \layout { \neumeDemoLayout }}
1824 @end lilypond
1825 @tab
1826 @code{\[ g \pes \auctum \descendens b \]}
1827
1828 @item
1829 @emph{Pes Auctus Ascendens}
1830 @tab
1831 @lilypond[staffsize=26,line-width=1.0\cm]
1832 \include "gregorian.ly"
1833 \score {
1834   \transpose c c' {
1835     % Pes Auctus Ascendens
1836     \[ g \pes \auctum \ascendens b \]
1837   }
1838 \layout { \neumeDemoLayout }}
1839 @end lilypond
1840 @tab
1841 @code{\[ g \pes \auctum \ascendens b \]}
1842
1843 @item
1844 @emph{Epiphonus}
1845 @tab
1846 @lilypond[staffsize=26,line-width=1.0\cm]
1847 \include "gregorian.ly"
1848 \score {
1849   \transpose c c' {
1850         % Epiphonus
1851     \[ g \pes \deminutum b \]
1852   }
1853 \layout { \neumeDemoLayout }}
1854 @end lilypond
1855 @tab
1856 @code{\[ g \pes \deminutum b \]}
1857
1858 @item
1859 @emph{Pes Initio Debilis}
1860 @tab
1861 @lilypond[staffsize=26,line-width=1.0\cm]
1862 \include "gregorian.ly"
1863 \score {
1864   \transpose c c' {
1865     % Pes Initio Debilis
1866     \[ \deminutum g \pes b \]
1867   }
1868 \layout { \neumeDemoLayout }}
1869 @end lilypond
1870 @tab
1871 @code{\[ \deminutum g \pes b \]}
1872
1873 @item
1874 @emph{Pes Auctus Descendens Initio Debilis}
1875 @tab
1876 @lilypond[staffsize=26,line-width=1.0\cm]
1877 \include "gregorian.ly"
1878 \score {
1879   \transpose c c' {
1880     % Pes Auctus Descendens Initio Debilis
1881     \[ \deminutum g \pes \auctum \descendens b \]
1882   }
1883 \layout { \neumeDemoLayout }}
1884 @end lilypond
1885 @tab
1886 @code{\[ \deminutum g \pes \auctum \descendens b \]}
1887
1888 @end multitable
1889
1890 @noindent
1891 @b{Multi-note ligatures}
1892
1893 @multitable @columnfractions .4 .2 .4
1894
1895 @item
1896 @b{Torculus}
1897 @tab
1898 @lilypond[staffsize=26,line-width=1.0\cm]
1899 \include "gregorian.ly"
1900 \score {
1901   \transpose c c' {
1902     % Torculus
1903     \[ a \pes b \flexa g \]
1904   }
1905 \layout { \neumeDemoLayout }}
1906 @end lilypond
1907 @tab
1908 @code{\[ a \pes b \flexa g \]}
1909
1910 @item
1911 @emph{Torculus Auctus Descendens}
1912 @tab
1913 @lilypond[staffsize=26,line-width=1.0\cm]
1914 \include "gregorian.ly"
1915 \score {
1916   \transpose c c' {
1917         % Torculus Auctus Descendens
1918     \[ a \pes b \flexa \auctum \descendens g \]
1919   }
1920 \layout { \neumeDemoLayout }}
1921 @end lilypond
1922 @tab
1923 @code{\[ a \pes b \flexa \auctum \descendens g \]}
1924
1925 @item
1926 @emph{Torculus Deminutus}
1927 @tab
1928 @lilypond[staffsize=26,line-width=1.0\cm]
1929 \include "gregorian.ly"
1930 \score {
1931   \transpose c c' {
1932         % Torculus Deminutus
1933     \[ a \pes b \flexa \deminutum g \]
1934   }
1935 \layout { \neumeDemoLayout }}
1936 @end lilypond
1937 @tab
1938 @code{\[ a \pes b \flexa \deminutum g \]}
1939
1940 @item
1941 @emph{Torculus Initio Debilis}
1942 @tab
1943 @lilypond[staffsize=26,line-width=1.0\cm]
1944 \include "gregorian.ly"
1945 \score {
1946   \transpose c c' {
1947         % Torculus Initio Debilis
1948     \[ \deminutum a \pes b \flexa g \]
1949   }
1950 \layout { \neumeDemoLayout }}
1951 @end lilypond
1952 @tab
1953 @code{\[ \deminutum a \pes b \flexa g \]}
1954
1955 @item
1956 @emph{Torculus Auctus Descendens Initio Debilis}
1957 @tab
1958 @lilypond[staffsize=26,line-width=1.0\cm]
1959 \include "gregorian.ly"
1960 \score {
1961   \transpose c c' {
1962         % Torculus Auctus Descendens Initio Debilis
1963     \[ \deminutum a \pes b \flexa \auctum \descendens g \]
1964   }
1965 \layout { \neumeDemoLayout }}
1966 @end lilypond
1967 @tab
1968 @code{\[ \deminutum a \pes b \flexa \auctum \descendens g \]}
1969
1970 @item
1971 @emph{Torculus Deminutus Initio Debilis}
1972 @tab
1973 @lilypond[staffsize=26,line-width=1.0\cm]
1974 \include "gregorian.ly"
1975 \score {
1976   \transpose c c' {
1977         % Torculus Deminutus Initio Debilis
1978     \[ \deminutum a \pes b \flexa \deminutum g \]
1979   }
1980 \layout { \neumeDemoLayout }}
1981 @end lilypond
1982 @tab
1983 @code{\[ \deminutum a \pes b \flexa \deminutum g \]}
1984
1985 @item
1986 @b{Porrectus}
1987 @tab
1988 @lilypond[staffsize=26,line-width=1.0\cm]
1989 \include "gregorian.ly"
1990 \score {
1991   \transpose c c' {
1992     % Porrectus
1993     \[ a \flexa g \pes b \]
1994   }
1995 \layout { \neumeDemoLayout }}
1996 @end lilypond
1997 @tab
1998 @code{\[ a \flexa g \pes b \]}
1999
2000 @item
2001 @emph{Porrectus Auctus Descendens}
2002 @tab
2003 @lilypond[staffsize=26,line-width=1.0\cm]
2004 \include "gregorian.ly"
2005 \score {
2006   \transpose c c' {
2007         % Porrectus Auctus Descendens
2008     \[ a \flexa g \pes \auctum \descendens b \]
2009   }
2010 \layout { \neumeDemoLayout }}
2011 @end lilypond
2012 @tab
2013 @code{\[ a \flexa g \pes \auctum \descendens b \]}
2014
2015 @item
2016 @emph{Porrectus Deminutus}
2017 @tab
2018 @lilypond[staffsize=26,line-width=1.0\cm]
2019 \include "gregorian.ly"
2020 \score {
2021   \transpose c c' {
2022         % Porrectus Deminutus
2023     \[ a \flexa g \pes \deminutum b \]
2024   }
2025 \layout { \neumeDemoLayout }}
2026 @end lilypond
2027 @tab
2028 @code{\[ a \flexa g \pes \deminutum b \]}
2029
2030 @item
2031 @b{Climacus}
2032 @tab
2033 @lilypond[staffsize=26,line-width=1.0\cm]
2034 \include "gregorian.ly"
2035 \score {
2036   \transpose c c' {
2037     % Climacus
2038     \[ \virga b \inclinatum a \inclinatum g \]
2039   }
2040 \layout { \neumeDemoLayout }}
2041 @end lilypond
2042 @tab
2043 @code{\[ \virga b \inclinatum a \inclinatum g \]}
2044
2045 @item
2046 @emph{Climacus Auctus}
2047 @tab
2048 @lilypond[staffsize=26,line-width=1.0\cm]
2049 \include "gregorian.ly"
2050 \score {
2051   \transpose c c' {
2052         % Climacus Auctus
2053     \[ \virga b \inclinatum a \inclinatum \auctum g \]
2054   }
2055 \layout { \neumeDemoLayout }}
2056 @end lilypond
2057 @tab
2058 @code{\[ \virga b \inclinatum a \inclinatum \auctum g \]}
2059
2060 @item
2061 @emph{Climacus Deminutus}
2062 @tab
2063 @lilypond[staffsize=26,line-width=1.0\cm]
2064 \include "gregorian.ly"
2065 \score {
2066   \transpose c c' {
2067         % Climacus Deminutus
2068     \[ \virga b \inclinatum a \inclinatum \deminutum g \]
2069   }
2070 \layout { \neumeDemoLayout }}
2071 @end lilypond
2072 @tab
2073 @code{\[ \virga b \inclinatum a \inclinatum \deminutum g \]}
2074
2075 @item
2076 @b{Scandicus}
2077 @tab
2078 @lilypond[staffsize=26,line-width=1.0\cm]
2079 \include "gregorian.ly"
2080 \score {
2081   \transpose c c' {
2082     % Scandicus
2083     \[ g \pes a \virga b \]
2084   }
2085 \layout { \neumeDemoLayout }}
2086 @end lilypond
2087 @tab
2088 @code{\[ g \pes a \virga b \]}
2089
2090 @item
2091 @emph{Scandicus Auctus Descendens}
2092 @tab
2093 @lilypond[staffsize=26,line-width=1.0\cm]
2094 \include "gregorian.ly"
2095 \score {
2096   \transpose c c' {
2097         % Scandicus Auctus Descendens
2098     \[ g \pes a \pes \auctum \descendens b \]
2099   }
2100 \layout { \neumeDemoLayout }}
2101 @end lilypond
2102 @tab
2103 @code{\[ g \pes a \pes \auctum \descendens b \]}
2104
2105 @item
2106 @emph{Scandicus Deminutus}
2107 @tab
2108 @lilypond[staffsize=26,line-width=1.0\cm]
2109 \include "gregorian.ly"
2110 \score {
2111   \transpose c c' {
2112         % Scandicus Deminutus
2113     \[ g \pes a \pes \deminutum b \]
2114   }
2115 \layout { \neumeDemoLayout }}
2116 @end lilypond
2117 @tab
2118 @code{\[ g \pes a \pes \deminutum b \]}
2119
2120 @end multitable
2121
2122 @noindent
2123 @b{Special Signs}
2124
2125 @multitable @columnfractions .4 .2 .4
2126
2127 @item
2128 @b{Quilisma}
2129 @tab
2130 @lilypond[staffsize=26,line-width=1.0\cm]
2131 \include "gregorian.ly"
2132 \score {
2133   \transpose c c' {
2134     % Quilisma
2135     \[ g \pes \quilisma a \pes b \]
2136   }
2137 \layout { \neumeDemoLayout }}
2138 @end lilypond
2139 @tab
2140 @code{\[ g \pes \quilisma a \pes b \]}
2141
2142 @item
2143 @emph{Quilisma Pes Auctus Descendens}
2144 @tab
2145 @lilypond[staffsize=26,line-width=1.0\cm]
2146 \include "gregorian.ly"
2147 \score {
2148   \transpose c c' {
2149     % Quilisma Pes Auctus Descendens
2150     \[ g \quilisma a \pes \auctum \descendens b \]
2151   }
2152 \layout { \neumeDemoLayout }}
2153 @end lilypond
2154 @tab
2155 @code{\[ \quilisma g \pes \auctum \descendens b \]}
2156
2157 @item
2158 @b{Oriscus}
2159 @tab
2160 @lilypond[staffsize=26,line-width=1.0\cm]
2161 \include "gregorian.ly"
2162 \score {
2163   \transpose c c' {
2164     % Oriscus
2165     \[ \oriscus b \]
2166   }
2167 \layout { \neumeDemoLayout }}
2168 @end lilypond
2169 @tab
2170 @code{\[ \oriscus b \]}
2171
2172 @item
2173 @emph{Pes Quassus}
2174 @tab
2175 @lilypond[staffsize=26,line-width=1.0\cm]
2176 \include "gregorian.ly"
2177 \score {
2178   \transpose c c' {
2179     % Pes Quassus
2180     \[ \oriscus g \pes \virga b \]
2181   }
2182 \layout { \neumeDemoLayout }}
2183 @end lilypond
2184 @tab
2185 @code{\[ \oriscus g \pes \virga b \]}
2186
2187 @item
2188 @emph{Pes Quassus Auctus Descendens}
2189 @tab
2190 @lilypond[staffsize=26,line-width=1.0\cm]
2191 \include "gregorian.ly"
2192 \score {
2193   \transpose c c' {
2194     % Pes Quassus Auctus Descendens
2195     \[ \oriscus g \pes \auctum \descendens b \]
2196   }
2197 \layout { \neumeDemoLayout }}
2198 @end lilypond
2199 @tab
2200 @code{\[ \oriscus g \pes \auctum \descendens b \]}
2201
2202 @item
2203 @b{Salicus}
2204 @tab
2205 @lilypond[staffsize=26,line-width=1.0\cm]
2206 \include "gregorian.ly"
2207 \score {
2208   \transpose c c' {
2209     % Salicus
2210     \[ g \oriscus a \pes \virga b \]
2211   }
2212 \layout { \neumeDemoLayout }}
2213 @end lilypond
2214 @tab
2215 @code{\[ g \oriscus a \pes \virga b \]}
2216
2217 @item
2218 @emph{Salicus Auctus Descendens}
2219 @tab
2220 @lilypond[staffsize=26,line-width=1.0\cm]
2221 \include "gregorian.ly"
2222 \score {
2223   \transpose c c' {
2224     % Salicus Auctus Descendens
2225     \[ g \oriscus a \pes \auctum \descendens b \]
2226   }
2227 \layout { \neumeDemoLayout }}
2228 @end lilypond
2229 @tab
2230 @code{\[ g \oriscus a \pes \auctum \descendens b \]}
2231
2232 @item
2233 @b{(Apo)stropha}
2234 @tab
2235 @lilypond[staffsize=26,line-width=1.0\cm]
2236 \include "gregorian.ly"
2237 \score {
2238   \transpose c c' {
2239     % Stropha
2240     \[ \stropha b \]
2241   }
2242 \layout { \neumeDemoLayout }}
2243 @end lilypond
2244 @tab
2245 @code{\[ \stropha b \]}
2246
2247 @item
2248 @emph{Stropha Aucta}
2249 @tab
2250 @lilypond[staffsize=26,line-width=1.0\cm]
2251 \include "gregorian.ly"
2252 \score {
2253   \transpose c c' {
2254     % Stropha Aucta
2255     \[ \stropha \auctum b \]
2256   }
2257 \layout { \neumeDemoLayout }}
2258 @end lilypond
2259 @tab
2260 @code{\[ \stropha \auctum b \]}
2261
2262 @item
2263 @b{Bistropha}
2264 @tab
2265 @lilypond[staffsize=26,line-width=1.0\cm]
2266 \include "gregorian.ly"
2267 \score {
2268   \transpose c c' {
2269     % Bistropha
2270     \[ \stropha b \stropha b \]
2271   }
2272 \layout { \neumeDemoLayout }}
2273 @end lilypond
2274 @tab
2275 @code{\[ \stropha b \stropha b \]}
2276
2277 @item
2278 @b{Tristropha}
2279 @tab
2280 @lilypond[staffsize=26,line-width=1.0\cm]
2281 \include "gregorian.ly"
2282 \score {
2283   \transpose c c' {
2284     % Tristropha
2285     \[ \stropha b \stropha b \stropha b \]
2286   }
2287 \layout { \neumeDemoLayout }}
2288 @end lilypond
2289 @tab
2290 @code{\[ \stropha b \stropha b \stropha b \]}
2291
2292 @item
2293 @emph{Trigonus}
2294 @tab
2295 @lilypond[staffsize=26,line-width=1.0\cm]
2296 \include "gregorian.ly"
2297 \score {
2298   \transpose c c' {
2299     % Trigonus
2300     \[ \stropha b \stropha b \stropha a \]
2301   }
2302   \layout { \neumeDemoLayout }
2303 }
2304 @end lilypond
2305 @tab
2306 @code{\[ \stropha b \stropha b \stropha a \]}
2307
2308 @end multitable
2309
2310
2311 @predefined
2312 The following head prefixes are supported:
2313 @funindex \virga
2314 @code{\virga},
2315 @funindex \stropha
2316 @code{\stropha},
2317 @funindex \inclinatum
2318 @code{\inclinatum},
2319 @funindex \auctum
2320 @code{\auctum},
2321 @funindex \descendens
2322 @code{\descendens},
2323 @funindex \ascendens
2324 @code{\ascendens},
2325 @funindex \oriscus
2326 @code{\oriscus},
2327 @funindex \quilisma
2328 @code{\quilisma},
2329 @funindex \deminutum
2330 @code{\deminutum},
2331 @funindex \cavum
2332 @code{\cavum},
2333 @funindex \linea
2334 @code{\linea}.
2335 @endpredefined
2336
2337 Head prefixes can be accumulated, though restrictions apply.  For
2338 example, either @code{\descendens} or @code{\ascendens} can be applied
2339 to a head, but not both to the same head.
2340
2341 @funindex \pes
2342 @funindex \flexa
2343
2344 Two adjacent heads can be tied together with the @code{\pes} and
2345 @code{\flexa} infix commands for a rising and falling line of melody,
2346 respectively.
2347
2348 @funindex \augmentum
2349
2350 Use the unary music function @code{\augmentum} to add augmentum dots.
2351
2352 @seealso
2353 Music Glossary:
2354 @rglos{ligature}.
2355
2356 Notation Reference:
2357 @ref{Gregorian square neume ligatures},
2358 @ref{White mensural ligatures},
2359 @ref{Ligatures}.
2360
2361
2362 @knownissues
2363 When an @code{\augmentum} dot appears at the end of the last staff
2364 within a ligature, it is sometimes vertically placed wrong.  As a
2365 workaround, add an additional skip note (e.g., @code{s8}) as last note
2366 of the staff.
2367
2368 @code{\augmentum} should be implemented as a head prefix rather than a
2369 unary music function, such that @code{\augmentum} can be intermixed
2370 with head prefixes in arbitrary order.
2371
2372
2373 @node Working with ancient music---scenarios and solutions
2374 @subsection Working with ancient music---scenarios and solutions
2375
2376 @menu
2377 * Incipits::
2378 * Mensurstriche layout::
2379 * Transcribing Gregorian chant::
2380 * Ancient and modern from one source::
2381 * Editorial markings::
2382 @end menu
2383
2384 Working with ancient music frequently involves particular tasks
2385 which differ considerably from the modern notation for which
2386 LilyPond is designed.  In the rest of this section, a number of
2387 typical scenarios are outlined, with suggestions of solutions.
2388 These involve:
2389
2390 @itemize
2391 @item how to make incipits (i.e. prefatory material to indicate
2392 what the original has looked like) to modern transcriptions of
2393 mensural music;
2394 @item how to achieve the @emph{Mensurstriche} layout frequently
2395 used for modern transcriptions of polyphonic music;
2396 @item how to transcribe Gregorian chant in modern notation;
2397 @item how to generate both ancient and modern notation from the
2398 same source.
2399 @end itemize
2400
2401
2402 @node Incipits
2403 @unnumberedsubsubsec Incipits
2404
2405 @c TODO Add text
2406 @c clefs, mensuration signs etc from lsr and -user
2407 @c use snippet Transcription-of-ancient-music-with-incipit
2408 TBC
2409
2410
2411 @c @seealso
2412 @c ... and reference to other sections ...
2413
2414
2415 @node Mensurstriche layout
2416 @unnumberedsubsubsec Mensurstriche layout
2417
2418 @emph{Mensurstriche} (@q{mensuration lines}) is the accepted term
2419 for bar lines that are drawn between the staves of a system but
2420 not through the staves themselves.  It is a common way to preserve
2421 the rhythmic appearance of the original, i.e. not having to break
2422 syncopated notes at bar lines, while still providing the
2423 orientation aids that bar lines give.
2424
2425
2426 @lilypondfile[verbatim,lilyquote,texidoc]
2427 {mensurstriche-layout-bar-lines-between-the-staves.ly}
2428
2429 @c This simple setup will take care of the
2430 @c TODO Add text about lyrics to the lowest line, to be placed
2431 @c outside the StaffGroup.
2432 @c from lsr and -user
2433 @c TBC
2434
2435
2436 @c @seealso
2437 @c ... and reference to other sections ...
2438
2439
2440 @node Transcribing Gregorian chant
2441 @unnumberedsubsubsec Transcribing Gregorian chant
2442
2443 Gregorian chant can be transcribed into modern notation with a
2444 number of simple tweaks.
2445
2446 @b{Stems}.  Stems can be left out altogether by @code{\remove}-ing
2447 the @code{Stem_engraver} from the Voice context:
2448
2449 @example
2450 \layout @{
2451   ...
2452   \context @{
2453     \Voice
2454       \remove "Stem_engraver"
2455   @}
2456 @}
2457 @end example
2458
2459 However, in some transcription styles, stems are used
2460 occasionally, for example to indicate the transition from a
2461 single-tone recitative to a fixed melodic gesture.  In these cases,
2462 one can use either @code{\override Stem #'transparent = ##t} or
2463 @code{\override Stem #'length = #0} instead, and restore the stem
2464 when needed with the corresponding @code{\once \override Stem
2465 #'transparent = ##f} (see example below).
2466
2467 @b{Timing.} For unmetered chant, there are several alternatives.
2468
2469 The Time_signature_engraver can be removed from the Staff context
2470 without any negative side effects.  The alternative, to make it
2471 transparent, will leave an empty space in the score, since the
2472 invisible signature will still take up space.
2473
2474 In many cases, @code{\set Score.timing = ##f} will give good
2475 results.  Another alternative is to use @code{\CadenzaOn} and
2476 @code{\CadenzaOff}.
2477
2478 To remove the bar lines, the radical approach is to @code{\remove}
2479 the Bar_engraver from the Staff context.  Again, one may want to
2480 use @code{\override BarLine #'transparent = ##t} instead, if an
2481 occasional barline is wanted.
2482
2483 A common type of transcription is recitativic chant where the
2484 repeated notes are indicated with a single breve.  The text to
2485 the recitation tone can  be dealt with in two different ways:
2486 either set as a single, left-aligned syllable:
2487
2488 @lilypond[verbatim,ragged-right]
2489 \include "gregorian.ly"
2490 chant = \relative c' {
2491   \clef "G_8"
2492   c\breve c4 b4 a c2 c4  \divisioMaior
2493   c\breve c4 c f, f \finalis
2494 }
2495
2496 verba = \lyricmode {
2497   \once \override LyricText #'self-alignment-X = #-1
2498   "Noctem quietam et" fi -- nem per -- fec -- tum
2499   \once \override LyricText #'self-alignment-X = #-1
2500   "concedat nobis Dominus" om -- ni -- po -- tens.
2501 }
2502 \score {
2503   \new Staff <<
2504   \new Voice = "melody" \chant
2505   \new Lyrics = "one" \lyricsto melody \verba
2506   >>
2507   \layout {
2508     \context {
2509       \Staff
2510       \remove "Time_signature_engraver"
2511       \remove "Bar_engraver"
2512       \override Stem #'transparent = ##t
2513     }
2514   }
2515 }
2516 @end lilypond
2517
2518 This works fine, as long as the text doesn't span a line break.  If
2519 that is the case, an alternative is to add hidden notes to the
2520 score, here in combination with changing stem visibility:
2521
2522
2523 @lilypond[verbatim,ragged-right]
2524 \include "gregorian.ly"
2525 chant = \relative c' {
2526   \clef "G_8"
2527   \set Score.timing = ##f
2528   c\breve \override NoteHead #'transparent = ##t  c c c c c
2529   \revert NoteHead #'transparent
2530   \override Stem #'transparent = ##f \stemUp c4 b4 a
2531   \override Stem #'transparent = ##t c2 c4  \divisioMaior
2532   c\breve \override NoteHead #'transparent = ##t c c c c c c c
2533   \revert NoteHead #'transparent c4 c f, f \finalis
2534 }
2535
2536 verba = \lyricmode {
2537   No -- ctem qui -- e -- tam et fi -- nem per -- fec -- tum
2538   con -- ce -- dat no -- bis Do -- mi -- nus om -- ni -- po -- tens.
2539 }
2540
2541 \score {
2542   \new Staff <<
2543     \new Voice = "melody" \chant
2544     \new Lyrics \lyricsto "melody" \verba
2545   >>
2546   \layout {
2547     \context {
2548       \Staff
2549       \remove "Time_signature_engraver"
2550       \override BarLine #'transparent = ##t
2551       \override Stem #'transparent = ##t
2552     }
2553   }
2554 }
2555 @end lilypond
2556
2557 Another common situation is transcription of neumatic or
2558 melismatic chants, i.e. chants with a varying number of notes
2559 to each syllable.  In this case, one would want to set the
2560 syllable groups clearly apart, usually also the subdivisions of a
2561 longer melisma.  One way to achieve this is to use a fixed
2562 @code{\time}, e.g., 1/4, and let each syllable or note group fill
2563 one of these measures, with the help of tuplets or shorter
2564 durations.  If the bar lines and all other rhythmical indications
2565 are made transparent, and the space around the bar lines is
2566 increased, this will give a fairly good representation in modern
2567 notation of the original.
2568
2569 To avoid that syllables of different width (such as @qq{-ri} and
2570 @qq{-rum}) spread the syllable note groups unevenly apart, the
2571 @code{#'X-extent} property of the @code{LyricText} object may be
2572 set to a fixed value.  Another, more cumbersome way would be to
2573 add the syllables as @code{\markup} elements.  If further
2574 adjustments are necessary, this can be easily done with
2575 @code{s} @q{notes}.
2576
2577 @lilypond[verbatim,quote]
2578 spiritus = \relative c' {
2579   \time 1/4
2580   \override Lyrics.LyricText #'X-extent  = #'(0 . 3)
2581   d4 \times 2/3 { f8 a g } g a a4 g f8 e
2582   d4 f8 g g8 d f g a g f4 g8 a a4  s
2583   \times 2/3 { g8 f d } e f g a g4
2584 }
2585
2586 spirLyr = \lyricmode {
2587   Spi -- ri -- _ _ tus  _ Do -- mi -- ni  _ re -- ple -- _ vit _
2588   or -- _ bem _  ter -- ra -- _ rum, al -- _ _ le -- _ lu
2589   -- _ ia.
2590 }
2591 \score {
2592   \new Staff <<
2593     \new Voice = "chant" \spiritus
2594     \new Lyrics = "one" \lyricsto "chant" \spirLyr
2595   >>
2596   \layout {
2597     \context {
2598       \Staff
2599       \remove "Time_signature_engraver"
2600       \override BarLine #'X-extent = #'(-1 . 1)
2601       \override Stem #'transparent = ##t
2602       \override Beam #'transparent = ##t
2603       \override BarLine #'transparent = ##t
2604       \override TupletNumber #'transparent = ##t
2605     }
2606   }
2607 }
2608 @end lilypond
2609
2610 @c extract from 1.6.1.1
2611
2612 @c @seealso
2613 @c ... and reference to other sections ...
2614
2615
2616 @node Ancient and modern from one source
2617 @unnumberedsubsubsec Ancient and modern from one source
2618
2619 @c TODO Add text
2620 @c Here among others the snippets about reducing note length
2621 TBC
2622
2623 @c @seealso
2624 @c ... and reference to other sections ...
2625
2626
2627 @node Editorial markings
2628 @unnumberedsubsubsec Editorial markings
2629
2630
2631 @c @node Baroque rhythmic notation
2632 @c @unnumberedsubsubsec Baroque rhythmic notation
2633
2634 @c TODO Add text
2635 @c try Till Rettig
2636 @c Add example of white note heads:
2637 @c In the french baroque some composers used white note heads in slow pieces,
2638 @c mainly in 3/2-time.  A quarter looks there like a eighth with a white
2639 @c notehead.  (Franz-Rudolf Kuhnen)
2640
2641 @c TODO Add example of this:
2642 @c I was referring to e.g. notated a8. a16, which should, if I
2643 @c remember correctly, be interpreted more like a8.. a32 (in the french
2644 @c style).  The editor might want to show that rythmic figure above the
2645 @c staff as an hint to performers.  (Karl Hammer)
2646
2647
2648 TBC
2649
2650
2651 @c @seealso
2652 @c ... and reference to other sections ...
2653