blob: e547fea6e6fb82a43868b21e0eb25b0d9e50811a (
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
|
%% musippff.tex This is an extension library for Musix\Tex which
%% replaces the macros used for dynamic marks to use a mini-font xppff10
%%
%% Author:
%% Hiroaki MORIMOTO <CQX05646\atmark nifty.com>
%% Tokyo, Japan
%% URL: http://homepage1.nifty.com/kuuku/pub/musixtex/index-e.html
%%
%% usage:
%% \input musixtex
%% \input musixppff
%% ...
%%
%%
\immediate\write16{MusiXppff \noexpand\ppff font replacement <2015/05/04>}%
\font\xppffsixteen=xppff10
\font\xppfftwenty=xppff10 scaled \magstep1
\font\xppfftwentyfour=xppff10 scaled \magstep2
\font\xppfftwentynine=xppff10 scaled \magstep3
\font\tinyxppff=xppff10 at 8pt
\font\smallxppff=xppff10
\font\normxppff=xppff10 scaled \magstep1
\font\medxppff=xppff10 scaled \magstep2
\edef\catcodeat{\the\catcode`\@}\catcode`\@=11
\def\xppff{%
\ifdim\internote<\p@seven6\Internote \tinyxppff
\else\ifdim\internote<.95\Internote \smallxppff
\else\ifdim\internote<1.19\Internote \normxppff
\else\medxppff\fi\fi\fi}
\def\f{{\xppff f}}%
\def\ff{{\xppff ff}}%
\def\fp{{\xppff fp}}%
\def\sF{{\xppff sf}}%
\def\fff{{\xppff fff}}%
\def\ffff{{\xppff ffff}}%
\def\mf{{\xppff mf}}%
\def\p{{\xppff p}}%
\def\pp{{\xppff pp}}%
\def\ppp{{\xppff ppp}}%
\def\pppp{{\xppff pppp}}%
\def\sfz{{\xppff sfz}}%
\def\sfzp{{\xppff sfzp}}%
\def\mp@{{\xppff mp}}%
\let\mezzopiano\mp@
\def\comput@fonts{%
\ifnum\musicsize=\sixt@@n
\let\musicLargefont\musictwentyfour
\let\musiclargefont\musictwenty
\let\musicnorfont\musicsixteen
\let\musicsmallfont\musicthirteen
\let\musictinyfont\musiceleven
\let\xgregLargefont\xgregtwentyfour
\let\xgreglargefont\xgregtwenty
\let\xgregnorfont\xgregsixteen
\let\xgregsmallfont\xgregthirteen
\let\xgregtinyfont\xgregeleven
\let\slurd\slurdsixteen \let\sluru\slurusixteen
\let\hslurd\hslurdsixteen \let\hsluru\hslurusixteen
\let\meternorfont\tenbf \let\metersmallfont\eightbf % T116 RDT
\let\meterbigfont\twelvebf \let\meterlargefont\frtbf
\let\meterLargefont\svtbf
\else\ifnum\musicsize=\@xxiv
\let\musicLargefont\musictwentynine
\let\musiclargefont\musictwentynine
\let\musicnorfont\musictwentyfour
\let\musicsmallfont\musictwenty
\let\musictinyfont\musicsixteen
\let\xgregLargefont\xgregtwentynine
\let\xgreglargefont\xgregtwentynine
\let\xgregnorfont\xgregtwentyfour
\let\xgregsmallfont\xgregtwenty
\let\xgregtinyfont\xgregsixteen
\let\sluru\slurutwenty \let\slurd\slurdtwenty
\let\hsluru\hslurutwenty \let\hslurd\hslurdtwenty
\let\meternorfont\frtbf \let\metersmallfont\twelvebf % T116 RDT
\let\meterbigfont\svtbf \let\meterlargefont\twtybf
\let\meterlargefont\twfvbf
\else\ifnum\musicsize=\@xxix
\let\musicLargefont\musictwentynine
\let\musiclargefont\musictwentynine
\let\musicnorfont\musictwentynine
\let\musicsmallfont\musictwentyfour
\let\musictinyfont\musictwenty
\let\xgregLargefont\xgregtwentynine
\let\xgreglargefont\xgregtwentynine
\let\xgregnorfont\xgregtwentynine
\let\xgregsmallfont\xgregtwentyfour
\let\xgregtinyfont\xgregtwenty
\let\sluru\slurutwenty \let\slurd\slurdtwenty
\let\hsluru\hslurutwenty \let\hslurd\hslurdtwenty
\let\slurud\slurutwentyd \let\slurdd\slurdtwentyd % +ickd
\let\hslurud\hslurutwentyd \let\hslurdd\hslurdtwentyd %+ickd
\let\meternorfont\svtbf \let\metersmallfont\frtbf % T116 RDT
\let\meterbigfont\twtybf \let\meterlargefont\twfvbf
\let\meterLargefont\twfvbf
\else
\ifnum\musicsize=\tw@nty
\else\ifnum\musicsize=\z@
\else\errmessage{\noexpand\musicsize=\the\musicsize\space not supported,
set to default of 20}%
\fi
\fi\musicsize\tw@nty
\let\musicLargefont\musictwentynine
\let\musiclargefont\musictwentyfour
\let\musicnorfont\musictwenty
\let\musicsmallfont\musicsixteen
\let\musictinyfont\musicthirteen
\let\xgreglargefont\xgregtwentyfour
\let\xgregLargefont\xgregtwentynine
\let\xgregnorfont\xgregtwenty
\let\xgregsmallfont\xgregsixteen
\let\xgregtinyfont\xgregthirteen
\let\sluru\slurutwenty \let\slurd\slurdtwenty
\let\hsluru\hslurutwenty \let\hslurd\hslurdtwenty
\let\meternorfont\twelvebf \let\metersmallfont\tenbf % T116 RDT
\let\meterbigfont\frtbf \let\meterlargefont\svtbf
\let\meterLargefont\twtybf
\fi\fi\fi
}%
%
\def\tinydyn{\let\ppff\tinyppff\let\xppff\tinyxppff}%
\def\smalldyn{\let\ppff\smallppff\let\xppff\smallxppff}%
\def\normdyn{\let\ppff\normppff\let\xppff\normxppff}%
\def\meddyn{\let\ppff\medppff\let\xppff\medxppff}%
\catcode`\@=\catcodeat
\endinput
|