summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/mex/utf8mex/test-math.utf8.tex
blob: aae9c008497a1a4b42dc547f0173ad70720e25c3 (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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
%% Note that this file is UTF-8 encoded          -*- coding: utf-8 -*-

%% -- modified manmac macros

\outer\def\begindisplay{\obeylines\startdisplay}
{\obeylines\gdef\startdisplay#1
  {\catcode`\^^M=5$$#1\halign\bgroup\indent##\hfil&&\qquad##\hfil\cr}}

\chardef\other=12
\def\ttverbatim{\begingroup
  \catcode`\\=\other
  \catcode`\{=\other
  \catcode`\}=\other
  \catcode`\$=\other
  \catcode`\&=\other
  \catcode`\#=\other
  \catcode`\%=\other
  \catcode`\~=\other
  \catcode`\_=\other
  \catcode`\^=\other
  \obeyspaces \obeylines \tt}

\outer\def\begintt{$$\let\par=\endgraf \ttverbatim \parskip=\z@
  \catcode`\|=0 \rightskip-5pc \ttfinish}
{\catcode`\|=0 |catcode`|\=\other % | is temporary escape character
  |obeylines % end of line is active
  |gdef|ttfinish#1^^M#2\endtt{#1|vbox{#2}|endgroup$$}}

\newskip\ttglue
\ttglue=.5em plus.25em minus.15em

\catcode`\|=\active
{\obeylines \gdef|{\ttverbatim \spaceskip\ttglue \let^^M=\  \let|=\endgroup}}

\def\beginsymbols{$$%\displayindent=16pt
  \vbox\bgroup\halign\bgroup
  &\qquad\hbox to10pt{\hss$##$\hss}\enspace&\hbox to80pt{##\hss}\cr}
\outer\def\enddisplay{\crcr\egroup\egroup$$}
\let\endsymbols=\enddisplay

%% ---

\centerline{{\TeX}book, Chapter 16: Typing Math Formulas}

$$ x × y ⋅ z \quad x ∘ y ∙ z \quad x ∪ y ∩ z $$
$$ x ⊔ y ⊓ z \quad x ∨ y ∧ z \quad x ± y ∓ z $$
$$ g^∘ ↦ g^∙ \quad f^*(x) ∩ f_*(y) $$
$$ x ≤ y ≠ z \quad x ∼ y ≃ z \quad x ≡ y \not≡ z $$
$$ x ⊂ y ⊆ z \quad f\colon A → B $$

\centerline{{\TeX}book, Chapter 17: More about Math}

$$ ∑_{n=0}^∞ x_n = ∫_{-∞}^{∞} f(x)\,dx $$

\centerline{{\TeX}book, Chapter 18: Fine Point of Mathematics Typing}

$$ \sin2θ=2\sinθ\cosθ \quad ℏ = 1.0545 × 10^{-27}\,\rm erg\,sec$$
$$ Γ_{\!2}+Δ^{\!2} \quad A_1 × A_2 × \cdots × A_n$$ % missing \cdots in u8tex.el
$$ x_1x_2\ldots x_n $$

\centerline{{\TeX}book, Appendix F: Font Tables}

\bigbreak
\centerline{\it Lowercase Greek letters}
\beginsymbols
α&|\alpha|&ι&|\iota|&ϱ&|\varrho|\cr
β&|\beta|&κ&|\kappa|&σ&|\sigma|\cr
γ&|\gamma|&λ&|\lambda|&ς&|\varsigma|\cr
δ&|\delta|&μ&|\mu|&τ&|\tau|\cr
ε&|\epsilon|&ν&|\nu|&υ&|\upsilon|\cr
\varepsilon&|\varepsilon|&ξ&|\xi|&ϕ&|\phi|\cr
ζ&|\zeta|&o&|o|&φ&|\varphi|\cr
η&|\eta|&π&|\pi|&χ&|\chi|\cr
θ&|\theta|&ϖ&|\varpi|&ψ&|\psi|\cr
ϑ&|\vartheta|&ρ&|\rho|&ω&|\omega|\cr
\endsymbols

\bigbreak
\centerline{\it Uppercase Greek letters}
\beginsymbols
Γ&|\Gamma|&Ξ&|\Xi|&Φ&|\Phi|\cr
Δ&|\Delta|&Π&|\Pi|&Ψ&|\Psi|\cr
Θ&|\Theta|&Σ&|\Sigma|&Ω&|\Omega|\cr
Λ&|\Lambda|&Υ&|\Upsilon|\cr
\endsymbols

\bigbreak
\centerline{\it Miscellaneous symbols of type Ord}
\beginsymbols
ℵ&|\aleph|&\prime&|\prime|&∀&|\forall|\cr
ℏ&|\hbar|&∅&|\emptyset|&∃&|\exists|\cr
ı&|\imath|&∇&|\nabla|&¬&|\neg|\cr
\jmath&|\jmath|&√&|\surd|&♭&|\flat|\cr
ℓ&|\ell|&⊤&|\top|&♮&|\natural|\cr
℘&|\wp|&⊥&|\bot|&♯&|\sharp|\cr
ℜ&|\Re|&∥&|\Vert|&♣&|\clubsuit|\cr
%ℜ&|\Re|&∥&|\|\|&♣&|\clubsuit|\cr
ℑ&|\Im|&∠&|\angle|&♢&|\diamondsuit|\cr
∂&|\partial|&△&|\triangle|&♡&|\heartsuit|\cr
∞&|\infty|&\backslash&|\backslash|&♠&|\spadesuit|\cr
\endsymbols

\bigbreak
\centerline{\it Large operators}
$$\openup3pt
\vbox{\halign{&\qquad\hbox to10pt{\hss$#$\hss}\enspace&
  \hbox to10pt{\hss$\displaystyle#$\hss}\enspace&
  \hbox to60pt{#\hss}\cr
∑&∑&|\sum|&⋂&⋂&|\bigcap|&
  \bigodot&\bigodot&|\bigodot|\cr
∏&∏&|\prod|&⋃&⋃&|\bigcup|&
  \bigotimes&\bigotimes&|\bigotimes|\cr
∐&∐&|\coprod|&\bigsqcup&\bigsqcup&|\bigsqcup|&
  \bigoplus&\bigoplus&|\bigoplus|\cr
∫&∫&|\int|&⋁&⋁&|\bigvee|&
  \biguplus&\biguplus&|\biguplus|\cr
∮&∮&|\oint|&⋀&⋀&|\bigwedge|\cr
}}$$

\bigbreak
\centerline{\it Binary operations}
\beginsymbols
±&|\pm|&∩&|\cap|&∨&|\vee|\cr
∓&|\mp|&∪&|\cup|&∧&|\wedge|\cr
∖&|\setminus|&⊎&|\uplus|&⊕&|\oplus|\cr
⋅&|\cdot|&⊓&|\sqcap|&⊖&|\ominus|\cr
×&|\times|&⊔&|\sqcup|&⊗&|\otimes|\cr
∗&|\ast|&◃&|\triangleleft|&⊘&|\oslash|\cr
⋆&|\star|&▹&|\triangleright|&⊙&|\odot|\cr
⋄&|\diamond|&≀&|\wr|&†&|\dagger|\cr
∘&|\circ|&\bigcirc&|\bigcirc|&‡&|\ddagger|\cr
∙&|\bullet|&△&|\bigtriangleup|&∐&|\amalg|\cr
÷&|\div|&▽&|\bigtriangledown|\cr
\endsymbols

\bigbreak
\centerline{\it Relations}
\beginsymbols
≤&|\leq|&≥&|\geq|&≡&|\equiv|\cr
≺&|\prec|&≻&|\succ|&∼&|\sim|\cr
≼&|\preceq|&≽&|\succeq|&≃&|\simeq|\cr
≪&|\ll|&≫&|\gg|&≍&|\asymp|\cr
⊂&|\subset|&⊃&|\supset|&≈&|\approx|\cr
⊆&|\subseteq|&⊇&|\supseteq|&≅&|\cong|\cr
⊑&|\sqsubseteq|&⊒&|\sqsupseteq|&⋈&|\bowtie|\cr
∈&|\in|&∋&|\ni|&∝&|\propto|\cr
⊢&|\vdash|&⊣&|\dashv|&⊧&|\models|\cr
⌣&|\smile|&∣&|\mid|&≐&|\doteq|\cr
⌢&|\frown|&∥&|\parallel|&⊥&|\perp|\cr
\endsymbols

%\bigbreak
%\centerline{\it Negated relations}

\bigbreak
\centerline{Arrows}
$$\vbox{\halign\bgroup
  \qquad\hbox to10pt{\hss$#$\hss}\enspace&\hbox to75pt{#\hss}&
  \qquad\hbox to10pt{\hss$#$\hss}\enspace&\hbox to85pt{#\hss}&
  \qquad\hbox to10pt{\hss$#$\hss}\enspace&\hbox to80pt{#\hss}\cr
←&|\leftarrow|&\longleftarrow&|\longleftarrow|&
  ↑&|\uparrow|\cr
⇐&|\Leftarrow|&\Longleftarrow&|\Longleftarrow|&
  ⇑&|\Uparrow|\cr
→&|\rightarrow|&\longrightarrow&|\longrightarrow|&
  ↓&|\downarrow|\cr
⇒&|\Rightarrow|&\Longrightarrow&|\Longrightarrow|&
  ⇓&|\Downarrow|\cr
↔&|\leftrightarrow|&\longleftrightarrow&|\longleftrightarrow|&
  ↕&|\updownarrow|\cr
⇔&|\Leftrightarrow|&\Longleftrightarrow&|\Longleftrightarrow|&
  ⇕&|\Updownarrow|\cr
↦&|\mapsto|&\longmapsto&|\longmapsto|&
  ↗&|\nearrow|\cr
↩&|\hookleftarrow|&\hookrightarrow&|\hookrightarrow|&
  ↘&|\searrow|\cr
↼&|\leftharpoonup|&\rightharpoonup&|\rightharpoonup|&
  ↙&|\swarrow|\cr
↽&|\leftharpoondown|&\rightharpoondown&|\rightharpoondown|&
  ↖&|\nwarrow|\cr
⇌&|\rightleftharpoons|\cr
\enddisplay

\bigbreak
\centerline{\it Openings}
\beginsymbols
\lbrack&|\lbrack|&⌊&|\lfloor|&⌈&|\lceil|\cr
\lbrace&|\lbrace|&⟨&|\langle|\cr
\endsymbols

\bigbreak
\centerline{\it Closings}
\beginsymbols
\rbrack&|\rbrack|&⌋&|\rfloor|&⌉&|\rceil|\cr
\rbrace&|\rbrace|&⟩&|\rangle|\cr
\endsymbols

\bigbreak
\centerline{\it Alternate names}
$$\vbox{\halign{\indent$\hfil#\hfil$\enspace&#\hfil\enspace&
  (same as #)\hfil\cr
≠&|\ne| or |\neq|&|\not=|\cr
≤&|\le|&|\leq|\cr
≥&|\ge|&|\geq|\cr
\{&|\{|&|\lbrace|\cr
\}&|\}|&|\rbrace|\cr
→&|\to|&|\rightarrow|\cr
←&|\gets|&|\leftarrow|\cr
∋&|\owns|&|\ni|\cr
∧&|\land|&|\wedge|\cr
∨&|\lor|&|\vee|\cr
¬&|\lnot|&|\neg|\cr
%\vert&|\vert|&\|\cr
%\Vert&|\Vert|&|\|\|\cr
}}$$

\bigbreak
\centerline{Non-math symbols}
$$\vbox{\halign{\indent$\hfil#\hfil$\enspace&#\hfil\enspace\cr
§&|\S|\cr
¶&|\P|\cr
†&|\dag|\cr
‡&|\ddag|\cr
}}$$


\bye