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