]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/ancient.itely
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[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 @lilypond[quote,ragged-right]
1240 \include "gregorian.ly"
1241 \score {
1242   <<
1243     \context VaticanaVoice {
1244       \override TextScript  #'padding = #3
1245       g a g
1246       s^\markup { "divisio minima" }
1247       \divisioMinima
1248       g a g
1249       s^\markup { "divisio maior" }
1250       \divisioMaior
1251       g a g
1252       s^\markup { "divisio maxima" }
1253       \divisioMaxima
1254       \break
1255       g a g
1256       s^\markup { "finalis" }
1257       \finalis
1258       g a g
1259       s^\markup { "virgula" }
1260       \virgula
1261       g a g
1262       s^\markup { "caesura" }
1263       \caesura
1264       g a g
1265     }
1266   >>
1267 }
1268 @end lilypond
1269
1270
1271 @predefined
1272 @funindex \virgula
1273 @code{\virgula},
1274 @funindex \caesura
1275 @code{\caesura},
1276 @funindex \divisioMinima
1277 @code{\divisioMinima},
1278 @funindex \divisioMaior
1279 @code{\divisioMaior},
1280 @funindex \divisioMaxima
1281 @code{\divisioMaxima},
1282 @funindex \finalis
1283 @code{\finalis}.
1284 @endpredefined
1285
1286
1287 @c {{{2Gregorian articulations
1288 @node Gregorian articulation signs
1289 @unnumberedsubsubsec Gregorian articulation signs
1290
1291 @cindex articulations
1292
1293 In addition to the standard articulation signs described in
1294 section @ref{Articulations and ornamentations}, articulation signs
1295 specifically designed for use with notation in @emph{Editio
1296 Vaticana} style are provided.
1297
1298 @lilypond[quote,ragged-right,verbatim]
1299 \include "gregorian.ly"
1300 \score {
1301   \new VaticanaVoice {
1302     \override TextScript #'font-family = #'typewriter
1303     \override TextScript #'font-shape = #'upright
1304     \override Script #'padding = #-0.1
1305     a\ictus_"ictus " \break
1306     a\circulus_"circulus " \break
1307     a\semicirculus_"semicirculus " \break
1308     a\accentus_"accentus " \break
1309     \[ a_"episema" \episemInitium \pes b \flexa a b \episemFinis \flexa a \]
1310   }
1311 }
1312 @end lilypond
1313
1314
1315 @c @seealso
1316 @c TODO: nothing here yet ...
1317
1318
1319 @knownissues
1320
1321 Some articulations are vertically placed too closely to the
1322 corresponding note heads.
1323
1324 The episema line is not displayed in many cases.  If it is displayed,
1325 the right end of the episema line is often too far to the right.
1326
1327
1328 @c {{{2Augmentum dots (@emph{morae})
1329 @node Augmentum dots (@emph{morae})
1330 @unnumberedsubsubsec Augmentum dots (@emph{morae})
1331
1332 Augmentum dots, also called @emph{morae}, are added with the music
1333 function @code{\augmentum}.  Note that @code{\augmentum} is
1334 implemented as a unary music function rather than as head prefix.  It
1335 applies to the immediately following music expression only.  That is,
1336 @code{\augmentum \virga c} will have no visible effect.  Instead, say
1337 @code{\virga \augmentum c} or @code{\augmentum @{\virga c@}}.  Also
1338 note that you can say @code{\augmentum @{a g@}} as a shortcut for
1339 @code{\augmentum a \augmentum g}.
1340
1341 @lilypond[quote,ragged-right,verbatim]
1342 \include "gregorian.ly"
1343 \score {
1344   \new VaticanaVoice {
1345     \[ \augmentum a \flexa \augmentum g \]
1346     \augmentum g
1347   }
1348 }
1349 @end lilypond
1350
1351
1352 @seealso
1353 Notation Reference:
1354 @ref{Breath marks}.
1355
1356 Internals Reference:
1357 @rinternals{BreathingSign}.
1358
1359 Snippets:
1360 @rlsr{Ancient notation}.
1361
1362
1363 @c {{{2Gregorian square neumes ligatures
1364 @node Gregorian square neume ligatures
1365 @unnumberedsubsubsec Gregorian square neume ligatures
1366
1367 @cindex Square neumes ligatures
1368 @cindex Gregorian square neumes ligatures
1369
1370 There is limited support for Gregorian square neumes notation
1371 (following the style of the Editio Vaticana).  Core ligatures can
1372 already be typeset, but essential issues for serious typesetting are
1373 still lacking, such as (among others) horizontal alignment of multiple
1374 ligatures, lyrics alignment, and proper handling of accidentals.
1375
1376 The support for Gregorian neumes is enabled by @code{\include}ing
1377 "gregorian.ly" at the beginning of the file.  This makes available
1378 a number of extra commands to produce the neume symbols used in
1379 plainchant notation.
1380
1381
1382
1383 Note heads can be @emph{modified} and/or @emph{joined}.
1384
1385 @itemize
1386 @item The shape of
1387 the note head can be modified by @emph{prefixing} the note name
1388 with any of the following commands:
1389 @funindex \virga
1390 @code{\virga},
1391 @funindex \stropha
1392 @code{\stropha},
1393 @funindex \inclinatum
1394 @code{\inclinatum},
1395 @funindex \auctum
1396 @code{\auctum},
1397 @funindex \descendens
1398 @code{\descendens},
1399 @funindex \ascendens
1400 @code{\ascendens},
1401 @funindex \oriscus
1402 @code{\oriscus},
1403 @funindex \quilisma
1404 @code{\quilisma},
1405 @funindex \deminutum
1406 @code{\deminutum},
1407 @funindex \cavum
1408 @code{\cavum},
1409 @funindex \linea
1410 @code{\linea}.
1411
1412 @item Ligatures, properly speaking (i.e. notes joined together), are
1413 produced by placing one of the joining commands @code{\pes} or
1414 @code{\flexa}, for upwards and downwards movement, respectively,
1415 @emph{between} the notes to be joined.
1416 @end itemize
1417
1418 A note name without any qualifiers will produce a @emph{punctum}.
1419 All other neumes, including the single-note neumes with a
1420 different shape such as the @emph{virga}, are in principle
1421 considered as ligatures and should therefore be placed
1422 between @code{\[...\]}.
1423 @c Regarding the @emph{punctum}, @code{b} and @code{\[ b \]} are
1424 @c equivalent.
1425
1426 @noindent
1427 Single-note neumes:
1428
1429 @itemize
1430 @item The @emph{punctum} is the basic note shape (in the
1431 @emph{Vaticana} style: a square with some curvation for
1432 typographical finesse).  In addition to the regular
1433 @emph{punctum}, there is also the oblique @emph{punctum
1434 inclinatum}, produced with the prefix @code{\inclinatum}.  The
1435 regular @emph{punctum} can be modified with @code{\cavum}, which
1436 produces a hollow note, and @code{\linea}, which draws vertical
1437 lines on either side of the note.
1438
1439 @item The @emph{virga} has a descending stem on the right side.  It is
1440 produced by the modifier @code{\virga}.
1441 @end itemize
1442
1443 @noindent
1444 Ligatures
1445
1446 Unlike most other neumes notation systems, the typographical
1447 appearance of ligatures is not directly dictated by the input
1448 commands, but follows certain conventions dependent on musical
1449 meaning.  For example, a three-note ligature with the musical shape
1450 low-high-low, such as @code{\[ a \pes b \flexa g \]}, produces a
1451 Torculus consisting of three Punctum heads, while the shape
1452 high-low-high, such as @code{\[ a \flexa g \pes b \]}, produces a
1453 Porrectus with a curved flexa shape and only a single Punctum
1454 head.  There is no command to explicitly typeset the curved flexa
1455 shape; the decision of when to typeset a curved flexa shape is
1456 based on the musical input.  The idea of this approach is to
1457 separate the musical aspects of the input from the notation style
1458 of the output.  This way, the same input can be reused to typeset
1459 the same music in a different style of Gregorian chant notation.
1460
1461 @noindent
1462 Liquescent neumes
1463
1464 Another main category of notes in Gregorian chant is the so-called
1465 liquescent neumes.  They are used under certain circumstances at
1466 the end of a syllable which ends in a @q{liquescent} letter, i.e.
1467 the sounding consonants that can hold a tone (the nasals, l, r, v,
1468 j, and their diphtong equivalents).  Thus, the liquescent neumes
1469 are never used alone (although some of them can be produced), and
1470 they always fall at the end of a ligature.
1471
1472 Liquescent neumes are represented graphically in two different,
1473 more or less interchangeable ways: with a smaller note or by
1474 @q{twisting} the main note upwards or downwards.  The first is
1475 produced by making a regular @code{pes} or @code{flexa} and
1476 modifying the shape of the second note: @code{\[ a \pes \deminutum
1477 b \] }, the second by modifying the shape of a single-note neume
1478 with @code{\auctum} and one of the direction markers
1479 @code{\descendens} or @code{\ascendens}, e.g., @code{ \[ \auctum
1480 \descendens a \] }.
1481
1482 @noindent
1483 Special signs
1484
1485 A third category of signs is made up of a small number of signs
1486 with a special meaning (which, incidentally, in most cases is only
1487 vaguely known): the @emph{quilisma}, the @emph{oriscus}, and the
1488 @emph{strophicus}.  These are all produced by prefixing a note name
1489 with the corresponding modifier, @code{\quilisma},
1490 @code{\oriscus}, or @code{\stropha}.
1491
1492 Virtually, within the ligature delimiters @code{\[} and @code{\]},
1493 any number of heads may be accumulated to form a single ligature,
1494 and head prefixes like @code{\pes}, @code{\flexa}, @code{\virga},
1495 @code{\inclinatum}, etc. may be mixed in as desired.  The use of
1496 the set of rules that underlies the construction of the ligatures
1497 in the above table is accordingly extrapolated.  This way,
1498 infinitely many different ligatures can be created.
1499
1500 Note that the use of these signs in the music itself follows
1501 certain rules, which are not checked by LilyPond.  E.g., the
1502 @emph{quilisma} is always the middle note of an ascending
1503 ligature, and usually falls on a half-tone step, but it is
1504 perfectly possible, although incorrect, to make a single-note
1505 quilisma.
1506
1507 In addition to the note signs, gregorian.ly also defines the
1508 commands @code{\versus}, @code{\responsum}, @code{\ij},
1509 @code{\iij}, @code{\IJ}, and @code{\IIJ}, that will produce the
1510 corresponding characters, e.g., for use in lyrics, as section
1511 markers, etc.  These commands use special unicode characters and
1512 will only work if a font is used which supports them.
1513
1514
1515 @c neume table
1516
1517 The following table shows a limited, but still representative pool
1518 of Gregorian ligatures, together with the code fragments that
1519 produce the ligatures.  The table is based on the extended neumes
1520 table of the 2nd volume of the Antiphonale Romanum (@emph{Liber
1521 Hymnarius}), published 1983 by the monks of Solesmes.  The first
1522 column gives the name of the ligature, with the main form in
1523 boldface and the liquescent forms in italics.  The third column
1524 shows the code fragment that produces this ligature, using
1525 @code{g}, @code{a}, and @code{b} as example pitches.
1526
1527
1528 @b{Single-note neums}
1529
1530 @multitable @columnfractions .4 .2 .4
1531
1532 @item
1533 @b{Basic} and @emph{Liquescent} forms
1534 @tab
1535 @b{Output}
1536 @tab
1537 @b{LilyPond@*
1538 code}
1539
1540 @c TODO: \layout block is identical in all of the below examples.
1541 @c Therefore, it should somehow be included rather than duplicated all
1542 @c the time.  --jr
1543
1544 @c why not make variables in ly/engraver-init.ly? --hwn
1545
1546 @c Because it's just used to typeset plain notes without
1547 @c a staff for demonstration purposes rather than something
1548 @c special of Gregorian chant notation.  --jr
1549
1550
1551 @item
1552 @b{Punctum}
1553 @tab
1554 @lilypond[staffsize=26,line-width=1.5\cm]
1555 \include "gregorian.ly"
1556 \score {
1557   \transpose c c' {
1558     % Punctum
1559     \[ b \]
1560   }
1561 \layout { \neumeDemoLayout }}
1562 @end lilypond
1563 @tab
1564 @code{\[ b \]}
1565
1566 @item
1567 @tab
1568 @lilypond[staffsize=26,line-width=1.5\cm]
1569 \include "gregorian.ly"
1570 \score {
1571   \transpose c c' {
1572     % Punctum
1573     \[ \cavum b \]
1574   }
1575 \layout { \neumeDemoLayout }}
1576 @end lilypond
1577 @tab
1578 @code{\[ \cavum b \]}
1579
1580 @item
1581 @tab
1582 @lilypond[staffsize=26,line-width=1.5\cm]
1583 \include "gregorian.ly"
1584 \score {
1585   \transpose c c' {
1586     % Punctum
1587     \[ \linea b \]
1588   }
1589 \layout { \neumeDemoLayout }}
1590 @end lilypond
1591 @tab
1592 @code{\[ \linea b \]}
1593
1594 @item
1595 @emph{Punctum Auctum Ascendens}
1596 @tab
1597 @lilypond[staffsize=26,line-width=2.5\cm]
1598 \include "gregorian.ly"
1599 \score {
1600   \transpose c c' {
1601     % Punctum Auctum Ascendens
1602     \[ \auctum \ascendens b \]
1603   }
1604 \layout { \neumeDemoLayout }}
1605 @end lilypond
1606 @tab
1607 @code{\[ \auctum \ascendens b \]}
1608
1609 @item
1610 @emph{Punctum Auctum Descendens}
1611 @tab
1612 @lilypond[staffsize=26,line-width=2.5\cm]
1613 \include "gregorian.ly"
1614 \score {
1615   \transpose c c' {
1616     % Punctum Auctum Descendens
1617     \[ \auctum \descendens b \]
1618   }
1619 \layout { \neumeDemoLayout }}
1620 @end lilypond
1621 @tab
1622 @code{\[ \auctum \descendens b \]}
1623
1624 @item
1625 @b{Punctum inclinatum}
1626 @tab
1627 @lilypond[staffsize=26,line-width=1.5\cm]
1628 \include "gregorian.ly"
1629 \score {
1630   \transpose c c' {
1631     % Punctum Inclinatum
1632     \[ \inclinatum b \]
1633   }
1634 \layout { \neumeDemoLayout }}
1635 @end lilypond
1636 @tab
1637 @code{\[ \inclinatum b \]}
1638
1639 @item
1640 @emph{Punctum Inclinatum Auctum}
1641 @tab
1642 @lilypond[staffsize=26,line-width=2.5\cm]
1643 \include "gregorian.ly"
1644 \score {
1645   \transpose c c' {
1646     % Punctum Inclinatum Auctum
1647     \[ \inclinatum \auctum b \]
1648   }
1649 \layout { \neumeDemoLayout }}
1650 @end lilypond
1651 @tab
1652 @code{\[ \inclinatum \auctum b \]}
1653
1654 @item
1655 @emph{Punctum Inclinatum Parvum}
1656 @tab
1657 @lilypond[staffsize=26,line-width=1.0\cm]
1658 \include "gregorian.ly"
1659 \score {
1660   \transpose c c' {
1661     % Punctum Inclinatum Parvum
1662     \[ \inclinatum \deminutum b \]
1663   }
1664 \layout { \neumeDemoLayout }}
1665 @end lilypond
1666 @tab
1667 @code{\[ \inclinatum \deminutum b \]}
1668
1669 @item
1670 @b{Virga}
1671 @tab
1672 @lilypond[staffsize=26,line-width=1.0\cm]
1673 \include "gregorian.ly"
1674 \score {
1675   \transpose c c' {
1676     % Virga
1677     \[ \virga b \]
1678   }
1679 \layout { \neumeDemoLayout }}
1680 @end lilypond
1681 @tab
1682
1683 @end multitable
1684
1685 @noindent
1686 @b{Two-note ligatures}
1687
1688 @multitable @columnfractions .4 .2 .4
1689
1690 @item
1691 @b{Clivis vel Flexa}
1692 @tab
1693 @lilypond[staffsize=26,line-width=1.0\cm]
1694 \include "gregorian.ly"
1695 \score {
1696   \transpose c c' {
1697     % Clivis vel Flexa
1698     \[ b \flexa g \]
1699   }
1700 \layout { \neumeDemoLayout }}
1701 @end lilypond
1702 @tab
1703 @code{\[ b \flexa g \]}
1704
1705
1706 @item
1707 @emph{Clivis Aucta Descendens}
1708 @tab
1709 @lilypond[staffsize=26,line-width=2.0\cm]
1710 \include "gregorian.ly"
1711 \score {
1712   \transpose c c' {
1713     % Clivis Aucta Descendens
1714     \[ b \flexa \auctum \descendens g \]
1715   }
1716 \layout { \neumeDemoLayout }}
1717 @end lilypond
1718 @tab
1719 @code{\[ b \flexa \auctum \descendens g \]}
1720
1721 @item
1722 @emph{Clivis Aucta Ascendens}
1723 @tab
1724 @lilypond[staffsize=26,line-width=2.0\cm]
1725 \include "gregorian.ly"
1726 \score {
1727   \transpose c c' {
1728     % Clivis Aucta Ascendens
1729     \[ b \flexa \auctum \ascendens g \]
1730   }
1731 \layout { \neumeDemoLayout }}
1732 @end lilypond
1733 @tab
1734 @code{\[ b \flexa \auctum \ascendens g \]}
1735
1736 @item
1737 @emph{Cephalicus}
1738 @tab
1739 @lilypond[staffsize=26,line-width=2.0\cm]
1740 \include "gregorian.ly"
1741 \score {
1742   \transpose c c' {
1743     % Cephalicus
1744     \[ b \flexa \deminutum g \]
1745   }
1746 \layout { \neumeDemoLayout }}
1747 @end lilypond
1748 @tab
1749 @code{\[ b \flexa \deminutum g \]}
1750
1751 @item
1752 @b{Podatus/Pes}
1753 @tab
1754 @lilypond[staffsize=26,line-width=1.0\cm]
1755 \include "gregorian.ly"
1756 \score {
1757   \transpose c c' {
1758     % Podatus vel Pes
1759     \[ g \pes b \]
1760   }
1761 \layout { \neumeDemoLayout }}
1762 @end lilypond
1763 @tab
1764 @code{\[ g \pes b \]}
1765
1766 @item
1767 @emph{Pes Auctus Descendens}
1768 @tab
1769 @lilypond[staffsize=26,line-width=1.0\cm]
1770 \include "gregorian.ly"
1771 \score {
1772   \transpose c c' {
1773         % Pes Auctus Descendens
1774     \[ g \pes \auctum \descendens b \]
1775   }
1776 \layout { \neumeDemoLayout }}
1777 @end lilypond
1778 @tab
1779 @code{\[ g \pes \auctum \descendens b \]}
1780
1781 @item
1782 @emph{Pes Auctus Ascendens}
1783 @tab
1784 @lilypond[staffsize=26,line-width=1.0\cm]
1785 \include "gregorian.ly"
1786 \score {
1787   \transpose c c' {
1788     % Pes Auctus Ascendens
1789     \[ g \pes \auctum \ascendens b \]
1790   }
1791 \layout { \neumeDemoLayout }}
1792 @end lilypond
1793 @tab
1794 @code{\[ g \pes \auctum \ascendens b \]}
1795
1796 @item
1797 @emph{Epiphonus}
1798 @tab
1799 @lilypond[staffsize=26,line-width=1.0\cm]
1800 \include "gregorian.ly"
1801 \score {
1802   \transpose c c' {
1803         % Epiphonus
1804     \[ g \pes \deminutum b \]
1805   }
1806 \layout { \neumeDemoLayout }}
1807 @end lilypond
1808 @tab
1809 @code{\[ g \pes \deminutum b \]}
1810
1811 @item
1812 @emph{Pes Initio Debilis}
1813 @tab
1814 @lilypond[staffsize=26,line-width=1.0\cm]
1815 \include "gregorian.ly"
1816 \score {
1817   \transpose c c' {
1818     % Pes Initio Debilis
1819     \[ \deminutum g \pes b \]
1820   }
1821 \layout { \neumeDemoLayout }}
1822 @end lilypond
1823 @tab
1824 @code{\[ \deminutum g \pes b \]}
1825
1826 @item
1827 @emph{Pes Auctus Descendens Initio Debilis}
1828 @tab
1829 @lilypond[staffsize=26,line-width=1.0\cm]
1830 \include "gregorian.ly"
1831 \score {
1832   \transpose c c' {
1833     % Pes Auctus Descendens Initio Debilis
1834     \[ \deminutum g \pes \auctum \descendens b \]
1835   }
1836 \layout { \neumeDemoLayout }}
1837 @end lilypond
1838 @tab
1839 @code{\[ \deminutum g \pes \auctum \descendens b \]}
1840
1841 @end multitable
1842
1843 @noindent
1844 @b{Multi-note ligatures}
1845
1846 @multitable @columnfractions .4 .2 .4
1847
1848 @item
1849 @b{Torculus}
1850 @tab
1851 @lilypond[staffsize=26,line-width=1.0\cm]
1852 \include "gregorian.ly"
1853 \score {
1854   \transpose c c' {
1855     % Torculus
1856     \[ a \pes b \flexa g \]
1857   }
1858 \layout { \neumeDemoLayout }}
1859 @end lilypond
1860 @tab
1861 @code{\[ a \pes b \flexa g \]}
1862
1863 @item
1864 @emph{Torculus Auctus Descendens}
1865 @tab
1866 @lilypond[staffsize=26,line-width=1.0\cm]
1867 \include "gregorian.ly"
1868 \score {
1869   \transpose c c' {
1870         % Torculus Auctus Descendens
1871     \[ a \pes b \flexa \auctum \descendens g \]
1872   }
1873 \layout { \neumeDemoLayout }}
1874 @end lilypond
1875 @tab
1876 @code{\[ a \pes b \flexa \auctum \descendens g \]}
1877
1878 @item
1879 @emph{Torculus Deminutus}
1880 @tab
1881 @lilypond[staffsize=26,line-width=1.0\cm]
1882 \include "gregorian.ly"
1883 \score {
1884   \transpose c c' {
1885         % Torculus Deminutus
1886     \[ a \pes b \flexa \deminutum g \]
1887   }
1888 \layout { \neumeDemoLayout }}
1889 @end lilypond
1890 @tab
1891 @code{\[ a \pes b \flexa \deminutum g \]}
1892
1893 @item
1894 @emph{Torculus Initio Debilis}
1895 @tab
1896 @lilypond[staffsize=26,line-width=1.0\cm]
1897 \include "gregorian.ly"
1898 \score {
1899   \transpose c c' {
1900         % Torculus Initio Debilis
1901     \[ \deminutum a \pes b \flexa g \]
1902   }
1903 \layout { \neumeDemoLayout }}
1904 @end lilypond
1905 @tab
1906 @code{\[ \deminutum a \pes b \flexa g \]}
1907
1908 @item
1909 @emph{Torculus Auctus Descendens Initio Debilis}
1910 @tab
1911 @lilypond[staffsize=26,line-width=1.0\cm]
1912 \include "gregorian.ly"
1913 \score {
1914   \transpose c c' {
1915         % Torculus Auctus Descendens Initio Debilis
1916     \[ \deminutum a \pes b \flexa \auctum \descendens g \]
1917   }
1918 \layout { \neumeDemoLayout }}
1919 @end lilypond
1920 @tab
1921 @code{\[ \deminutum a \pes b \flexa \auctum \descendens g \]}
1922
1923 @item
1924 @emph{Torculus Deminutus Initio Debilis}
1925 @tab
1926 @lilypond[staffsize=26,line-width=1.0\cm]
1927 \include "gregorian.ly"
1928 \score {
1929   \transpose c c' {
1930         % Torculus Deminutus Initio Debilis
1931     \[ \deminutum a \pes b \flexa \deminutum g \]
1932   }
1933 \layout { \neumeDemoLayout }}
1934 @end lilypond
1935 @tab
1936 @code{\[ \deminutum a \pes b \flexa \deminutum g \]}
1937
1938 @item
1939 @b{Porrectus}
1940 @tab
1941 @lilypond[staffsize=26,line-width=1.0\cm]
1942 \include "gregorian.ly"
1943 \score {
1944   \transpose c c' {
1945     % Porrectus
1946     \[ a \flexa g \pes b \]
1947   }
1948 \layout { \neumeDemoLayout }}
1949 @end lilypond
1950 @tab
1951 @code{\[ a \flexa g \pes b \]}
1952
1953 @item
1954 @emph{Porrectus Auctus Descendens}
1955 @tab
1956 @lilypond[staffsize=26,line-width=1.0\cm]
1957 \include "gregorian.ly"
1958 \score {
1959   \transpose c c' {
1960         % Porrectus Auctus Descendens
1961     \[ a \flexa g \pes \auctum \descendens b \]
1962   }
1963 \layout { \neumeDemoLayout }}
1964 @end lilypond
1965 @tab
1966 @code{\[ a \flexa g \pes \auctum \descendens b \]}
1967
1968 @item
1969 @emph{Porrectus Deminutus}
1970 @tab
1971 @lilypond[staffsize=26,line-width=1.0\cm]
1972 \include "gregorian.ly"
1973 \score {
1974   \transpose c c' {
1975         % Porrectus Deminutus
1976     \[ a \flexa g \pes \deminutum b \]
1977   }
1978 \layout { \neumeDemoLayout }}
1979 @end lilypond
1980 @tab
1981 @code{\[ a \flexa g \pes \deminutum b \]}
1982
1983 @item
1984 @b{Climacus}
1985 @tab
1986 @lilypond[staffsize=26,line-width=1.0\cm]
1987 \include "gregorian.ly"
1988 \score {
1989   \transpose c c' {
1990     % Climacus
1991     \[ \virga b \inclinatum a \inclinatum g \]
1992   }
1993 \layout { \neumeDemoLayout }}
1994 @end lilypond
1995 @tab
1996 @code{\[ \virga b \inclinatum a \inclinatum g \]}
1997
1998 @item
1999 @emph{Climacus Auctus}
2000 @tab
2001 @lilypond[staffsize=26,line-width=1.0\cm]
2002 \include "gregorian.ly"
2003 \score {
2004   \transpose c c' {
2005         % Climacus Auctus
2006     \[ \virga b \inclinatum a \inclinatum \auctum g \]
2007   }
2008 \layout { \neumeDemoLayout }}
2009 @end lilypond
2010 @tab
2011 @code{\[ \virga b \inclinatum a \inclinatum \auctum g \]}
2012
2013 @item
2014 @emph{Climacus Deminutus}
2015 @tab
2016 @lilypond[staffsize=26,line-width=1.0\cm]
2017 \include "gregorian.ly"
2018 \score {
2019   \transpose c c' {
2020         % Climacus Deminutus
2021     \[ \virga b \inclinatum a \inclinatum \deminutum g \]
2022   }
2023 \layout { \neumeDemoLayout }}
2024 @end lilypond
2025 @tab
2026 @code{\[ \virga b \inclinatum a \inclinatum \deminutum g \]}
2027
2028 @item
2029 @b{Scandicus}
2030 @tab
2031 @lilypond[staffsize=26,line-width=1.0\cm]
2032 \include "gregorian.ly"
2033 \score {
2034   \transpose c c' {
2035     % Scandicus
2036     \[ g \pes a \virga b \]
2037   }
2038 \layout { \neumeDemoLayout }}
2039 @end lilypond
2040 @tab
2041 @code{\[ g \pes a \virga b \]}
2042
2043 @item
2044 @emph{Scandicus Auctus Descendens}
2045 @tab
2046 @lilypond[staffsize=26,line-width=1.0\cm]
2047 \include "gregorian.ly"
2048 \score {
2049   \transpose c c' {
2050         % Scandicus Auctus Descendens
2051     \[ g \pes a \pes \auctum \descendens b \]
2052   }
2053 \layout { \neumeDemoLayout }}
2054 @end lilypond
2055 @tab
2056 @code{\[ g \pes a \pes \auctum \descendens b \]}
2057
2058 @item
2059 @emph{Scandicus Deminutus}
2060 @tab
2061 @lilypond[staffsize=26,line-width=1.0\cm]
2062 \include "gregorian.ly"
2063 \score {
2064   \transpose c c' {
2065         % Scandicus Deminutus
2066     \[ g \pes a \pes \deminutum b \]
2067   }
2068 \layout { \neumeDemoLayout }}
2069 @end lilypond
2070 @tab
2071 @code{\[ g \pes a \pes \deminutum b \]}
2072
2073 @end multitable
2074
2075 @noindent
2076 @b{Special Signs}
2077
2078 @multitable @columnfractions .4 .2 .4
2079
2080 @item
2081 @b{Quilisma}
2082 @tab
2083 @lilypond[staffsize=26,line-width=1.0\cm]
2084 \include "gregorian.ly"
2085 \score {
2086   \transpose c c' {
2087     % Quilisma
2088     \[ g \pes \quilisma a \pes b \]
2089   }
2090 \layout { \neumeDemoLayout }}
2091 @end lilypond
2092 @tab
2093 @code{\[ g \pes \quilisma a \pes b \]}
2094
2095 @item
2096 @emph{Quilisma Pes Auctus Descendens}
2097 @tab
2098 @lilypond[staffsize=26,line-width=1.0\cm]
2099 \include "gregorian.ly"
2100 \score {
2101   \transpose c c' {
2102     % Quilisma Pes Auctus Descendens
2103     \[ g \quilisma a \pes \auctum \descendens b \]
2104   }
2105 \layout { \neumeDemoLayout }}
2106 @end lilypond
2107 @tab
2108 @code{\[ \quilisma g \pes \auctum \descendens b \]}
2109
2110 @item
2111 @b{Oriscus}
2112 @tab
2113 @lilypond[staffsize=26,line-width=1.0\cm]
2114 \include "gregorian.ly"
2115 \score {
2116   \transpose c c' {
2117     % Oriscus
2118     \[ \oriscus b \]
2119   }
2120 \layout { \neumeDemoLayout }}
2121 @end lilypond
2122 @tab
2123 @code{\[ \oriscus b \]}
2124
2125 @item
2126 @emph{Pes Quassus}
2127 @tab
2128 @lilypond[staffsize=26,line-width=1.0\cm]
2129 \include "gregorian.ly"
2130 \score {
2131   \transpose c c' {
2132     % Pes Quassus
2133     \[ \oriscus g \pes \virga b \]
2134   }
2135 \layout { \neumeDemoLayout }}
2136 @end lilypond
2137 @tab
2138 @code{\[ \oriscus g \pes \virga b \]}
2139
2140 @item
2141 @emph{Pes Quassus Auctus Descendens}
2142 @tab
2143 @lilypond[staffsize=26,line-width=1.0\cm]
2144 \include "gregorian.ly"
2145 \score {
2146   \transpose c c' {
2147     % Pes Quassus Auctus Descendens
2148     \[ \oriscus g \pes \auctum \descendens b \]
2149   }
2150 \layout { \neumeDemoLayout }}
2151 @end lilypond
2152 @tab
2153 @code{\[ \oriscus g \pes \auctum \descendens b \]}
2154
2155 @item
2156 @b{Salicus}
2157 @tab
2158 @lilypond[staffsize=26,line-width=1.0\cm]
2159 \include "gregorian.ly"
2160 \score {
2161   \transpose c c' {
2162     % Salicus
2163     \[ g \oriscus a \pes \virga b \]
2164   }
2165 \layout { \neumeDemoLayout }}
2166 @end lilypond
2167 @tab
2168 @code{\[ g \oriscus a \pes \virga b \]}
2169
2170 @item
2171 @emph{Salicus Auctus Descendens}
2172 @tab
2173 @lilypond[staffsize=26,line-width=1.0\cm]
2174 \include "gregorian.ly"
2175 \score {
2176   \transpose c c' {
2177     % Salicus Auctus Descendens
2178     \[ g \oriscus a \pes \auctum \descendens b \]
2179   }
2180 \layout { \neumeDemoLayout }}
2181 @end lilypond
2182 @tab
2183 @code{\[ g \oriscus a \pes \auctum \descendens b \]}
2184
2185 @item
2186 @b{(Apo)stropha}
2187 @tab
2188 @lilypond[staffsize=26,line-width=1.0\cm]
2189 \include "gregorian.ly"
2190 \score {
2191   \transpose c c' {
2192     % Stropha
2193     \[ \stropha b \]
2194   }
2195 \layout { \neumeDemoLayout }}
2196 @end lilypond
2197 @tab
2198 @code{\[ \stropha b \]}
2199
2200 @item
2201 @emph{Stropha Aucta}
2202 @tab
2203 @lilypond[staffsize=26,line-width=1.0\cm]
2204 \include "gregorian.ly"
2205 \score {
2206   \transpose c c' {
2207     % Stropha Aucta
2208     \[ \stropha \auctum b \]
2209   }
2210 \layout { \neumeDemoLayout }}
2211 @end lilypond
2212 @tab
2213 @code{\[ \stropha \auctum b \]}
2214
2215 @item
2216 @b{Bistropha}
2217 @tab
2218 @lilypond[staffsize=26,line-width=1.0\cm]
2219 \include "gregorian.ly"
2220 \score {
2221   \transpose c c' {
2222     % Bistropha
2223     \[ \stropha b \stropha b \]
2224   }
2225 \layout { \neumeDemoLayout }}
2226 @end lilypond
2227 @tab
2228 @code{\[ \stropha b \stropha b \]}
2229
2230 @item
2231 @b{Tristropha}
2232 @tab
2233 @lilypond[staffsize=26,line-width=1.0\cm]
2234 \include "gregorian.ly"
2235 \score {
2236   \transpose c c' {
2237     % Tristropha
2238     \[ \stropha b \stropha b \stropha b \]
2239   }
2240 \layout { \neumeDemoLayout }}
2241 @end lilypond
2242 @tab
2243 @code{\[ \stropha b \stropha b \stropha b \]}
2244
2245 @item
2246 @emph{Trigonus}
2247 @tab
2248 @lilypond[staffsize=26,line-width=1.0\cm]
2249 \include "gregorian.ly"
2250 \score {
2251   \transpose c c' {
2252     % Trigonus
2253     \[ \stropha b \stropha b \stropha a \]
2254   }
2255   \layout { \neumeDemoLayout }
2256 }
2257 @end lilypond
2258 @tab
2259 @code{\[ \stropha b \stropha b \stropha a \]}
2260
2261 @end multitable
2262
2263
2264 @predefined
2265 The following head prefixes are supported:
2266 @funindex \virga
2267 @code{\virga},
2268 @funindex \stropha
2269 @code{\stropha},
2270 @funindex \inclinatum
2271 @code{\inclinatum},
2272 @funindex \auctum
2273 @code{\auctum},
2274 @funindex \descendens
2275 @code{\descendens},
2276 @funindex \ascendens
2277 @code{\ascendens},
2278 @funindex \oriscus
2279 @code{\oriscus},
2280 @funindex \quilisma
2281 @code{\quilisma},
2282 @funindex \deminutum
2283 @code{\deminutum},
2284 @funindex \cavum
2285 @code{\cavum},
2286 @funindex \linea
2287 @code{\linea}.
2288 @endpredefined
2289
2290 Head prefixes can be accumulated, though restrictions apply.  For
2291 example, either @code{\descendens} or @code{\ascendens} can be applied
2292 to a head, but not both to the same head.
2293
2294 @funindex \pes
2295 @funindex \flexa
2296 Two adjacent heads can be tied together with the @code{\pes} and
2297 @code{\flexa} infix commands for a rising and falling line of melody,
2298 respectively.
2299
2300 @funindex \augmentum
2301 Use the unary music function @code{\augmentum} to add augmentum dots.
2302
2303
2304 @c @seealso
2305 @c TODO: nothing here yet ...
2306
2307
2308 @knownissues
2309
2310 When an @code{\augmentum} dot appears at the end of the last staff
2311 within a ligature, it is sometimes vertically placed wrong.  As a
2312 workaround, add an additional skip note (e.g., @code{s8}) as last note
2313 of the staff.
2314
2315 @code{\augmentum} should be implemented as a head prefix rather than a
2316 unary music function, such that @code{\augmentum} can be intermixed
2317 with head prefixes in arbitrary order.
2318
2319
2320
2321 @c Working with ancient music: scenarios and solutions::  {{{1
2322 @node Working with ancient music---scenarios and solutions
2323 @subsection Working with ancient music---scenarios and solutions
2324
2325 @menu
2326 * Incipits::
2327 * Mensurstriche layout::
2328 * Transcribing Gregorian chant::
2329 * Ancient and modern from one source::
2330 * Editorial markings::
2331 @end menu
2332
2333 Working with ancient music frequently involves particular tasks
2334 which differ considerably from the modern notation for which
2335 LilyPond is designed.  In the rest of this section, a number of
2336 typical scenarios are outlined, with suggestions of solutions.
2337 These involve:
2338
2339 @itemize
2340 @item how to make incipits (i.e. prefatory material to indicate
2341 what the original has looked like) to modern transcriptions of
2342 mensural music;
2343 @item how to achieve the @emph{Mensurstriche} layout frequently
2344 used for modern transcriptions of polyphonic music;
2345 @item how to transcribe Gregorian chant in modern notation;
2346 @item how to generate both ancient and modern notation from the
2347 same source.
2348 @end itemize
2349
2350 @c {{{2Incipits
2351 @node Incipits
2352 @unnumberedsubsubsec Incipits
2353
2354 @c TODO Add text
2355 @c clefs, mensuration signs etc from lsr and -user
2356 @c use snippet Transcription-of-ancient-music-with-incipit
2357 TBC
2358
2359
2360 @c @seealso
2361 @c ... and reference to other sections ...
2362
2363
2364 @c {{{2Mensurstriche layout
2365 @node Mensurstriche layout
2366 @unnumberedsubsubsec Mensurstriche layout
2367
2368 @emph{Mensurstriche} (@q{mensuration lines}) is the accepted term
2369 for bar lines that are drawn between the staves of a system but
2370 not through the staves themselves.  It is a common way to preserve
2371 the rhythmic appearance of the original, i.e. not having to break
2372 syncopated notes at bar lines, while still providing the
2373 orientation aids that bar lines give.
2374
2375
2376 @lilypondfile[verbatim,lilyquote,texidoc]
2377 {mensurstriche-layout-bar-lines-between-the-staves.ly}
2378
2379 @c This simple setup will take care of the
2380 @c TODO Add text about lyrics to the lowest line, to be placed
2381 @c outside the StaffGroup.
2382 @c from lsr and -user
2383 @c TBC
2384
2385
2386 @c @seealso
2387 @c ... and reference to other sections ...
2388
2389
2390 @c {{{2Transcribing Gregorian chant
2391 @node Transcribing Gregorian chant
2392 @unnumberedsubsubsec Transcribing Gregorian chant
2393
2394 Gregorian chant can be transcribed into modern notation with a
2395 number of simple tweaks.
2396
2397 @b{Stems}.  Stems can be left out altogether by @code{\remove}-ing
2398 the @code{Stem_engraver} from the Voice context:
2399
2400 @example
2401 \layout @{
2402   ...
2403   \context @{
2404     \Voice
2405       \remove "Stem_engraver"
2406   @}
2407 @}
2408 @end example
2409
2410 However, in some transcription styles, stems are used
2411 occasionally, for example to indicate the transition from a
2412 single-tone recitative to a fixed melodic gesture.  In these cases,
2413 one can use either @code{\override Stem #'transparent = ##t} or
2414 @code{\override Stem #'length = #0} instead, and restore the stem
2415 when needed with the corresponding @code{\once \override Stem
2416 #'transparent = ##f} (see example below).
2417
2418 @b{Timing.} For unmetered chant, there are several alternatives.
2419
2420 The Time_signature_engraver can be removed from the Staff context
2421 without any negative side effects.  The alternative, to make it
2422 transparent, will leave an empty space in the score, since the
2423 invisible signature will still take up space.
2424
2425 In many cases, @code{\set Score.timing = ##f} will give good
2426 results.  Another alternative is to use @code{\CadenzaOn} and
2427 @code{\CadenzaOff}.
2428
2429 To remove the barlines, the radical approach is to @code{\remove}
2430 the Bar_engraver from the Staff context.  Again, one may want to
2431 use @code{\override BarLine #'transparent = ##t} instead, if an
2432 occasional barline is wanted.
2433
2434 A common type of transcription is recitativic chant where the
2435 repeated notes are indicated with a single breve.  The text to
2436 the recitation tone can  be dealt with in two different ways:
2437 either set as a single, left-aligned syllable:
2438
2439 @lilypond[verbatim,ragged-right]
2440 \include "gregorian.ly"
2441 chant = \relative c' {
2442   \clef "G_8"
2443   c\breve c4 b4 a c2 c4  \divisioMaior
2444   c\breve c4 c f, f \finalis
2445 }
2446
2447 verba = \lyricmode {
2448   \once \override LyricText #'self-alignment-X = #-1
2449   "Noctem quietam et" fi -- nem per -- fec -- tum
2450   \once \override LyricText #'self-alignment-X = #-1
2451   "concedat nobis Dominus" om -- ni -- po -- tens.
2452 }
2453 \score {
2454   \new Staff <<
2455   \new Voice = "melody" \chant
2456   \new Lyrics = "one" \lyricsto melody \verba
2457   >>
2458   \layout {
2459     \context {
2460       \Staff
2461       \remove "Time_signature_engraver"
2462       \remove "Bar_engraver"
2463       \override Stem #'transparent = ##t
2464     }
2465   }
2466 }
2467 @end lilypond
2468
2469 This works fine, as long as the text doesn't span a line break.  If
2470 that is the case, an alternative is to add hidden notes to the
2471 score, here in combination with changing stem visibility:
2472
2473
2474 @lilypond[verbatim,ragged-right]
2475 \include "gregorian.ly"
2476 chant = \relative c' {
2477   \clef "G_8"
2478   \set Score.timing = ##f
2479   c\breve \override NoteHead #'transparent = ##t  c c c c c
2480   \revert NoteHead #'transparent
2481   \override Stem #'transparent = ##f \stemUp c4 b4 a
2482   \override Stem #'transparent = ##t c2 c4  \divisioMaior
2483   c\breve \override NoteHead #'transparent = ##t c c c c c c c
2484   \revert NoteHead #'transparent c4 c f, f \finalis
2485 }
2486
2487 verba = \lyricmode {
2488   No -- ctem qui -- e -- tam et fi -- nem per -- fec -- tum
2489   con -- ce -- dat no -- bis Do -- mi -- nus om -- ni -- po -- tens.
2490 }
2491
2492 \score {
2493   \new Staff <<
2494     \new Voice = "melody" \chant
2495     \new Lyrics \lyricsto "melody" \verba
2496   >>
2497   \layout {
2498     \context {
2499       \Staff
2500       \remove "Time_signature_engraver"
2501       \override BarLine #'transparent = ##t
2502       \override Stem #'transparent = ##t
2503     }
2504   }
2505 }
2506 @end lilypond
2507
2508 Another common situation is transcription of neumatic or
2509 melismatic chants, i.e. chants with a varying number of notes
2510 to each syllable.  In this case, one would want to set the
2511 syllable groups clearly apart, usually also the subdivisions of a
2512 longer melisma.  One way to achieve this is to use a fixed
2513 @code{\time}, e.g., 1/4, and let each syllable or note group fill
2514 one of these measures, with the help of tuplets or shorter
2515 durations.  If the barlines and all other rhythmical indications
2516 are made transparent, and the space around the barlines is
2517 increased, this will give a fairly good representation in modern
2518 notation of the original.
2519
2520 To avoid that syllables of different width (such as @qq{-ri} and
2521 @qq{-rum}) spread the syllable note groups unevenly apart, the
2522 @code{#'X-extent} property of the @code{LyricText} object may be
2523 set to a fixed value.  Another, more cumbersome way would be to
2524 add the syllables as @code{\markup} elements.  If further
2525 adjustments are necessary, this can be easily done with
2526 @code{s} @q{notes}.
2527
2528 @lilypond[verbatim,quote]
2529 spiritus = \relative c' {
2530   \time 1/4
2531   \override Lyrics.LyricText #'X-extent  = #'(0 . 3)
2532   d4 \times 2/3 { f8 a g } g a a4 g f8 e
2533   d4 f8 g g8 d f g a g f4 g8 a a4  s
2534   \times 2/3 { g8 f d } e f g a g4
2535 }
2536
2537 spirLyr = \lyricmode {
2538   Spi -- ri -- _ _ tus  _ Do -- mi -- ni  _ re -- ple -- _ vit _
2539   or -- _ bem _  ter -- ra -- _ rum, al -- _ _ le -- _ lu
2540   -- _ ia.
2541 }
2542 \score {
2543   \new Staff <<
2544     \new Voice = "chant" \spiritus
2545     \new Lyrics = "one" \lyricsto "chant" \spirLyr
2546   >>
2547   \layout {
2548     \context {
2549       \Staff
2550       \remove "Time_signature_engraver"
2551       \override BarLine #'X-extent = #'(-1 . 1)
2552       \override Stem #'transparent = ##t
2553       \override Beam #'transparent = ##t
2554       \override BarLine #'transparent = ##t
2555       \override TupletNumber #'transparent = ##t
2556     }
2557   }
2558 }
2559 @end lilypond
2560
2561 @c extract from 1.6.1.1
2562
2563 @c @seealso
2564 @c ... and reference to other sections ...
2565
2566 @c {{{2Ancient and modern from one source
2567 @node Ancient and modern from one source
2568 @unnumberedsubsubsec Ancient and modern from one source
2569
2570 @c TODO Add text
2571 @c Here among others the snippets about reducing note length
2572 TBC
2573
2574 @c @seealso
2575 @c ... and reference to other sections ...
2576
2577 @c {{{2Editorial markings
2578 @node Editorial markings
2579 @unnumberedsubsubsec Editorial markings
2580
2581 @c {{{2Baroque rhythmic notation
2582 @c @node Baroque rhythmic notation
2583 @c @unnumberedsubsubsec Baroque rhythmic notation
2584
2585 @c TODO Add text
2586 @c try Till Rettig
2587 @c Add example of white noteheads:
2588 @c In the french baroque some composers used white noteheads in slow pieces,
2589 @c mainly in 3/2-time.  A quarter looks there like a eighth with a white
2590 @c notehead.  (Franz-Rudolf Kuhnen)
2591
2592 @c TODO Add example of this:
2593 @c I was referring to e.g. notated a8. a16, which should, if I
2594 @c remember correctly, be interpreted more like a8.. a32 (in the french
2595 @c style).  The editor might want to show that rythmic figure above the
2596 @c staff as an hint to performers.  (Karl Hammer)
2597
2598
2599 TBC
2600
2601
2602 @c @seealso
2603 @c ... and reference to other sections ...
2604