| 1 |
%%%======================================================================== |
| 2 |
%%% @TeX-font-metrics-file{ |
| 3 |
%%% author = "Alan Jeffrey and Lars Hellstr{\"o}m", |
| 4 |
%%% version = "1.915", |
| 5 |
%%% date = "20 November 2000", |
| 6 |
%%% time = "17:01:00 CEST", |
| 7 |
%%% filename = "mathex.mtx", |
| 8 |
%%% checksum = "", |
| 9 |
%%% email = "[email protected]", |
| 10 |
%%% codetable = "ISO/ASCII", |
| 11 |
%%% keywords = "encoding, math, TeX, PostScript", |
| 12 |
%%% supported = "yes", |
| 13 |
%%% abstract = "These are the extra glyphs needed for TeX |
| 14 |
%%% math fonts, used by the fontinst package.", |
| 15 |
%%% package = "fontinst", |
| 16 |
%%% dependencies = "fontinst.sty, fontdoc.sty", |
| 17 |
%%% } |
| 18 |
%%%======================================================================== |
| 19 |
\relax |
| 20 |
|
| 21 |
\documentclass[twocolumn]{article} |
| 22 |
\usepackage{fontdoc}[1999/11/04] |
| 23 |
|
| 24 |
\title{The \texttt{fontinst} math symbol glyphs} |
| 25 |
\author{Alan Jeffrey\and Lars Hellstr\"om} |
| 26 |
\date{November 20, 2000} |
| 27 |
|
| 28 |
\showbranches |
| 29 |
|
| 30 |
\begin{document} |
| 31 |
|
| 32 |
\maketitle |
| 33 |
|
| 34 |
\section{Introduction} |
| 35 |
|
| 36 |
This document describes the glyphs used by the \texttt{fontinst} |
| 37 |
package when generating math symbol fonts. |
| 38 |
|
| 39 |
\metrics |
| 40 |
|
| 41 |
% Uses the fontinst package. |
| 42 |
|
| 43 |
\needsfontinstversion{1.900} |
| 44 |
|
| 45 |
|
| 46 |
% \unfakable is a glyph which can't be faked. |
| 47 |
\setcommand\unfakable#1{ |
| 48 |
\setglyph{#1} |
| 49 |
\glyphrule{500}{500} |
| 50 |
\glyphwarning{missing glyph `#1'} |
| 51 |
\endsetglyph |
| 52 |
} |
| 53 |
\begincomment\medskip |
| 54 |
An \textbf{Unfakable} is a glyph which can't be faked. An |
| 55 |
``\textbf{Unfakable `\#1'}\,'' is equivalent to |
| 56 |
\begin{quotation}\unfakable{\#1}\end{quotation} |
| 57 |
|
| 58 |
\resetcommand\unfakable#1{\Aheading{Unfakable `#1'}} |
| 59 |
\endcomment |
| 60 |
|
| 61 |
|
| 62 |
% \extensible and \vextensible define a number of extensible glyphs. |
| 63 |
\setcommand\extensible#1{ |
| 64 |
\begincomment |
| 65 |
\subsection{The `#1' extensible}% |
| 66 |
\endcomment |
| 67 |
\unfakable{#1} |
| 68 |
\unfakable{#1tp} |
| 69 |
\unfakable{#1mid} |
| 70 |
\unfakable{#1bt} |
| 71 |
\unfakable{#1ex} |
| 72 |
\setglyph{#1big} \glyph{#1}{1000} \endsetglyph |
| 73 |
\setglyph{#1Big} \glyph{#1big}{1000} \endsetglyph |
| 74 |
\setglyph{#1bigg} \glyph{#1Big}{1000} \endsetglyph |
| 75 |
\setglyph{#1Bigg} \glyph{#1bigg}{1000} \endsetglyph |
| 76 |
} |
| 77 |
|
| 78 |
\setcommand\vextensible#1{ |
| 79 |
\begincomment |
| 80 |
\subsection{The `#1' extensible}% |
| 81 |
\endcomment |
| 82 |
\unfakable{#1} |
| 83 |
\unfakable{#1tp} |
| 84 |
\unfakable{#1mid} |
| 85 |
\unfakable{#1bt} |
| 86 |
\unfakable{#1vertex} |
| 87 |
\setglyph{#1big} \glyph{#1}{1000} \endsetglyph |
| 88 |
\setglyph{#1Big} \glyph{#1big}{1000} \endsetglyph |
| 89 |
\setglyph{#1bigg} \glyph{#1Big}{1000} \endsetglyph |
| 90 |
\setglyph{#1Bigg} \glyph{#1bigg}{1000} \endsetglyph |
| 91 |
} |
| 92 |
|
| 93 |
% \wideaccent defines a wide accent. |
| 94 |
\setcommand\wideaccent#1{ |
| 95 |
\begincomment |
| 96 |
\subsection{The `#1' wide accents}% |
| 97 |
\endcomment |
| 98 |
\unfakable{#1} |
| 99 |
\setglyph{#1wide} \glyph{#1}{1000} \endsetglyph |
| 100 |
\setglyph{#1wider} \glyph{#1wide}{1000} \endsetglyph |
| 101 |
\setglyph{#1widest} \glyph{#1wider}{1000} \endsetglyph |
| 102 |
} |
| 103 |
|
| 104 |
\comment{\textit{displayoperatorscale} is the difference in scale |
| 105 |
between a big and a display operator, exept for integrals, which have |
| 106 |
their own scale.} |
| 107 |
\setint{displayoperatorscale}{1200} |
| 108 |
\setint{integralscale}{1728} |
| 109 |
|
| 110 |
\ifisglyph{product}\then |
| 111 |
\setint{textoperatorsize}{ |
| 112 |
\add{\height{product}}{\depth{product}} |
| 113 |
} |
| 114 |
\Else |
| 115 |
\setint{textoperatorsize}{1000} |
| 116 |
% Default taken from cmex10. |
| 117 |
\Fi |
| 118 |
|
| 119 |
% \integral, \bigoperator and \biggoperator define operators. |
| 120 |
|
| 121 |
\setcommand\integral#1{ |
| 122 |
\begincomment |
| 123 |
\subsection{The `#1' integrals}% |
| 124 |
\endcomment |
| 125 |
\unfakable{#1} |
| 126 |
\setglyph{#1text} \glyph{#1}{1000} \endsetglyph |
| 127 |
\setglyph{#1display} \glyph{#1text}{\int{integralscale}} \endsetglyph |
| 128 |
} |
| 129 |
|
| 130 |
\setcommand\bigoperator#1{ |
| 131 |
\begincomment |
| 132 |
\subsection{The `#1' big operators}% |
| 133 |
\endcomment |
| 134 |
\unfakable{#1} |
| 135 |
\setglyph{#1text} \glyph{#1}{1000} \endsetglyph |
| 136 |
\setglyph{#1display} \glyph{#1text}{\int{displayoperatorscale}} \endsetglyph |
| 137 |
} |
| 138 |
|
| 139 |
\setcommand\biggoperator#1{ |
| 140 |
\begincomment |
| 141 |
\subsection{The `#1' big operators}% |
| 142 |
\endcomment |
| 143 |
\unfakable{#1} |
| 144 |
\setglyph{#1text} |
| 145 |
\glyph{#1}{ |
| 146 |
\div{\mul{1000}{\int{textoperatorsize}}} |
| 147 |
{\add{\height{#1}}{\depth{#1}}} |
| 148 |
} |
| 149 |
\endsetglyph |
| 150 |
\setglyph{#1display} |
| 151 |
\glyph{#1text}{\int{displayoperatorscale}} |
| 152 |
\endsetglyph |
| 153 |
} |
| 154 |
|
| 155 |
|
| 156 |
\begincomment |
| 157 |
\section{Math extension glyphs} |
| 158 |
\endcomment |
| 159 |
|
| 160 |
\unfakable{bracketleftbt} |
| 161 |
\unfakable{bracketrightbt} |
| 162 |
\unfakable{bracketlefttp} |
| 163 |
\unfakable{bracketrighttp} |
| 164 |
|
| 165 |
\setglyph{floorleft} |
| 166 |
\glyph{bracketleftbt}{1000} |
| 167 |
\endsetglyph |
| 168 |
|
| 169 |
\setglyph{floorright} |
| 170 |
\glyph{bracketrightbt}{1000} |
| 171 |
\endsetglyph |
| 172 |
|
| 173 |
\setglyph{ceilingleft} |
| 174 |
\glyph{bracketlefttp}{1000} |
| 175 |
\endsetglyph |
| 176 |
|
| 177 |
\setglyph{ceilingright} |
| 178 |
\glyph{bracketrighttp}{1000} |
| 179 |
\endsetglyph |
| 180 |
|
| 181 |
\setglyph{bardbl} |
| 182 |
\glyph{bar}{1000} |
| 183 |
\glyph{bar}{1000} |
| 184 |
\endsetglyph |
| 185 |
|
| 186 |
\setglyph{barex} |
| 187 |
\glyph{bar}{1000} |
| 188 |
\endsetglyph |
| 189 |
|
| 190 |
\setglyph{bardblex} |
| 191 |
\glyph{bardbl}{1000} |
| 192 |
\endsetglyph |
| 193 |
|
| 194 |
\setglyph{arrowtp} |
| 195 |
\glyph{arrowup}{1000} |
| 196 |
\endsetglyph |
| 197 |
|
| 198 |
\setglyph{arrowbt} |
| 199 |
\glyph{arrowdown}{1000} |
| 200 |
\endsetglyph |
| 201 |
|
| 202 |
\setglyph{arrowdbltp} |
| 203 |
\glyph{arrowdblup}{1000} |
| 204 |
\endsetglyph |
| 205 |
|
| 206 |
\setglyph{arrowdblbt} |
| 207 |
\glyph{arrowdbldown}{1000} |
| 208 |
\endsetglyph |
| 209 |
|
| 210 |
\unfakable{tilde} |
| 211 |
|
| 212 |
\setglyph{hat} |
| 213 |
\glyph{circumflex}{1000} |
| 214 |
\endsetglyph |
| 215 |
|
| 216 |
\unfakable{plus} |
| 217 |
\unfakable{union} |
| 218 |
|
| 219 |
\setglyph{unionmulti} |
| 220 |
\push |
| 221 |
\movert{\div{\sub{\width{union}}{\scale{\width{plus}}{700}}}{2}} |
| 222 |
\moveup{\div{\width{plus}}{4}} |
| 223 |
\glyph{plus}{700} |
| 224 |
\pop |
| 225 |
\glyph{union}{1000} |
| 226 |
\endsetglyph |
| 227 |
|
| 228 |
\extensible{parenleft} |
| 229 |
\extensible{parenright} |
| 230 |
\extensible{bracketleft} |
| 231 |
\extensible{bracketright} |
| 232 |
\extensible{braceleft} |
| 233 |
\extensible{braceright} |
| 234 |
\extensible{floorleft} |
| 235 |
\extensible{floorright} |
| 236 |
\extensible{ceilingleft} |
| 237 |
\extensible{ceilingright} |
| 238 |
\extensible{slash} |
| 239 |
\extensible{backslash} |
| 240 |
\extensible{angleleft} |
| 241 |
\extensible{angleright} |
| 242 |
|
| 243 |
\wideaccent{hat} |
| 244 |
\wideaccent{tilde} |
| 245 |
|
| 246 |
\vextensible{radical} |
| 247 |
\vextensible{arrow} |
| 248 |
\extensible{arrowdbl} |
| 249 |
\unfakable{arrowvertexdbl} |
| 250 |
|
| 251 |
\biggoperator{unionsq} |
| 252 |
\biggoperator{circledot} |
| 253 |
\biggoperator{circleplus} |
| 254 |
\biggoperator{circlemultiply} |
| 255 |
\biggoperator{unionmulti} |
| 256 |
\biggoperator{intersection} |
| 257 |
\biggoperator{union} |
| 258 |
\biggoperator{logicaland} |
| 259 |
\biggoperator{logicalor} |
| 260 |
|
| 261 |
\bigoperator{product} |
| 262 |
\bigoperator{summation} |
| 263 |
\bigoperator{coproduct} |
| 264 |
|
| 265 |
\integral{integral} |
| 266 |
\integral{contintegral} |
| 267 |
|
| 268 |
\begincomment |
| 269 |
\subsection{Horizontal braces} |
| 270 |
\endcomment |
| 271 |
|
| 272 |
\unfakable{bracehtipdownleft} |
| 273 |
\unfakable{bracehtipdownright} |
| 274 |
\unfakable{bracehtipupleft} |
| 275 |
\unfakable{bracehtipupright} |
| 276 |
|
| 277 |
\endmetrics |
| 278 |
|
| 279 |
|
| 280 |
\section{Changes} |
| 281 |
|
| 282 |
29 Dec 1993, v1.30: Created file. |
| 283 |
|
| 284 |
3 Jan 1994, v1.301: Renamed some of the glyphs, added fakes for |
| 285 |
\texttt{arrowverttp} and friends. |
| 286 |
|
| 287 |
8 Jan 1994, v1.304: Renamed \texttt{similareq} to \texttt{similarequal}. |
| 288 |
|
| 289 |
9 Jan 1994, v1.305: Renamed some glyphs to use the same names as Lucida |
| 290 |
New Math. |
| 291 |
|
| 292 |
16 October 2000, v\,1.915: Updated markup (made it a \LaTeXe\ |
| 293 |
document!). (LH) |
| 294 |
|
| 295 |
20 November 2000, v\,1.915: Added test for whether the \texttt{product} |
| 296 |
glyph exists before setting the \textit{textoperatorsize}, using |
| 297 |
value corresponding to \texttt{cmex10} if it doesn't. Changed |
| 298 |
\verb|\wideaccent| to call the widest glyph \textellipsis\texttt{widest} |
| 299 |
instead of \textellipsis\texttt{widerr}. Changed glyph name |
| 300 |
\texttt{arrowdblvertex} to \texttt{arrowvertexdbl}. (LH) Reported by |
| 301 |
Alejandro L\'{o}pez-Valencia. |
| 302 |
|
| 303 |
\end{document} |