summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/math-uni.tex
blob: 88698243fc3c7aca49c766eb665ec5f38c3b0c4a (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
%D \module
%D   [       file=math-uni,
%D        version=2005.06.11,
%D          title=\CONTEXT\ Math Macros,
%D       subtitle=unicode support,
%D         author=Nikolai Weibull,
%D           date=\currentdate,
%D      copyright={PRAGMA / Nikolai Weibull}]

\unprotect

% needed for unic-033

\startmathcollection[default]

  \definemathcommand [unic@leftarrowtobar]        {\mapstochar\leftarrow}

\stopmathcollection

% needed for unic-034

\startmathcollection[default]

  \definemathcommand [unic@in]                    {\in}
  \definemathcommand [unic@nin]                   {\not\in}
  \definemathcommand [unic@nni]                   {\not\ni}
  \definemathcommand [unic@minus]                 {-}
  \definemathcommand [unic@divisionslash]         {/}
  \definemathcommand [unic@sqrt]                  {\sqrt{}}
  \definemathcommand [unic@cubesqrt]              {\root 3 \of {}}
  \definemathcommand [unic@fourthsqrt]            {\root 4 \of {}}
  \definemathcommand [unic@divides]       [op]    {|} % TODO
  \definemathcommand [unic@ndivides]      [rel]   {\mathop{\not|}} % TODO: horrible
  \definemathcommand [unic@cap]                   {\cap}
  \definemathcommand [unic@dblint]                {\int\!\!\!\int}
  \definemathcommand [unic@triint]                {\int\!\!\!\int\!\!\!\int}
  \definemathcommand [unic@ratio]         [rel]   {:}
  \definemathcommand [unic@proportion]    [rel]   {::}
  \definemathcommand [unic@excess]        [op]    {-\!\!:}
  \definemathcommand [unic@geomprop]      [op]    {:\!\!\!-\!\!\!:}
  \definemathcommand [unic@homothetic]    [op]    {\sim\!\!\!:}
  \definemathcommand [unic@nsimeq]                {\not\simeq}
  \definemathcommand [unic@cong]                  {\cong}
  \definemathcommand [unic@napproxeq]             {\not\approxeq}
  \definemathcommand [unic@napprox]               {\not\approx}
  \definemathcommand [unic@doteq]                 {\doteq}
  \definemathcommand [unic@correspondsto]         {\buildrel \frown \over =}
  \definemathcommand [unic@estimates]             {\buildrel \wedge \over =}
  \definemathcommand [unic@equiangularto]         {\buildrel \vee \over =}
  \definemathcommand [unic@stareq]                {\buildrel \star \over =}
  \definemathcommand [unic@eqbydef]               {\buildrel \rm def \over =}
  \definemathcommand [unic@measuredby]            {\buildrel \rm m \over =}
  \definemathcommand [unic@questionedeq]          {\buildrel \rm ? \over =}
  \definemathcommand [unic@nequiv]                {\not\equiv}
  \definemathcommand [unic@nasymp]                {\not\asymp}
  \definemathcommand [unic@nlesssim]              {\not\lesssim}
  \definemathcommand [unic@ngtrsim]               {\not\gtrsim}
  \definemathcommand [unic@nlessgtr]              {\not\lessgtr}
  \definemathcommand [unic@ngtrless]              {\not\gtrless}
  \definemathcommand [unic@nsubset]               {\not\subset}
  \definemathcommand [unic@nsupset]               {\not\supset}
  \definemathcommand [unic@nsqsubseteq]           {\not\sqsubseteq}
  \definemathcommand [unic@nsqsupseteq]           {\not\sqsupseteq}

\stopmathcollection

% needed for unic-039

\startmathcollection[default]

  \definemathcommand [unic@Lbracket]  [open]  {[\![}
  \definemathcommand [unic@Rbracket]  [close] {]\!]}
  \definemathcommand [unic@Langle]    [open]  {\langle\!\langle}
  \definemathcommand [unic@Rangle]    [close] {\rangle\!\rangle}

\stopmathcollection

\protect \endinput