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