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