blob: ea7f8d3103171df7267efe54ce9c1cf97f35b274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
%GregorioTeX file.
%
% Copyright (C) 2007-2015 The Gregorio Project (see CONTRIBUTORS.md)
%
% This file is part of Gregorio.
%
% Gregorio is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% Gregorio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with Gregorio. If not, see <http://www.gnu.org/licenses/>.
\gre@debugmsg{general}{Loading gregoriotex-chars.tex}%
\gre@declarefileversion{gregoriotex-chars.tex}{4.1.2}% GREGORIO_VERSION
\def\gre@char@fuse@punctum@one{\GreFuseTwo{\GreCPLeadingPunctumOne}{\GreCPPunctum}}%
\def\gre@char@fuse@quilisma@one{\GreFuseTwo{\GreCPLeadingQuilismaOne}{\GreCPPunctum}}%
\def\gre@char@fuse@oriscus@one{\GreFuseTwo{\GreCPLeadingOriscusOne}{\GreCPPunctum}}%
\def\gre@char@fuse@punctum@two{\GreFuseTwo{\GreCPLeadingPunctumTwo}{\GreCPPunctum}}%
\def\gre@char@fuse@quilisma@two{\GreFuseTwo{\GreCPLeadingQuilismaTwo}{\GreCPPunctum}}%
\def\gre@char@fuse@oriscus@two{\GreFuseTwo{\GreCPLeadingOriscusTwo}{\GreCPPunctum}}%
\def\gre@char@fuse@debilis{\GreFuseTwo{\GreCPLeadingPunctumOneInitioDebilis}{\GreCPPunctum}}%
% horizontal episema
\newbox\gre@box@hep%
\def\gre@def@char@he#1#2{%
\expandafter\def\csname gre@char@he@#1\endcsname##1{%
\ifx##1f\csname GreCPHEpisema#2\endcsname%
\else%
\setbox\gre@box@hep\hbox{\csname GreCPHEpisema#2\endcsname}%
\hbox to \wd\gre@box@hep{%
\ifx##1l\else\hfil\fi%
\csname GreCPHEpisema#2Reduced\endcsname%
\ifx##1r\else\hfil\fi%
}%
\fi%
}%
}%
\def\gre@def@char@he@porr#1#2{%
\expandafter\def\csname gre@char@he@#1\endcsname##1##2{%
\ifcase##1\gre@char@he@punctum{##2}%
\or\csname GreCPHEpisema#2One\endcsname%
\or\csname GreCPHEpisema#2Two\endcsname%
\or\csname GreCPHEpisema#2Three\endcsname%
\or\csname GreCPHEpisema#2Four\endcsname%
\or\csname GreCPHEpisema#2Five\endcsname%
\fi%
}%
}%
\gre@def@char@he{punctum}{Punctum}%
\gre@def@char@he{punctum@line@br}{PunctumLineBR}%
\gre@def@char@he{punctum@line@tr}{PunctumLineTR}%
\gre@def@char@he{punctum@line@tl}{PunctumLineTL}%
\gre@def@char@he{punctum@line@bl}{PunctumLineBL}%
\gre@def@char@he{punctum@line@blbr}{PunctumLineBLBR}%
\gre@def@char@he{punctumauctus@line@bl}{PunctumAuctusLineBL}%
\gre@def@char@he{salicus@oriscus}{SalicusOriscus}%
\gre@def@char@he{flexus}{FlexusDeminutus}%
\gre@def@char@he{initio}{Debilis}%
\gre@def@char@he{virga}{Virga}%
\gre@def@char@he{virgabase@line@bl}{VirgaBaseLineBL}%
\gre@def@char@he{inclinatum}{Inclinatum}%
\gre@def@char@he{inclinatumdem}{InclinatumDeminutus}%
\gre@def@char@he{stropha}{Stropha}%
\gre@def@char@he@porr{porrectus}{Porrectus}%
\gre@def@char@he@porr{porrectus@amone}{PorrectusAmOne}%
\gre@def@char@he@porr{porrectusfl}{PorrectusFlexus}%
\gre@def@char@he{quilisma}{Quilisma}%
\gre@def@char@he{quilisma@line@tr}{QuilismaLineTR}%
\gre@def@char@he{oriscus}{Oriscus}%
\gre@def@char@he{oriscus@line@tr}{OriscusLineTR}%
\gre@def@char@he{smallpunctum}{HighPes}% "smallpunctum" is the top punctum in a pes
\gre@def@char@he{flat}{Flat}%
\gre@def@char@he{sharp}{Sharp}%
\gre@def@char@he{natural}{Natural}%
\def\gre@fontchar@flat{\gre@font@music\GreCPFlat}%
\def\gre@fontchar@flathole{\gre@font@music\GreCPFlatHole}%
\def\gre@fontchar@natural{\gre@font@music\GreCPNatural}%
\def\gre@fontchar@naturalhole{\gre@font@music\GreCPNaturalHole}%
\def\gre@fontchar@sharp{\gre@font@music\GreCPSharp}%
\def\gre@fontchar@sharphole{\gre@font@music\GreCPSharpHole}%
\def\gre@fontchar@cclef{\gre@font@music\GreCPCClef}%
\def\gre@fontchar@fclef{\gre@font@music\GreCPFClef}%
\def\gre@fontchar@incclef{\gre@font@music\GreCPCClefChange}%
\def\gre@fontchar@infclef{\gre@font@music\GreCPFClefChange}%
\def\gre@fontchar@punctummora{\gre@font@music\GreCPAuctumMora}%
\def\gre@fontchar@verticalepisema{\gre@font@music\GreCPVEpisema}%
\def\gre@fontchar@custostoplong{\gre@font@music\GreCPCustosUpLong}%
\def\gre@fontchar@custostopshort{\gre@font@music\GreCPCustosUpShort}%
\def\gre@fontchar@custostopmiddle{\gre@font@music\GreCPCustosUpMedium}%
\def\gre@fontchar@custosbottomlong{\gre@font@music\GreCPCustosDownLong}%
\def\gre@fontchar@custosbottomshort{\gre@font@music\GreCPCustosDownShort}%
\def\gre@fontchar@custosbottommiddle{\gre@font@music\GreCPCustosDownMedium}%
\def\gre@fontchar@abovebarbrace{\gre@font@music\GreCPBarBrace}%
\def\gre@fontchar@punctum{\gre@font@music\GreCPPunctum}%
%%%%%%%%%%%%%%%%%
% macros for the different styles%
%%%%%%%%%%%%%%%%%
\def\gresetglyphstyle#1{%
\IfStrEqCase{#1}{%
{default}%
{%
\greresetglyph{Flat}%
\greresetglyph{FlatHole}%
\greresetglyph{Natural}%
\greresetglyph{NaturalHole}%
\greresetglyph{Sharp}%
\greresetglyph{SharpHole}%
\greresetglyph{CClef}%
\greresetglyph{FClef}%
\greresetglyph{CClefChange}%
\greresetglyph{FClefChange}%
\greresetglyph{AuctumMora}%
\greresetglyph{VEpisema}%
\greresetglyph{CustosUpLong}%
\greresetglyph{CustosUpShort}%
\greresetglyph{CustosUpMedium}%
\greresetglyph{CustosDownLong}%
\greresetglyph{CustosDownShort}%
\greresetglyph{CustosDownMedium}%
\greresetglyph{BarBrace}%
\greresetglyph{Punctum}%
\relax %
}%
{medicaea}%
{%
\gresetglyphstyle{default}\gre@usestylecommon %
\grechangeglyph{CustosUpLong}{greextra}{MedicaeaCustosUpLong}%
\grechangeglyph{CustosUpShort}{greextra}{MedicaeaCustosUpShort}%
\grechangeglyph{CustosUpMedium}{greextra}{MedicaeaCustosUpMedium}%
\grechangeglyph{CustosDownLong}{greextra}{MedicaeaCustosDownLong}%
\grechangeglyph{CustosDownShort}{greextra}{MedicaeaCustosDownShort}%
\grechangeglyph{CustosDownMedium}{greextra}{MedicaeaCustosDownMedium}%
\grechangeglyph{CClef}{greextra}{MedicaeaCClef}%
\grechangeglyph{FClef}{greextra}{MedicaeaFClef}%
\grechangeglyph{CClefChange}{greextra}{MedicaeaCClefChange}%
\grechangeglyph{FClefChange}{greextra}{MedicaeaFClefChange}%
\grechangeglyph{Flat}{greextra}{MedicaeaFlat}%
\grechangeglyph{FlatHole}{greextra}{MedicaeaFlatHole}%
\relax %
}%
{hufnagel}%
{%
\gresetglyphstyle{default}\gre@usestylecommon %
\grechangeglyph{CustosUpLong}{greextra}{HufnagelCustosUpLong}%
\grechangeglyph{CustosUpShort}{greextra}{HufnagelCustosUpShort}%
\grechangeglyph{CustosUpMedium}{greextra}{HufnagelCustosUpMedium}%
\grechangeglyph{CustosDownLong}{greextra}{HufnagelCustosDownLong}%
\grechangeglyph{CustosDownShort}{greextra}{HufnagelCustosDownShort}%
\grechangeglyph{CustosDownMedium}{greextra}{HufnagelCustosDownMedium}%
\grechangeglyph{CClef}{greextra}{HufnagelCClef}%
\grechangeglyph{FClef}{greextra}{HufnagelFClef}%
\grechangeglyph{CClefChange}{greextra}{HufnagelCClefChange}%
\grechangeglyph{FClefChange}{greextra}{HufnagelFClefChange}%
\grechangeglyph{Flat}{greextra}{HufnagelFlat}%
\grechangeglyph{FlatHole}{greextra}{HufnagelFlatHole}%
\relax %
}%
{mensural}%
{%
\gresetglyphstyle{default}\gre@usestylecommon %
\grechangeglyph{CustosUpLong}{greextra}{MensuralCustosUpLong}%
\grechangeglyph{CustosUpShort}{greextra}{MensuralCustosUpShort}%
\grechangeglyph{CustosUpMedium}{greextra}{MensuralCustosUpMedium}%
\grechangeglyph{CustosDownLong}{greextra}{MensuralCustosDownLong}%
\grechangeglyph{CustosDownShort}{greextra}{MensuralCustosDownShort}%
\grechangeglyph{CustosDownMedium}{greextra}{MensuralCustosDownMedium}%
\grechangeglyph{Flat}{greextra}{MensuralFlat}%
\grechangeglyph{FlatHole}{greextra}{MensuralFlatHole}%
\relax %
}%
}[% all other cases
\gre@error{Unrecognized option "#1" for \protect\gresetglyphstyle\MessageBreak Possible options are: 'default', 'medicaea', 'hufnagel' and 'mensural'}%
]%
}%
\def\greusedefaultstyle{%OBSOLETE
\gre@obsolete{\protect\greusedefaultstyle}{\protect\gresetglyphstyle{default}}%
}%
\def\greusemedicaeastyle{%OBSOLETE
\gre@obsolete{\protect\greusemedicaeastyle}{\protect\gresetglyphstyle{medicaea}}%
}%
\def\greusehufnagelstyle{%OBSOLETE
\gre@obsolete{\protect\greusehufnagelstyle}{\protect\gresetglyphstyle{hufnagel}}%
}%
\def\greusemensuralstyle{%OBSOLETE
\gre@obsolete{\protect\greusemensuralstyle}{\protect\gresetglyphstyle{mensural}}%
}%
|