r3tex

custom LuaTeX format
git clone git://git.rr3.xyz/r3tex
Log | Files | Refs | README | LICENSE

commit 27eb8fd5d3affcaf847a942abe1b199268e19bd0
parent 7f58376b4321d9d44d4cf951cab07edf0a7bf8bc
Author: robert <robertrussell.72001@gmail.com>
Date:   Sun, 23 Jan 2022 22:43:57 -0800

Reorganize and complete Greek enc table

Also, make upper case letters class 0 instead of class 7 to match the
lower case letters. When we get the font system designed and
implemented, it will have support for changing math encodings on the
fly, so this will be fixed later.

Diffstat:
Mmathenc.tex | 66++++++++++++++++++++++++++++++++++++++----------------------------
1 file changed, 38 insertions(+), 28 deletions(-)

diff --git a/mathenc.tex b/mathenc.tex @@ -38,47 +38,57 @@ \delcode`\\="26E30F % N.B. { and } should NOT get delcodes; otherwise parameter grouping fails! -% Greek letters +% Lowercase Greek letters \mathchardef\alpha="010B \mathchardef\beta="010C \mathchardef\gamma="010D \mathchardef\delta="010E -\mathchardef\epsilon="010F +\mathchardef\epsilon="010F \mathchardef\varepsilon="0122 \mathchardef\zeta="0110 \mathchardef\eta="0111 -\mathchardef\theta="0112 +\mathchardef\theta="0112 \mathchardef\vartheta="0123 \mathchardef\iota="0113 \mathchardef\kappa="0114 \mathchardef\lambda="0115 \mathchardef\mu="0116 \mathchardef\nu="0117 \mathchardef\xi="0118 -\mathchardef\pi="0119 -\mathchardef\rho="011A -\mathchardef\sigma="011B +\mathchardef\omicron="016F +\mathchardef\pi="0119 \mathchardef\varpi="0124 +\mathchardef\rho="011A \mathchardef\varrho="0125 +\mathchardef\sigma="011B \mathchardef\varsigma="0126 \mathchardef\tau="011C \mathchardef\upsilon="011D -\mathchardef\phi="011E +\mathchardef\phi="011E \mathchardef\varphi="0127 \mathchardef\chi="011F \mathchardef\psi="0120 \mathchardef\omega="0121 -\mathchardef\varepsilon="0122 -\mathchardef\vartheta="0123 -\mathchardef\varpi="0124 -\mathchardef\varrho="0125 -\mathchardef\varsigma="0126 -\mathchardef\varphi="0127 -\mathchardef\Gamma="7000 -\mathchardef\Delta="7001 -\mathchardef\Theta="7002 -\mathchardef\Lambda="7003 -\mathchardef\Xi="7004 -\mathchardef\Pi="7005 -\mathchardef\Sigma="7006 -\mathchardef\Upsilon="7007 -\mathchardef\Phi="7008 -\mathchardef\Psi="7009 -\mathchardef\Omega="700A + +% Uppercase Greek letters +\mathchardef\Alpha="0041 +\mathchardef\Beta="0042 +\mathchardef\Gamma="0000 +\mathchardef\Delta="0001 +\mathchardef\Epsilon="0045 +\mathchardef\Zeta="005A +\mathchardef\Eta="0048 +\mathchardef\Theta="0002 +\mathchardef\Iota="0049 +\mathchardef\Kappa="004B +\mathchardef\Lambda="0003 +\mathchardef\Mu="004D +\mathchardef\Nu="004E +\mathchardef\Xi="0004 +\mathchardef\Omicron="004F +\mathchardef\Pi="0005 +\mathchardef\Rho="0050 +\mathchardef\Sigma="0006 +\mathchardef\Tau="0054 +\mathchardef\Upsilon="0007 +\mathchardef\Phi="0008 +\mathchardef\Chi="0058 +\mathchardef\Psi="0009 +\mathchardef\Omega="000A \mathchardef\aleph="0240 \def\hbar{{\mathchar'26 \mkern-9mu h}} @@ -239,14 +249,14 @@ \def\Downarrow{\delimiter"322B37F } \def\Updownarrow{\delimiter"326D377 } \def\backslash{\delimiter"26E30F } -\def\rangle{\delimiter"526930B } \def\langle{\delimiter"426830A } -\def\rbrace{\delimiter"5267309 } +\def\rangle{\delimiter"526930B } \def\lbrace{\delimiter"4266308 } -\def\rceil{\delimiter"5265307 } +\def\rbrace{\delimiter"5267309 } \def\lceil{\delimiter"4264306 } -\def\rfloor{\delimiter"5263305 } +\def\rceil{\delimiter"5265307 } \def\lfloor{\delimiter"4262304 } +\def\rfloor{\delimiter"5263305 } \def\sqrt{\radical"270370 }