|
1 |
| -% tex/conc/dgmpmax.tex 2018-1-13 Alan U. Kennington. |
| 1 | +% tex/conc/dgmpmax.tex 2018-2-6 Alan U. Kennington. |
2 | 2 | % $Id: tex/conc/dgmpmax.tex fb0adf70be 2017-11-24 12:18:46Z Alan U. Kennington $
|
3 | 3 | % Some macros for use in the DG book and MetaPost files.
|
4 | 4 | % General mathematics things should go in akmath.tex.
|
|
71 | 71 | \gdef\cdotss{\relax\ifmmode\cdotsIV\else$\m@th\cdotsIV\,$\fi}
|
72 | 72 | }
|
73 | 73 |
|
74 |
| -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
75 |
| -\def\Xstyle{3} |
| 74 | +%============================================================================== |
| 75 | +% Use the letter "Y" in "X" macros because "X" clashes with biblio-references. |
| 76 | +\def\Ystyle{3} |
76 | 77 |
|
77 |
| -\ifcase\Xstyle |
| 78 | +\ifcase\Ystyle |
78 | 79 | % 0. Plain X definition.
|
79 |
| -\gdef\XX{X} % Space of cross-sections. |
80 |
| -\gdef\XXo{\overcirc\XX} % Space of local/partial cross-sections. |
81 |
| -\gdef\XXhat{\hat\XX} % De-tagged covariant form cross-sections? |
82 |
| -\gdef\XXchk{\check\XX} % De-tagged covariant form cross-sections? |
| 80 | +\gdef\YY{X} % Space of cross-sections. |
| 81 | +\gdef\YYo{\overcirc\YY} % Space of local/partial cross-sections. |
| 82 | +\gdef\YYhat{\hat\YY} % De-tagged covariant form cross-sections? |
| 83 | +\gdef\YYchk{\check\YY} % De-tagged covariant form cross-sections? |
83 | 84 | \or
|
84 | 85 | % 1. Squiggly X definition.
|
85 |
| -\gdef\XX{{\eusm X}} % Space of cross-sections. |
86 |
| -\gdef\XXo{\skew2\overcirc\XX} % Space of local/partial cross-sections. |
87 |
| -\gdef\XXhat{\skew{1.5}\hat\XX} % De-tagged covariant form cross-sections? |
88 |
| -\gdef\XXchk{\skew{1.5}\check\XX} % De-tagged covariant form cross-sections? |
| 86 | +\gdef\YY{{\eusm X}} % Space of cross-sections. |
| 87 | +\gdef\YYo{\skew2\overcirc\YY} % Space of local/partial cross-sections. |
| 88 | +\gdef\YYhat{\skew{1.5}\hat\YY} % De-tagged covariant form cross-sections? |
| 89 | +\gdef\YYchk{\skew{1.5}\check\YY} % De-tagged covariant form cross-sections? |
89 | 90 | \or
|
90 | 91 | % 2. Bold X definition.
|
91 |
| -\gdef\XX{{\bf X}} % Space of cross-sections. |
92 |
| -\gdef\XXo{\skew2\overcirc\XX} % Space of local/partial cross-sections. |
93 |
| -\gdef\XXhat{\skew{1.5}\hat\XX} % De-tagged covariant form cross-sections? |
94 |
| -\gdef\XXchk{\skew{1.5}\check\XX} % De-tagged covariant form cross-sections? |
| 92 | +\gdef\YY{{\bf X}} % Space of cross-sections. |
| 93 | +\gdef\YYo{\skew2\overcirc\YY} % Space of local/partial cross-sections. |
| 94 | +\gdef\YYhat{\skew{1.5}\hat\YY} % De-tagged covariant form cross-sections? |
| 95 | +\gdef\YYchk{\skew{1.5}\check\YY} % De-tagged covariant form cross-sections? |
95 | 96 | \or
|
96 | 97 | % 3. Italic bold X definition.
|
97 |
| -\gdef\XX{{\cmmib X}} % Space of cross-sections. |
98 |
| -\gdef\XXo{\skew3\overcirc\XX} % Space of local/partial cross-sections. |
99 |
| -\gdef\XXhat{\skew{2.5}\hat\XX} % De-tagged covariant form cross-sections? |
100 |
| -\gdef\XXchk{\skew{2.5}\check\XX} % De-tagged covariant form cross-sections? |
| 98 | +\gdef\YY{{\cmmib X}} % Space of cross-sections. |
| 99 | +\gdef\YYo{\skew3\overcirc\YY} % Space of local/partial cross-sections. |
| 100 | +\gdef\YYhat{\skew{2.5}\hat\YY} % De-tagged covariant form cross-sections? |
| 101 | +\gdef\YYchk{\skew{2.5}\check\YY} % De-tagged covariant form cross-sections? |
101 | 102 | \fi
|
102 | 103 |
|
103 | 104 | % 2017-7-2. Probably the \overlineright macro should be in akmath.tex.
|
104 | 105 | % Could also define \overlineleftright and \overlineleft etc.?
|
105 | 106 | \def\overlineright#1#2{%
|
106 | 107 | {\setbox0\hbox{$#2$}\hbox to\wd0{\hss$\overline{\hbox to#1{\hss$#2$}}$}}}
|
107 |
| -\def\XXoline{\overlineright{8pt}{\XX}{}} |
| 108 | +\def\YYoline{\overlineright{8pt}{\YY}{}} |
108 | 109 |
|
109 |
| -\let\XXcut\XXoline % Short-cut de-tagged form cross-sections. |
| 110 | +\let\YYcut\YYoline % Short-cut de-tagged form cross-sections. |
110 | 111 |
|
111 |
| -% 2016-12-11. The notations \XXo and \XXloc need further study! |
112 |
| -\def\XXloc{\XX_{\rm loc}} % Local cross-sections with open domain. |
| 112 | +% 2016-12-11. The notations \YYo and \YYloc need further study! |
| 113 | +\def\YYloc{\YY_{\rm loc}} % Local cross-sections with open domain. |
113 | 114 |
|
114 |
| -% \gdef\vertXX{\,\bigr\vert\,} % Restriction of space of cross-sections. |
115 |
| -\gdef\vertXX{\,\vert\,} % Restriction of space of cross-sections. |
| 115 | +% \gdef\vertYY{\,\bigr\vert\,} % Restriction of space of cross-sections. |
| 116 | +\gdef\vertYY{\,\vert\,} % Restriction of space of cross-sections. |
116 | 117 |
|
117 |
| -% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 118 | +%============================================================================== |
118 | 119 | \def\tagpartial{\hat\partial} % Tagged partial-symbol.
|
119 | 120 | \def\tagD{\hat D} % Tagged tangent operator for given tangent vector.
|
120 | 121 |
|
|
199 | 200 | \def\parenspace{{\cal B}}
|
200 | 201 |
|
201 | 202 | % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
202 |
| -% Quoted math-mode text within the math context. |
| 203 | +% Quoted text without/with extra space within the math context. |
203 | 204 | \def\hboxq#1{\hbox{``#1''}}
|
204 |
| -\def\hboxqm#1{\hbox{``$#1$''}} |
205 |
| - |
206 |
| -% Quoted mathematical expression with extra space within text context. |
207 | 205 | \def\hboxqs#1{\hbox{``\ts#1\ts''}}
|
| 206 | +\def\hboxqsl#1{\hbox{``\ts#1''}} |
| 207 | +\def\hboxqsr#1{\hbox{``#1\ts''}} |
| 208 | + |
| 209 | +% Quoted mathematical expression without/with extra space within text context. |
| 210 | +\def\hboxqm#1{\hbox{``$#1$''}} |
208 | 211 | \def\hboxqsm#1{\hbox{``\ts$#1$\ts''}}
|
| 212 | +\def\hboxqslm#1{\hbox{``\ts$#1$''}} |
| 213 | +\def\hboxqsrm#1{\hbox{``$#1$\ts''}} |
209 | 214 |
|
210 | 215 | % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
211 | 216 | % Substitution of logical expressions into a logical expression.
|
|
0 commit comments