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