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