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