| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% |
| 3 |
% Module: ZzTeX Lucida Math Font Support |
| 4 |
% |
| 5 |
% Synopsis: This module contains various definitions and redefinitions |
| 6 |
% necessary to use the Lucida math fonts. |
| 7 |
% |
| 8 |
% Note: This module assumes the user is generating PostScript output. |
| 9 |
% |
| 10 |
% Author: Paul C. Anagnostopoulos |
| 11 |
% Created: 27 June 1992 |
| 12 |
% |
| 13 |
% Copyright 1989--2020 by Paul C. Anagnostopoulos |
| 14 |
% under The MIT License (opensource.org/licenses/MIT) |
| 15 |
% |
| 16 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 17 |
|
| 18 |
% Type Styles |
| 19 |
% ---- ------ |
| 20 |
|
| 21 |
\setstyleskewchar{\msy}{"7F} |
| 22 |
\setstyleskewchar{\msy}{"30} |
| 23 |
|
| 24 |
% Redefine Math Characters |
| 25 |
% -------- ---- ---------- |
| 26 |
|
| 27 |
|
| 28 |
\zmchar \Gamma \classvarfam \mexfam {D0} |
| 29 |
\zmchar \Delta \classvarfam \mexfam {D1} |
| 30 |
\zmchar \Theta \classvarfam \mexfam {D2} |
| 31 |
\zmchar \Lambda \classvarfam \mexfam {D3} |
| 32 |
\zmchar \Xi \classvarfam \mexfam {D4} |
| 33 |
\zmchar \Pi \classvarfam \mexfam {D5} |
| 34 |
\zmchar \Sigma \classvarfam \mexfam {D6} |
| 35 |
\zmchar \Upsilon \classvarfam \mexfam {D7} |
| 36 |
\zmchar \Phi \classvarfam \mexfam {D8} |
| 37 |
\zmchar \Psi \classvarfam \mexfam {D9} |
| 38 |
\zmchar \Omega \classvarfam \mexfam {DA} |
| 39 |
|
| 40 |
\zmchar {`=} \classrel \msyfam {83} |
| 41 |
\zmchar {`+} \classbinop \msyfam {82} |
| 42 |
|
| 43 |
\definemathdelimiter {`/} \classord \mitfam {3D} \mexfam {0E} |
| 44 |
|
| 45 |
\zmchar {`(} \classopen \mitfam {84} |
| 46 |
\definemathdelimiter {`(} \classord \mitfam {84} \mexfam {00} |
| 47 |
\zmchar {`)} \classclose \mitfam {85} |
| 48 |
\definemathdelimiter {`)} \classord \mitfam {85} \mexfam {01} |
| 49 |
|
| 50 |
\zmchar {`[} \classopen \mitfam {86} |
| 51 |
\definemathdelimiter {`[} \classord \mitfam {86} \mexfam {02} |
| 52 |
\zmchar {`]} \classclose \mitfam {87} |
| 53 |
\definemathdelimiter {`]} \classord \mitfam {87} \mexfam {03} |
| 54 |
|
| 55 |
\zmchar \angle \classord \msyfam {8B} |
| 56 |
\zmchar \bowtie \classrel \mitfam {F6} |
| 57 |
\zmchar \cong \classrel \msyfam {9B} |
| 58 |
\zmchar \doteq \classrel \msyfam {C9} |
| 59 |
\zmchar \models \classrel \msyfam {EE} |
| 60 |
|
| 61 |
\if \zusemar |
| 62 |
\zmchar \hbar \classord \mitfam {9D} |
| 63 |
\zmchar \hookleftarrow \classrel \marfam {3C} |
| 64 |
\zmchar \hookrightarrow \classrel \marfam {3E} |
| 65 |
\zmchar \leftrightharpoons \classrel \marfam {79} |
| 66 |
\zmchar \mapsto \classrel \marfam {2C} |
| 67 |
\zmchar \neq \classrel \marfam {94} |
| 68 |
\zmchar \rightleftharpoons \classrel \marfam {7A} |
| 69 |
\fi |
| 70 |
|
| 71 |
% New Math Characters |
| 72 |
% --- ---- ---------- |
| 73 |
|
| 74 |
|
| 75 |
\if \zusemar |
| 76 |
\zmchar \notapprox \classrel \marfam {98} |
| 77 |
\zmchar \notasymp \classrel \marfam {F3} |
| 78 |
\zmchar \notcong \classrel \marfam {99} |
| 79 |
\zmchar \noteq \classrel \marfam {94} |
| 80 |
\zmchar \notequiv \classrel \marfam {95} |
| 81 |
\zmchar \notgeq \classrel \marfam {9D} |
| 82 |
\zmchar \notgreater \classrel \marfam {9B} |
| 83 |
\zmchar \notin \classrel \marfam {1D} |
| 84 |
\zmchar \notleq \classrel \marfam {9C} |
| 85 |
\zmchar \notless \classrel \marfam {9A} |
| 86 |
\zmchar \notmid \classrel \marfam {F6} |
| 87 |
\zmchar \notmodels \classrel \marfam {F9} |
| 88 |
\zmchar \notni \classrel \marfam {1F} |
| 89 |
\zmchar \notparallel \classrel \marfam {F7} |
| 90 |
\zmchar \notprec \classrel \marfam {E5} |
| 91 |
\zmchar \notpreceq \classrel \marfam {E7} |
| 92 |
\zmchar \notsim \classrel \marfam {96} |
| 93 |
\zmchar \notsimeq \classrel \marfam {97} |
| 94 |
\zmchar \notsqsubseteq \classrel \marfam {D4} |
| 95 |
\zmchar \notsqsupseteq \classrel \marfam {D5} |
| 96 |
\zmchar \notsubset \classrel \marfam {C6} |
| 97 |
\zmchar \notsubseteq \classrel \marfam {C8} |
| 98 |
\zmchar \notsucc \classrel \marfam {E6} |
| 99 |
\zmchar \notsucceq \classrel \marfam {E8} |
| 100 |
\zmchar \notsupset \classrel \marfam {C7} |
| 101 |
\zmchar \notsupseteq \classrel \marfam {C9} |
| 102 |
\zmchar \notvdash \classrel \marfam {F8} |
| 103 |
\fi |
| 104 |
|
| 105 |
% Redefine General Tools |
| 106 |
% -------- ------- ----- |
| 107 |
|
| 108 |
|
| 109 |
\def \big #1{{\hbox{$\left#1\vbox to 8.2pt{}\right.\zmnosp$}}} |
| 110 |
\def \Big #1{{\hbox{$\left#1\vbox to 10.8pt{}\right.\zmnosp$}}} |
| 111 |
\def \bigg #1{{\hbox{$\left#1\vbox to 13.42pt{}\right.\zmnosp$}}} |
| 112 |
\def \Bigg #1{{\hbox{$\left#1\vbox to 16.03pt{}\right.\zmnosp$}}} |
| 113 |
\def \biggg #1{{\hbox{$\left#1\vbox to 17.72pt{}\right.\zmnosp$}}} |
| 114 |
\def \Biggg #1{{\hbox{$\left#1\vbox to 21.25pt{}\right.\zmnosp$}}} |
| 115 |
|
| 116 |
\def \bigggl {\mathopen\biggg} |
| 117 |
\def \Bigggl {\mathopen\Biggg} |
| 118 |
\def \bigggr {\mathclose\biggg} |
| 119 |
\def \Bigggr {\mathclose\Biggg} |
| 120 |
|
| 121 |
\def \joinrel {\mathrel{\mkern -4mu}} |
| 122 |
|
| 123 |
\def \mathstrut {\vphantom{f}} |
| 124 |
|
| 125 |
\def \matrix #1{% |
| 126 |
\null\nonscript\,% |
| 127 |
\vcenter{\normalbaselines |
| 128 |
\ialign{\hfil $##$\hfil&& \quad \hfil $##$\hfil \crcr |
| 129 |
\mathstrut\crcr |
| 130 |
\noalign{\kern -0.9\baselineskip}% |
| 131 |
#1\crcr |
| 132 |
\mathstrut\crcr |
| 133 |
\noalign{\kern -0.9\baselineskip}}}% |
| 134 |
\nonscript\,} |
| 135 |
|
| 136 |
\def \zroot #1#2{% {\style}{radicand} |
| 137 |
\setbox\zboxa = \hbox{$#1\sqrt{#2}$}% |
| 138 |
\tdimena = \ht\zboxa |
| 139 |
\advance \tdimena by -\dp\zboxa |
| 140 |
\mkern 5mu \raise .6\tdimena \copy\zrootbox \mkern -8mu \box\zboxa} |