]> git.donarmstrong.com Git - lilypond.git/blob - ly/gregorian-init.ly
850392a80f10e195dfbbca4e8669954568730a7b
[lilypond.git] / ly / gregorian-init.ly
1 \version "2.1.21"
2
3 %%%%%%%%
4 %%%%%%%% shortcuts common for all styles of gregorian chant notation
5 %%%%%%%%
6
7 %
8 % declare head prefix shortcuts
9 %
10 virga =
11   \once \property Voice.NoteHead \override #'virga = ##t
12 stropha =
13   \once \property Voice.NoteHead \override #'stropha = ##t
14 inclinatum =
15   \once \property Voice.NoteHead \override #'inclinatum = ##t
16 auctum =
17   \once \property Voice.NoteHead \override #'auctum = ##t
18 descendens =
19   \once \property Voice.NoteHead \override #'descendens = ##t
20 ascendens =
21   \once \property Voice.NoteHead \override #'ascendens = ##t
22 pes =
23   \once \property Voice.NoteHead \override #'pes-or-flexa = ##t
24 flexa =
25   \once \property Voice.NoteHead \override #'pes-or-flexa = ##t
26 oriscus =
27   \once \property Voice.NoteHead \override #'oriscus = ##t
28 quilisma =
29   \once \property Voice.NoteHead \override #'quilisma = ##t
30 deminutum =
31   \once \property Voice.NoteHead \override #'deminutum = ##t
32 linea =
33   \once \property Voice.NoteHead \override #'linea = ##t
34 cavum =
35   \once \property Voice.NoteHead \override #'cavum = ##t
36
37 %
38 % declare divisiones shortcuts
39 %
40 virgula = {
41   \once \property Voice.BreathingSign \override #'text = #(make-musicglyph-markup "scripts-rcomma")
42   \once \property Voice.BreathingSign \override #'font-size = #-2
43
44   % Workaround: add padding.  Correct fix would be spacing engine handle this.
45   \once \property Voice.BreathingSign \override #'extra-X-extent = #'(-1.0 . 0)
46
47   \breathe
48 }
49 caesura = {
50   \once \property Voice.BreathingSign \override #'text = #(make-musicglyph-markup "scripts-rvarcomma")
51   \once \property Voice.BreathingSign \override #'font-size = #-2
52
53   % Workaround: add padding.  Correct fix would be spacing engine handle this.
54   \once \property Voice.BreathingSign \override #'extra-X-extent = #'(-1.0 . 0)
55
56   \breathe
57 }
58 divisioMinima = {
59   \once \property Voice.BreathingSign \override #'print-function = #Breathing_sign::divisio_minima
60
61   % Workaround: add padding.  Correct fix would be spacing engine handle this.
62   \once \property Voice.BreathingSign \override #'extra-X-extent = #'(-1.0 . 0)
63
64   \breathe
65 }
66 divisioMaior = {
67   \once \property Voice.BreathingSign \override #'print-function = #Breathing_sign::divisio_maior
68   \once \property Voice.BreathingSign \override #'Y-offset-callbacks = #'()
69
70   % Workaround: add padding.  Correct fix would be spacing engine handle this.
71   \once \property Voice.BreathingSign \override #'extra-X-extent = #'(-1.0 . 0)
72
73   \breathe
74 }
75 divisioMaxima = {
76   \once \property Voice.BreathingSign \override #'print-function = #Breathing_sign::divisio_maxima
77   \once \property Voice.BreathingSign \override #'Y-offset-callbacks = #'()
78
79   % Workaround: add padding.  Correct fix would be spacing engine handle this.
80   \once \property Voice.BreathingSign \override #'extra-X-extent = #'(-1.0 . 0)
81
82   \breathe
83 }
84 finalis = {
85   \once \property Voice.BreathingSign \override #'print-function = #Breathing_sign::finalis
86   \once \property Voice.BreathingSign \override #'Y-offset-callbacks = #'()
87
88   % Workaround: add padding.  Correct fix would be spacing engine handle this.
89   \once \property Voice.BreathingSign \override #'extra-X-extent = #'(-1.0 . 0)
90
91   \breathe
92 }
93
94 %
95 % declare articulation shortcuts
96 %
97 accentus = #(make-articulation "accentus")
98 ictus = #(make-articulation "ictus")
99 semicirculus = #(make-articulation "semicirculus")
100 circulus = #(make-articulation "circulus")
101 episemInitium = #(make-span-event 'TextSpanEvent START)
102 episemFinis = #(make-span-event 'TextSpanEvent STOP)