Debian Codegraph @

texmf-dist/source/latex/amsrefs/mathscinet.dtx

raw
1 % \def\filename{mathscinet.dtx}
2 % \def\fileversion{2.01}
3 % \def\filedate{2004/06/30}
4 %
5 % \iffalse meta-comment
6 %
7 % American Mathematical Society
8 % Technical Support
9 % Publications Technical Group
10 % 201 Charles Street
11 % Providence, RI 02904
12 % USA
13 % tel: (401) 455-4080
14 % (800) 321-4267 (USA and Canada only)
15 % fax: (401) 331-3842
16 % email: [email protected]
17 %
18 % Copyright 2001, 2010 American Mathematical Society.
19 %
20 % This work may be distributed and/or modified under the
21 % conditions of the LaTeX Project Public License, either version 1.3c
22 % of this license or (at your option) any later version.
23 % The latest version of this license is in
24 % http://www.latex-project.org/lppl.txt
25 % and version 1.3c or later is part of all distributions of LaTeX
26 % version 2005/12/01 or later.
27 %
28 % This work has the LPPL maintenance status `maintained'.
29 %
30 % The Current Maintainer of this work is the American Mathematical
31 % Society.
32 %
33 % \fi
34 %
35 % \iffalse
36 %<*driver>
37 \NeedsTeXFormat{LaTeX2e}
38 \documentclass[draft]{amsdtx}
39
40 \usepackage{mathscinet}
41
42 \newcommand{\uchar}[1]{{\small \texttt{U+#1}}}
43
44 \newcommand{\enc}{\texttt}
45
46 \newenvironment{chartable}{%
47 \begin{tabular}{%
48 l@{\extracolsep{1em}}%
49 l@{\extracolsep{1em}}%
50 r@{\extracolsep{2em}}%
51 l@{\extracolsep{1em}}%
52 l@{\extracolsep{1em}}%
53 r}%
54 }{%
55 \end{tabular}%
56 }
57
58 \makeatletter
59
60 \DeclareTextCommandDefault{\xudot}{\@underaccent\@empty{'137}}
61
62 \makeatother
63
64 \MakeShortVerb{\|}
65
66 \begin{document}
67 \title{The \pkg{mathscinet} package}
68 \author{American Mathematical Society}
69 \date{Version \fileversion, \filedate}
70 \DocInput{mathscinet.dtx}
71 \end{document}
72 %</driver>
73 % \fi
74 %
75 % \maketitle
76 % \section{Introduction}
77 %
78 % The \pkg{mathscinet} packages provides definitions for certain
79 % commands that occasionally occur in bibliographic data exported
80 % from MathSciNet and that are not provided by \latex/.
81 %
82 % \textbf{Warning:} Although the macros provided in this package
83 % are probably acceptable if all you need to do is format an entry
84 % downloaded from MathSciNet, they should probably not be used for
85 % other purposes. In general, if you are trying to typeset
86 % material in any languages that require these characters, you are
87 % better off using specialized fonts and encodings for those
88 % languages.
89 %
90 % All Unicode character references are taken from \emph{The Unicode
91 % Standard, Version~3.0} (Addison-Wesley, 2000).
92 %
93 % \StopEventually{}
94 %
95 % \section{Implementation}
96 % Standard declaration of package name and date.
97 % \begin{macrocode}
98 \NeedsTeXFormat{LaTeX2e}
99 \ProvidesPackage{mathscinet}[2002/04/17 v1.05]
100 \RequirePackage{textcmds}\relax
101 % \end{macrocode}
102 %
103 % \begin{macro}{\setboxz@h}
104 % A useful abbreviation borrowed from \pkg{amsgen}.
105 % \begin{macrocode}
106 \providecommand\setboxz@h{\setbox\z@\hbox}
107 % \end{macrocode}
108 % \end{macro}
109 %
110 % \subsection{Math font commands}
111 %
112 % \begin{macro}{\bold}
113 % \begin{macro}{\scr}
114 % These are simple aliases of core \latex/ commands.
115 % \begin{macrocode}
116 \providecommand{\bold}{\mathbf}
117 \providecommand{\scr}{\mathcal}
118 % \end{macrocode}
119 % \end{macro}
120 % \end{macro}
121 %
122 % \begin{macro}{\germ}
123 % Since this doesn't correspond to a core \latex/ command, we
124 % generate an error if no appropriate definition is available.
125 % \begin{macrocode}
126 \AtBeginDocument{%
127 \@ifundefined{mathfrak}{%
128 \providecommand{\germ}{%
129 \PackageError{mathscinet}{To use the \string\germ\space
130 command, please load the amsfonts package}\@ehc
131 }%
132 }{%
133 \providecommand{\germ}{\mathfrak}%
134 }%
135 }
136 % \end{macrocode}
137 % \end{macro}
138 %
139 % \begin{macro}{\romsup}
140 % \begin{macro}{\asup}
141 % The \cs{tsup} command comes from the \pkg{textcmds} package.
142 % \begin{macrocode}
143 \providecommand{\romsup}{\tsup}
144 \providecommand{\asup}{\tsup}
145 % \end{macrocode}
146 % \end{macro}
147 % \end{macro}
148 %
149 % \begin{macro}{\hslash}
150 % Planck's constant over~$2\pi$:~$\hslash$ (\uchar{210F}).
151 %
152 % If the \pkg{amssymb} package isn't loaded, we just want this to
153 % be an alias for |\hbar|, which is defined in the \latex/ kernel
154 % (and then redefined by the \pkg{amssymb} package). If the
155 % \pkg{amssymb} package is loaded, we want to use its definition
156 % of~|\hslash|. To prevent problems if \pkg{amsrefs} is loaded
157 % before \pkg{amssymb}, we defer our definition of \cn{hslash}
158 % until after all packages have been loaded.
159 % \begin{macrocode}
160 \AtBeginDocument{\providecommand{\hslash}{\hbar}}
161 % \end{macrocode}
162 % \end{macro}
163 %
164 % \subsection{Arabic transliteration}
165 %
166 % \begin{macro}{\rasp}
167 % Transliteration of the Arabic letter \emph{hamza}
168 % (\uchar{0621}):~\rasp\ (\uchar{02BE}).
169 % \begin{macrocode}
170 \ProvideTextCommandDefault{\rasp}{\leavevmode\raise.45ex\hbox{$\rhook$}}
171 % \end{macrocode}
172 % \end{macro}
173 %
174 % \begin{macro}{\lasp}
175 % Transliteration of the Arabic letter \emph{ain}
176 % (\uchar{0639}):~\lasp\ (\uchar{02BF}).
177 % \begin{macrocode}
178 \ProvideTextCommandDefault{\lasp}{\leavevmode\raise.45ex\hbox{$\lhook$}}
179 % \end{macrocode}
180 % \end{macro}
181 %
182 % \subsection{Latin Extended-A (\texttt{latin1}) characters}
183 %
184 % These are based on Barbara Beeton's definitions from
185 % \fn{amsclass.dtx}.
186 %
187 % \begin{macro}{\Dbar}
188 % Latin capital letter D with stroke:~\Dbar\ (\uchar{0110}). In the
189 % T1 encoding, we just use |\DJ|; otherwise we fake it.
190 % \begin{macrocode}
191 \ProvideTextCommand{\Dbar}{T1}{\DJ}
192
193 \ProvideTextCommandDefault{\Dbar}{%
194 \leavevmode\lower.5ex\rlap{\hskip-.07em\accent"16}D%
195 }
196 % \end{macrocode}
197 % \end{macro}
198 %
199 % \begin{macro}{\dbar}
200 % Latin lower letter~d with stroke:~\dbar\ (\uchar{0111}). In the
201 % T1 encoding, we just use |\dj|; otherwise we fake it.
202 % \begin{macrocode}
203 \ProvideTextCommand{\dbar}{T1}{\dj}
204 % \end{macrocode}
205 % If it looks like this is a small-caps font, we adjust the spacing
206 % appropriately.
207 % \begin{macrocode}
208 \ProvideTextCommandDefault{\dbar}{%
209 \begingroup
210 \edef\@tempa{\scdefault}%
211 \ifx\@tempa\f@shape
212 \[email protected]
213 \[email protected]
214 \else
215 \[email protected]
216 \[email protected]
217 \fi
218 \leavevmode\raise\dimen@\rlap{\hskip\dimen@i\char"16}d%
219 \endgroup
220 }
221 % \end{macrocode}
222 % \end{macro}
223 %
224 % \subsection{Cyrillic transliteration}
225 %
226 % \begin{macro}{\cprime}
227 % Transliteration of the Cyrillic letter soft sign
228 % (\uchar{042C}):~\cprime.
229 % \begin{macrocode}
230 \ProvideTextCommandDefault{\cprime}{\tprime}
231 % \end{macrocode}
232 % \end{macro}
233 %
234 % \begin{macro}{\cdprime}
235 % Transliteration of the Cyrillic letter hard sign
236 % (\uchar{042A}):~\cdprime.
237 % \begin{macrocode}
238 \ProvideTextCommandDefault{\cdprime}{\tprime\tprime}
239 % \end{macrocode}
240 % \end{macro}
241 %
242 % \begin{macro}{\bud}
243 % Ditto.
244 % \begin{macrocode}
245 \ProvideTextCommandDefault{\bud}{\cdprime}
246 % \end{macrocode}
247 % \end{macro}
248 %
249 % \begin{macro}{\cydot}
250 % Vertically centered dot.
251 % \begin{macrocode}
252 \ProvideTextCommandDefault{\cydot}{\leavevmode\raise.4ex\hbox{.}}
253 % \end{macrocode}
254 % \end{macro}
255 %
256 % \subsection{Miscellaneous diacritics (aka Frankenstein's\\
257 % diacritics)}
258 %
259 % \begin{macro}{\save@sf}
260 % When putting together an accented character from bits and pieces,
261 % the |\spacefactor| of the base character often gets lost in the
262 % shuffle. We use essentialy the same technique as |\add@accent|
263 % to save and restore the spacefactor, but we wrap in in a pair of
264 % macros for convenience.
265 % \begin{macrocode}
266 \def\save@sf{%
267 \ifmmode\else\global\mathchardef\accent@spacefactor\spacefactor\fi
268 }
269 % \end{macrocode}
270 % \end{macro}
271 %
272 % \begin{macro}{\restore@sf}
273 % And here's the corresponding restore.
274 % \begin{macrocode}
275 \def\restore@sf{\ifmmode\else\spacefactor\accent@spacefactor\fi}
276 % \end{macrocode}
277 % \end{macro}
278 %
279 % \begin{macro}{\@underaccent}
280 % This is perhaps the most interesting macro in this package (which
281 % admittedly isn't saying much). It attempts to convert a character
282 % (usually one of the standard above-letter diacritics like~\"{})
283 % into an underhanging diacritic (like~\dudot{\hbox to
284 % .5em{\hss}}). This is similar in spirit to the way that the
285 % \enc{OT1} \cn{b} command converts a macron into a bar-under
286 % accent, or the way that \cn{d} converts a period into an
287 % underhanging dot. However, the technique used here is a little
288 % more complicated and, hopefully, a little more general, in the
289 % sense of requiring fewer ad-hoc parameters. It only contains one
290 % magic constant (.2\,ex), which seems to provide reasonable
291 % results for all of the Computer Modern fonts.
292 %
293 % The basic algorithm is as follows:
294 %
295 % \begin{enumerate}
296 %
297 % \item
298 % Create a box~$B$ containing the base character at its natural
299 % height, depth, and width.
300 %
301 % \item
302 % Create a box~$d$ consisting of the diacritic centered in a space
303 % equal to the width of~$B$.
304 %
305 % \item
306 % Lower box~$d$ by the sum of its height (to bring the top of~$d$
307 % down to the baseline) plus the depth of $B$ (to bring the top
308 % of~$d$ down to the bottom of~$B$) plus .2\,ex (to provide the
309 % spacing between the bottom of the letter and the top of the
310 % diacritic). Call the new box~$d'$.
311 %
312 % \item
313 % Create a new box~$C$ by superimposing boxes $B$ and~$d'$.
314 %
315 % \item
316 % If the height of~$d$ was greater than 1\,ex, reset the depth of
317 % box~$C$ to the sum of the depth of~$B$ and 1\,ex less than the
318 % height of~$d$. (See the appendix for a discussion of this step.)
319 %
320 % \end{enumerate}
321 %
322 % \begin{macrocode}
323 \def\@underaccent#1#2#3{%
324 \leavevmode
325 \begingroup
326 \ifmmode\let\@mathtoggle$\else\let\@mathtoggle\relax\fi
327 \setboxz@h{\@mathtoggle#3\save@sf\@mathtoggle}%
328 \setbox\@ne\hb@xt@\wd\z@{%
329 \hss\fontshape\updefault\rmfamily#1\char#2\hss
330 }%
331 \dimen@\ht\@ne
332 \advance\dimen@\dp\z@
333 \advance\[email protected]
334 \setboxz@h{\lower\dimen@\rlap{\copy\@ne}\unhbox\z@}%
335 \ifdim\ht\@ne>1ex
336 \advance\[email protected]
337 \dp\z@\dimen@
338 \fi
339 \box\z@
340 \restore@sf
341 \endgroup
342 }
343 % \end{macrocode}
344 % \end{macro}
345 %
346 % \begin{macro}{\utilde}
347 % Tilde below (\uchar{0330}):
348 %
349 % \begin{chartable}
350 % |\utilde{E}| & \utilde{E} & \uchar{1E1A} &
351 % |\utilde{e}| & \utilde{e} & \uchar{1E1B} \\
352 % |\utilde{I}| & \utilde{I} & \uchar{1E2C} &
353 % |\utilde{i}| & \utilde{i} & \uchar{1E2D} \\
354 % |\utilde{U}| & \utilde{U} & \uchar{1E74} &
355 % |\utilde{u}| & \utilde{u} & \uchar{1E75}
356 % \end{chartable}
357 % \begin{macrocode}
358 \DeclareTextCommandDefault{\utilde}{\@underaccent\@empty{`\~}}
359 % \end{macrocode}
360 % \end{macro}
361 %
362 % \begin{macro}{\uarc}
363 % Breve below (\uchar{032E}):
364 %
365 % \begin{chartable}
366 % |\uarc{H}| & \uarc{H} & \uchar{1E2A} &
367 % |\uarc{h}| & \uarc{h} & \uchar{1E2B}
368 % \end{chartable}
369 % \begin{macrocode}
370 \DeclareTextCommandDefault{\uarc}{\@underaccent\@empty{'025}}
371 % \end{macrocode}
372 % \end{macro}
373 %
374 % \begin{macro}{\lfhook}
375 % Comma below (\uchar{0326}):
376 %
377 % \begin{chartable}
378 % |\lfhook{S}| & \lfhook{S} & \uchar{0218} &
379 % |\lfhook{s}| & \lfhook{s} & \uchar{0219} \\
380 % |\lfhook{T}| & \lfhook{T} & \uchar{021A} &
381 % |\lfhook{t}| & \lfhook{t} & \uchar{021B}
382 % \end{chartable}
383 % \begin{macrocode}
384 \DeclareTextCommandDefault{\lfhook}{\@underaccent\supsize{`\,}}
385 % \end{macrocode}
386 % \end{macro}
387 %
388 % \begin{macro}{\dudot}
389 % Diaeresis below (\uchar{0324}):
390 %
391 % \begin{chartable}
392 % |\dudot{U}| & \dudot{U} & \uchar{1E72} &
393 % |\dudot{u}| & \dudot{u} & \uchar{1E73}
394 % \end{chartable}
395 % \begin{macrocode}
396 \DeclareTextCommandDefault{\dudot}{\@underaccent\@empty{'177}}
397 % \end{macrocode}
398 % \end{macro}
399 %
400 % \begin{macro}{\udot}
401 % Dot below (\uchar{0323}): There are two options for implementing
402 % this: either map to the standard \cn{d} accent or define using
403 % \cs{@underaccent}. If we choose the former, we have two
404 % problems: (a)~when applied to capital letters, the standard
405 % \enc{T1} and \enc{OT1} implementations of~|\d| produce
406 % \cs{spacefactor}s of~1000 instead of~999, and (b)~the
407 % underspacing of the \cs{udot} accent will differ from that of the
408 % \cs{dudot} accent:~\udot{x}\dudot{x}. On the other hand, if we
409 % choose the latter, course, \cn{d} and \cn{udot} will
410 % differ:~\d{x}\xudot{x}.
411 % Neither solution appeals, but it's easier to stick with~\cs{d},
412 % so that's what I'll do.
413 % \begin{macrocode}
414 \DeclareTextCommandDefault{\udot}{\d}
415 % \end{macrocode}
416 % \end{macro}
417 %
418 % \begin{macro}{\polhk}
419 % Ogonek (Polish hook) (\uchar{0328}):
420 %
421 % \begin{chartable}
422 % |\polhk{A}| & \polhk{A} & \uchar{0104} &
423 % |\polhk{a}| & \polhk{a} & \uchar{0105} \\
424 % |\polhk{E}| & \polhk{E} & \uchar{0118} &
425 % |\polhk{e}| & \polhk{e} & \uchar{0119} \\
426 % |\polhk{I}| & \polhk{I} & \uchar{012E} &
427 % |\polhk{i}| & \polhk{i} & \uchar{012F} \\
428 % |\polhk{U}| & \polhk{U} & \uchar{0172} &
429 % |\polhk{u}| & \polhk{u} & \uchar{0173} \\
430 % |\polhk{O}| & \polhk{O} & \uchar{01EA} &
431 % |\polhk{o}| & \polhk{o} & \uchar{01EB}
432 % \end{chartable}
433 %
434 % The \enc{T1} and \enc{OT4} encodings implement the |\k| accent,
435 % so we just use it for most characters, although we will
436 % supplement them later with
437 % \begin{macrocode}
438 \DeclareTextCommand{\polhk}{OT4}{\k}
439 \DeclareTextCommand{\polhk}{T1}{\k}
440 % \end{macrocode}
441 %
442 % \begin{macrocode}
443 \DeclareTextCommand{\polhk}{OT1}[1]{\TextSymbolUnavailable{\k{#1}}#1}
444 % \end{macrocode}
445 %
446 % \begin{macrocode}
447 \DeclareTextCompositeCommand{\polhk}{OT1}{a}{\msc@ogonek {.6}{.07} a}
448 \DeclareTextCompositeCommand{\polhk}{OT1}{A}{\msc@ogonek {.6}{.07} A}
449 \DeclareTextCompositeCommand{\polhk}{OT1}{e}{\msc@ogonek 0 {.06} e}
450 \DeclareTextCompositeCommand{\polhk}{OT1}{E}{\msc@ogonek{.35}{.07} E}
451 \DeclareTextCompositeCommand{\polhk}{OT1}{i}{\msc@ogonek {.2}{.07} i}
452 \DeclareTextCompositeCommand{\polhk}{OT1}{I}{\msc@ogonek {.2}{.07} I}
453 \DeclareTextCompositeCommand{\polhk}{OT1}{u}{\msc@ogonek {.6}{.07} u}
454 \DeclareTextCompositeCommand{\polhk}{OT1}{U}{\msc@ogonek 0 {.05} U}
455 \DeclareTextCompositeCommand{\polhk}{OT1}{o}{\msc@ogonek 0 {.07} o}
456 \DeclareTextCompositeCommand{\polhk}{OT1}{O}{\msc@ogonek 0 {.05} O}
457 % \end{macrocode}
458 %
459 % \begin{macrocode}
460 \DeclareTextCompositeCommand{\polhk}{T1}{i}{\msc@ogonek@a 0 i}
461 \DeclareTextCompositeCommand{\polhk}{T1}{I}{\msc@ogonek@a 0 I}
462 \DeclareTextCompositeCommand{\polhk}{T1}{u}{\msc@ogonek@a {.6} u}
463 \DeclareTextCompositeCommand{\polhk}{T1}{U}{\msc@ogonek@a 0 U}
464 \DeclareTextCompositeCommand{\polhk}{T1}{o}{\msc@ogonek@a 0 o}
465 \DeclareTextCompositeCommand{\polhk}{T1}{O}{\msc@ogonek@a 0 O}
466 % \end{macrocode}
467 %
468 % \begin{macrocode}
469 \DeclareTextCompositeCommand{\polhk}{OT4}{i}{\msc@ogonek {.2}{.07} i}
470 \DeclareTextCompositeCommand{\polhk}{OT4}{I}{\msc@ogonek {.2}{.07} I}
471 \DeclareTextCompositeCommand{\polhk}{OT4}{u}{\msc@ogonek {.6}{.07} u}
472 \DeclareTextCompositeCommand{\polhk}{OT4}{U}{\msc@ogonek 0 {.05} U}
473 \DeclareTextCompositeCommand{\polhk}{OT4}{o}{\msc@ogonek 0 {.07} o}
474 \DeclareTextCompositeCommand{\polhk}{OT4}{O}{\msc@ogonek 0 {.05} O}
475 % \end{macrocode}
476 % \end{macro}
477 %
478 % \begin{macro}{\msc@ogonek}
479 % \begin{macrocode}
480 \def\msc@ogonek#1#2#3{%
481 \begingroup
482 \setboxz@h{#3\save@sf}%
483 \dimen@\wd\z@
484 \ooalign{%
485 \unhbox\z@\crcr
486 \hidewidth
487 \setboxz@h{\kern#1\dimen@\supsize$\lhook$}%
488 \dimen@\ht\z@
489 \advance\dimen@-#2ex\relax
490 \lower\dimen@\box\z@
491 \hidewidth
492 }%
493 \restore@sf
494 \endgroup
495 }
496 % \end{macrocode}
497 % \end{macro}
498 %
499 % \begin{macro}{\msc@ogonek@a}
500 % \begin{macrocode}
501 \def\msc@ogonek@a#1#2{%
502 \begingroup
503 \ooalign{%
504 #2\save@sf\crcr
505 \hidewidth
506 \raise0.02ex\hbox{\kern#1ex\char'014}%
507 \hidewidth
508 }%
509 \restore@sf
510 \endgroup
511 }
512 % \end{macrocode}
513 % \end{macro}
514 %
515 % \begin{macro}{\soft}
516 % Polish `soft' letters T, D, L:
517 %
518 % \begin{chartable}
519 % |\soft{T}| & \soft{T} & \uchar{0164} &
520 % |\soft{t}| & \soft{t} & \uchar{0165} \\
521 % |\soft{D}| & \soft{D} & \uchar{010E} &
522 % |\soft{d}| & \soft{d} & \uchar{010f} \\
523 % |\soft{L}| & \soft{L} & \uchar{013B} &
524 % |\soft{l}| & \soft{l} & \uchar{013C}
525 % \end{chartable}
526 % \begin{macrocode}
527 \DeclareTextCommand{\soft}{OT4}{\v}
528 \DeclareTextCommand{\soft}{T1}{\v}
529 \DeclareTextCommand{\soft}{OT1}{\v}
530
531 \DeclareTextCompositeCommand{\soft}{OT1}{t}{\msc@soft{t}\@ne{.5ex}}
532 \DeclareTextCompositeCommand{\soft}{OT1}{d}{\msc@soft{d}{.925}{.95ex}}
533 \DeclareTextCompositeCommand{\soft}{OT1}{l}{\msc@soft{l}{.95}{.4ex}}
534 \DeclareTextCompositeCommand{\soft}{OT1}{L}{\msc@soft{L}{.975}{.8ex}}
535
536 \DeclareTextCompositeCommand{\soft}{OT4}{t}{\msc@soft{t}\@ne{.5ex}}
537 \DeclareTextCompositeCommand{\soft}{OT4}{d}{\msc@soft{d}{.925}{.95ex}}
538 \DeclareTextCompositeCommand{\soft}{OT4}{l}{\msc@soft{l}{.95}{.4ex}}
539 \DeclareTextCompositeCommand{\soft}{OT4}{L}{\msc@soft{L}{.975}{.8ex}}
540 % \end{macrocode}
541 % \end{macro}
542 %
543 % \begin{macro}{\msc@soft}
544 % \begin{macrocode}
545 \def\msc@soft#1#2#3{%
546 \leavevmode
547 \begingroup
548 \setboxz@h{#1}%
549 \raise#2\ht\z@\rlap{\kern#3\supsize,}\unhbox\z@
550 \endgroup
551 }
552 % \end{macrocode}
553 % \end{macro}
554 %
555 % \section*{\raggedright Appendix: Plumbing the depths of
556 % underhanging diacritics: Notes on the magic constant 0.2\,ex and
557 % an exegesis of certain obscure corners of the \cn{@underaccent}
558 % macro}
559 %
560 % \tex/ assumes that a combining accent can be superimposed
561 % directly on top of any character whose height is 1\,ex. If the
562 % actual height of the base character differs from 1\,ex, the
563 % accent is shifted up or down to maintain the same vertical
564 % separation. Put another way, subtracting 1\,ex from the height
565 % of a combining accent tells us how much a character's height is
566 % increased when that accent is added. Call this
567 % distance~$\delta$.
568 %
569 % This distance can be analyzed into two pieces: $\delta = \sigma +
570 % \eta$, where $\sigma$ is the separation between the top of
571 % the base character and the \emph{bottom} of the accent, and
572 % $\eta$ is the height of the bounding box of the accent.
573 %
574 % If we now consider moving the accent to the bottom of a
575 % character, we have a new relation $\delta' = \sigma' + \eta$,
576 % where $\sigma'$ is the distance between the bottom of the base
577 % and the \emph{top} of the accent, and $\delta'$ is the amount by
578 % which the depth of the base character is increased.
579 %
580 % If the placement of the underhanging version of an accent were
581 % strictly symmetrical with the overhanging version, then we would
582 % have $\sigma' = \sigma$ and thus $\delta' = \delta$. However, the
583 % placement is not symmetric since for aesthetic reasons we have
584 % chosen to set $\sigma' = .2\,\mathrm{ex}$, which seems in general
585 % to be a little less than the corresponding~$\sigma$.
586 % Unfortunately, this means we can't calculate~$\delta'$ accurately
587 % since there is no way to deduce $\eta$ (or, equivalently,
588 % $\sigma$) from the font metric information available to us
589 % within~\TeX.\footnote{By exploiting symmetries present in some
590 % fonts, one can calculate $\eta$ for some of the accents in those
591 % fonts, but this doesn't help us much since both $\sigma$
592 % and~$\eta$ vary between accents.}
593 %
594 % This leaves us in a bit of a bind, since it means there is no way
595 % to calculate the depth accurately. In despair, I've decided just
596 % to pretend that $\delta' = \delta$ for now.
597 %
598 % \subsection*{Finis}
599 %
600 % The usual \cs{endinput} to ensure that random garbage at the end of
601 % the file doesn't get copied by \fn{docstrip}.
602 % \begin{macrocode}
603 \endinput
604 % \end{macrocode}
605 %
606 % \CheckSum{365}
607 % \Finale