1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus{loading}{ConTeXt Math Macros Definitions}
15
16\unprotect
17
18\pushoverloadmode
19
20\startluacode
21 mathematics.define()
22
23\stopluacode
24
25\popoverloadmode
26
27
28
29
30
31\definemathfunction [arccos]
32\definemathfunction [arcsin]
33\definemathfunction [arctan]
34\definemathfunction [arccosh]
35\definemathfunction [arcsinh]
36\definemathfunction [arctanh]
37\definemathfunction [acos]
38\definemathfunction [asin]
39\definemathfunction [atan]
40\definemathfunction [arg]
41\definemathfunction [cosh]
42\definemathfunction [cos]
43\definemathfunction [coth]
44\definemathfunction [cot]
45\definemathfunction [csc]
46\definemathfunction [deg]
47\definemathfunction [det] [\c!mathlimits=\v!yes]
48\definemathfunction [dim]
49\definemathfunction [erf]
50\definemathfunction [erfc]
51\definemathfunction [erfi]
52\definemathfunction [exp]
53\definemathfunction [gcd] [\c!mathlimits=\v!yes]
54\definemathfunction [hom]
55\definemathfunction [inf] [\c!mathlimits=\v!auto]
56\definemathfunction [inv] [\c!mathlimits=\v!auto]
57\definemathfunction [injlim] [\c!mathlimits=\v!auto]
58\definemathfunction [ker]
59\definemathfunction [lg]
60\definemathfunction [liminf] [\c!mathlimits=\v!auto,\c!method=limits]
61\definemathfunction [limsup] [\c!mathlimits=\v!auto,\c!method=limits]
62\definemathfunction [lim] [\c!mathlimits=\v!auto,\c!method=limits]
63\definemathfunction [ln]
64\definemathfunction [log]
65\definemathfunction [median] [\c!mathlimits=\v!yes]
66\definemathfunction [max] [\c!mathlimits=\v!auto]
67\definemathfunction [min] [\c!mathlimits=\v!auto]
68\definemathfunction [mod] [\c!mathlimits=\v!yes]
69
70\definemathfunction [projlim] [\c!mathlimits=\v!auto]
71\definemathfunction [Pr] [\c!mathlimits=\v!yes]
72\definemathfunction [sec]
73\definemathfunction [sinh]
74\definemathfunction [sin]
75\definemathfunction [sup] [\c!mathlimits=\v!auto]
76\definemathfunction [tanh]
77\definemathfunction [tan]
78\definemathfunction [diff]
79
80\definemathfunction [adj]
81\definemathfunction [coker]
82
83
84
85\definemathfunction [cs:median] [\c!command=\widetilde]
86\definemathfunction [sk:median] [\c!command=\widetilde]
87
88
89
90
91
92\definemathfunction[adjoint] [right=\adjointsymbol]
93\definemathfunction[orthogonalcomplement] [right=\orthogonalcomplementsymbol]
94\definemathfunction[transpose] [right=\transposesymbol]
95\definemathfunction[derivative] [right=\derivativesymbol]
96\definemathfunction[secondderivative] [right=\secondderivativesymbol]
97\definemathfunction[thirdderivative] [right=\thirdderivativesymbol]
98\definemathfunction[fourthderivative] [right=\fourthderivativesymbol]
99\definemathfunction[preimage] [right=\preimagesymbol]
100\definemathfunction[inverse] [right=\inversesymbol]
101
102
103
104
105
106\definemathfunction[neg]
107
108\aliased\let\normalmatharg\arg
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\pushoverloadmode
152
153\protected\def\math_relation_atom_ordinary{\mathatom \s!class \mathrelationcode \s!all \mathordcode}
154
155\definemathcommand [centercolon] {\math_relation_atom_ordinary{\colon}}
156\definemathcommand [colonminus] {\math_relation_atom_ordinary{\colon\minus}}
157\definemathcommand [colonapprox] {\math_relation_atom_ordinary{\colon\approx}}
158\definemathcommand [approxcolon] {\math_relation_atom_ordinary{\approx\colon}}
159\definemathcommand [colonsim] {\math_relation_atom_ordinary{\colon\sim}}
160\definemathcommand [simcolon] {\math_relation_atom_ordinary{\sim\colon}}
161
162\definemathcommand [coloncolon] {\math_relation_atom_ordinary{\colon\colon}}
163\definemathcommand [coloncolonminus] {\math_relation_atom_ordinary{\colon\colon\minus}}
164\definemathcommand [minuscoloncolon] {\math_relation_atom_ordinary{\minus\colon\colon}}
165\definemathcommand [coloncolonequals] {\math_relation_atom_ordinary{\colon\colon\eq}}
166\definemathcommand [equalscoloncolon] {\math_relation_atom_ordinary{\eq\colon\colon}}
167\definemathcommand [coloncolonapprox] {\math_relation_atom_ordinary{\colon\colon\approx}}
168\definemathcommand [approxcoloncolon] {\math_relation_atom_ordinary{\approx\colon\colon}}
169\definemathcommand [coloncolonsim] {\math_relation_atom_ordinary{\colon\colon\sim}}
170\definemathcommand [simcoloncolon] {\math_relation_atom_ordinary{\sim\colon\colon}}
171
172
173
174\popoverloadmode
175
176
177
178
179
180
181
182
183
184
185
186\defcsname \s!en:amedian\endcsname#1{\widebar {#1}}
187\defcsname \s!cs:amedian\endcsname#1{\widetilde{#1}}
188\defcsname \s!sk:amedian\endcsname#1{\widetilde{#1}}
189
190\permanent\protected\def\amedian
191 {\csname
192 \ifcsname\currentmainlanguage:amedian\endcsname
193 \currentmainlanguage\else\s!en
194 \fi
195 :amedian
196 \endcsname}
197
198
199
200
201
202\protect \endinput
203 |