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