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