Debian Codegraph @

texmf-dist/source/fonts/drm/drm.dtx

raw
1 % \iffalse
2 % +AMDG This document was begun on 25 May 11EX, the feast
3 % of St. Mary Magdalen de Pazzi, and it is humbly dedicated
4 % to her and to the Immaculate Heart of Mary for their
5 % prayers, and to the Sacred Heart of Jesus for His mercy.
6 %
7 % This document is copyright 2014 by Donald P. Goodman, and is
8 % released publicly under the LaTeX Project Public License. The
9 % distribution and modification of this work is constrained by the
10 % conditions of that license. See
11 % http://www.latex-project.org/lppl.txt
12 % for the text of the license. This document is released
13 % under version 1.3 of that license, and this work may be distributed
14 % or modified under the terms of that license or, at your option, any
15 % later version.
16 %
17 % This work has the LPPL maintenance status 'maintained'.
18 %
19 % The Current Maintainer of this work is Donald P. Goodman
20 % ([email protected]).
21 %
22 % This work consists of all files listed in drmfilelist.txt.
23 % \fi
24
25 % \iffalse
26 %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
27 %<package>\ProvidesPackage{drm}[2015/01/01 v4.4 support for drm fonts]
28 %<*driver>
29 \documentclass{ltxdoc}
30
31 \usepackage[absolute]{textpos}
32 \usepackage{parcolumns}
33 \usepackage{doc}
34 \usepackage{array}
35 \usepackage{lettrine}
36 \setcounter{DefaultLines}{3}
37 \setlength{\DefaultFindent}{2pt}
38 \renewcommand{\LettrineFontHook}{\color{red}}
39 \usepackage{url}
40 \usepackage{booktabs}
41 \usepackage{supertabular}
42 \usepackage{longtable}
43 \usepackage{fetamont}
44 \usepackage{spverbatim}
45 \usepackage[greek,english]{babel}
46 \languageattribute{greek}{polutoniko}
47 \usepackage[colorlinks]{hyperref}
48 \usepackage{dozenal}
49 \usepackage[typeone]{drm}
50 \usepackage{makeidx}
51 \EnableCrossrefs
52 \PageIndex
53 \CodelineNumbered
54 \RecordChanges
55 \makeindex
56 \DoNotIndex{\?,\{,\},\|,\DeclareFontFamily,\DeclareFontShape,
57 \DeclareMathAccent,\DeclareMathAlphabet,\DeclareMathDelimiter,
58 \DeclareMathSymbol,\DeclareMathVersion,\DeclareSymbolFont,\def,
59 \drmsym,\encodingdefault,\familydefault,\fontencoding,\fontfamily,
60 \fontseries,\fontshape,\hfil,\hbox,\mathalpha,\mathclose,
61 \mathopen,\mathord,\mathversion,\mp,\nabla,\nbshortroman,
62 \RedefineMRmdclxvij,\relax,\renewcomand,\RequirePackage,
63 \selectfont,\SetMathAlphabet,\SetSymbolFont,\drmsymbolredef,
64 \nodefaultfalse,\nodefaultmathfalse,\nodefaultmathtrue,\nodefaulttrue,
65 \nodefaulttextfalse,\nodefaulttexttrue,\noindent,\numexpr,
66 \acute,\addtolength\advance,\backslash,\baselineskip,
67 \char,\counterA,\counterB,\DeclareOption,\ProcessOptions,
68 \drmmathlets,\symbolsonlytrue,\if,\else,\fi,\ifnum,\fi,\ifdim,\fi,
69 \symbolsonlyfalse,\fontsize,\newif,\newcount,
70 \loop,\iter,\let,\renewcommand,\setbox,\setlength,\the,\vss,
71 \vskip,\vbox,\ifnodefault,\fi,\ifnodefaulttext,\fi,
72 \ifnodefaultmath,\fi,\ifsymbolsonly,\fi,\newlength,
73 \counterA,\counterB,\newcount,\r@@t,\z@,\DeclareMathRadical,
74 \DeclareRobustCommand,\bBigg@,\@ifnextchar,\@sqrt,\@makefnmark,
75 \@thefnmark,\catcode,\active,\Q}
76
77 \begin{document}
78 \DocInput{drm.dtx}
79 \end{document}
80 %</driver>
81 % \fi
82 %
83 % \title{The \texttt{drm} Font Package, v4.4}
84 % \author{Donald P.\ Goodman III}
85 % \date{\today}
86 %
87 % \maketitle
88 % \begin{abstract}
89 % The |drm| package provides access to the DRM (Don's
90 % Revised Modern) family of fonts, which includes a variety
91 % of optical sizes in Roman, italic, and small caps, along
92 % with a set of symbols and ornaments. It is intended to be
93 % a full-body text font, but its larger sizes can also be
94 % used for simple display purposes, and its significant body
95 % of symbols can stand on its own. It comes complete with
96 % textual (``old-style'') and lining figures, and even has
97 % \emph{small-caps figures}, along with superior and
98 % inferior figures. It also comes with extensible
99 % decorative rules to be used with ornaments from itself or
100 % other fonts, along with an extremely flexible ellipsis
101 % package. Decorative initials are also provided by means
102 % of \MP\ macros and superimposed figures; these are
103 % flexible in color, size, and style.
104 % \end{abstract}
105 %
106 % \tableofcontents
107 %
108 % \section{Introduction}
109 % \label{sect:intro}
110 %
111 % \lettrine{A}{fter some time} of involvement with \TeX\ and \LaTeX\,
112 % your author finally bothered to go read \textit{The \TeX
113 % book} and \textit{The \MF book}. This latter closes,
114 % of course, with Donald E.\ Knuth's famous exhortation to
115 % ``\textsc{Go forth} now and create \textsl{masterpieces of
116 % digital typography!''} This call to arms stirred a longing to actually
117 % do so in my soul.
118 %
119 % I had some experience with the \MF\ language through
120 % my work with \MP, so I thought I might try my hand at
121 % it. I started in fits and stops some years ago, and only
122 % a few months ago took up the cause again in earnest. I
123 % found that, as Knuth also warned,
124 %
125 % \begin{quote}\textsc{Warning}: Type design can be
126 % hazardous to your other interests. Once you get hooked,
127 % you will develop intense feelings about letterforms; the
128 % medium will intrude on the messages that you read. And
129 % you will perpetually be thinking of improvements to the
130 % fonts that you see everywhere, especially those of your
131 % own design.\end{quote}
132 %
133 % Truer words were never spoken.
134 %
135 % This document is typeset in accordance with the
136 % \textsc{docstrip} utility for automatically extracting
137 % package code and documentation.
138 %
139 % \section{License(s)}
140 %
141 % \lettrine{T}{he \TeX\ and \LaTeX\ code} in this package is
142 % licensed under the \LaTeX\ Project Public License v1.3c,
143 % the details of which can be found in Appendix \ref{lppl}
144 % on page \pageref{lppl}. It's a legal document, and bears
145 % all the concomitant complications of such. The basic
146 % import is that you can use and distribute these files as
147 % you will, provided only that you do not restrict their use
148 % by their recipients; and that you can even modify them as
149 % you will, provided that if you distribute your
150 % modifications, you do so under a different name.
151 %
152 % The fonts themselves are licensed under the SIL Open Font
153 % License, v1.1, the details of which can be found in
154 % Appendix \ref{sil} on page \pageref{sil}. It's a less
155 % complex legal document, but a legal document all the same.
156 % The basic import is that you can't sell the fonts all by
157 % themselves (why anyone would pay for them anyway is beyond
158 % me, but there it is); you can distribute original or
159 % modified versions of the fonts otherwise however you wish,
160 % as long as you keep the copyright notice and license with
161 % it; and if you distribute a modified version, that you do
162 % so under a different name; that you not use the name of
163 % the font designer to promote a modified version; and that
164 % any modified versions of the fonts must be kept under the
165 % same license.
166 %
167 % Finally, the software I used to build things, which is
168 % very simple and mostly uninteresting stuff, is also made
169 % available, under the GNU General Public License v3. This
170 % is sufficiently well-known that it's not duplicated in
171 % this document; but the text is, of course, included in
172 % the distribution.
173 %
174 % That said, I'm pretty easy-going about this sort of thing;
175 % so if for some reason the above terms don't suit you, feel
176 % free to contact me and see if we can work something else
177 % out. But honestly, the terms of these licenses are
178 % more than fair, and it's hard for me to see a reason to
179 % depart from them.
180 %
181 % \section{Usage}
182 % \label{sect:usage}
183 %
184 % \subsection{Basic Usage}
185 % \label{sub:basicusage}
186 %
187 % Using the DRM fonts is beyond easy; just include the
188 % following in your preamble:
189 %
190 % \begin{quote}
191 % |\usepackage{drm}|
192 % \end{quote}
193 %
194 % And you're done! This makes the DRM fonts the default for
195 % your document, and defines appropriate commands for using
196 % them. I've made every effort to make using DRM as
197 % unsurprising as possible, so the commands you'd use to
198 % change sizes, styles, shapes, and so forth should all work
199 % as expected. That said, there are some unusual shapes and
200 % options available, and these are explained below.
201 %
202 % You do \emph{not} need to load |textcomp|; all those
203 % symbols and more are available from |drm|.
204 %
205 % \subsection{Package Options}
206 % \label{sub:packopt}
207 %
208 % DRM doesn't offer too many options, because too many
209 % aren't really needed; but it does allow some control over
210 % what defaults it resets.
211 %
212 % \begin{description}
213 % \item[typeone] \DescribeMacro{typeone}The |typeone|
214 % option will probably be used most of the time that |drm|
215 % itself is used; it forces |drm| to use un-rasterized
216 % outlines rather than bitmapped pk files, letting the pdf
217 % viewer do the rendering. Given that most pdf viewers have
218 % an awfully hard time decently displaying prerendered
219 % bitmap fonts, the |typeone| option will often be useful.
220 % \item[nodefault] \DescribeMacro{nodefault}The |nodefault|
221 % option means that |drm| will not change any of the
222 % defaults of the document; that is, loading |drm| with the
223 % |nodefault| option should have no effect whatsoever on the
224 % appearance of your document. The fonts are defined,
225 % though, so you can use them if you decide you want to.
226 % Symbols will \emph{not} be redefined.
227 % \item[nodefaulttext] \DescribeMacro{nodefaulttext}The
228 % |nodefaulttext| option means that text fonts are
229 % \emph{not} redefined but math fonts \emph{are}. Symbols
230 % will \emph{not} be redefined.
231 % \item[nodefaultmath] \DescribeMacro{nodefaultmath}The
232 % |nodefaultmath| option means that text fonts \emph{are}
233 % redefined but math fonts are \emph{not}. Symbols
234 % \emph{will} be redefined.
235 % \item[symbolsonly] \DescribeMacro{symbolsonly}The
236 % |symbolsonly| option defines all the commands for the
237 % symbols (note that this may overwrite certain default command names,
238 % like |\textcopyright|; if you need these undefined, load
239 % |textcomp| \emph{after} |drm|).
240 % \end{description}
241 %
242 % The default is that none of these are selected; that is,
243 % the default is that both text and math fonts, along with
244 % symbols, are redefined to be DRM. Commands which are
245 % font-independent, like |\tulipframe| and |\extrule|, are
246 % always defined when the package is loaded. Also, the
247 % fonts themselves are always defined, so they can be
248 % accessed directly even if they are not the default.
249 %
250 % Note that even if symbols are not redefined, they are
251 % still available directly through the
252 % \DescribeMacro{\drmsym}|\drmsym| command.
253 % This command takes one argument, typically a |\char|
254 % directive, which will be the decimal, octal (if preceded
255 % by |'|), or hexadecimal (if preceded by |"|) position of
256 % the desired symbol in the font. E.g.:
257 %
258 % \hbox to\linewidth{%
259 % \hfil|\drmsym{\char'117}|\hfil|\drmsym{\char"4F}|\hfil%
260 % |\drmsym{\char79}|\hfil}
261 %
262 % \noindent yields
263 %
264 % \hbox to\linewidth{%
265 % \hfil\drmsym{\char'117}\hfil\drmsym{\char"4F}\hfil%
266 % \drmsym{\char79}\hfil}
267 %
268 % \subsection{Interaction with Other Packages}
269 % \label{sub:interpack}
270 %
271 % As far as your author has been able to tell, |drm| has no
272 % adverse reactions with any other packages. A few notes
273 % are probably appropriate, however.
274 %
275 % \DescribeMacro{textcomp}You do \emph{not} have to load
276 % |textcomp| when you're loading |drm|; |drm| defines all
277 % the symbols in |textcomp|, and then some, allowing access
278 % to them with the same commands. This is the |drmsym|
279 % font, which is encoded, like the |textcomp| font, as TS1.
280 % If you're not loading the symbols, though (e.g., you've
281 % loaded |drm| with options |nodefault| or |nodefaulttext|),
282 % you may still want to load |textcomp|.
283 %
284 % \DescribeMacro{lettrine}The |lettrine| package is used to
285 % typeset large dropped capitals at the beginning of
286 % paragraphs; it's an extraordinarily flexible and
287 % well-designed package. |drm| works just fine with it;
288 % however, the proportions of the letters make a small
289 % tweak advisable. If you'll be using lettrines larger than
290 % two lines high, the following will be helpful:
291 %
292 % \hbox to\linewidth{\hfil|\setlength{\DefaultFindent}{2pt}|\hfil}
293 %
294 % \noindent This will prevent your text from bumping into
295 % your lettrine.
296 %
297 % \DescribeMacro{greek-fontenc}The |greek-fontenc| package
298 % must be installed for |drm| to work properly.
299 %
300 % \DescribeMacro{cbfonts-fd}The |cbfonts-fd| package
301 % must also be installed for |drm| to work properly.
302 %
303 % \subsection{Further Work Needed}
304 % \label{sub:further}
305 %
306 % While I'm quite happy with DRM right now, there are a few
307 % notable places where it needs some additional work.
308 %
309 % \begin{description}
310 % \item[Kerning] The kerning is sometimes suboptimal.
311 % There really isn't much else to say about this. For
312 % most of the fonts, the kerning is reasonably good (at
313 % least, in my opinion), but for upright italic, boldface,
314 % and occasionally small and titling caps, I do still find
315 % lacun\ae\ in my handling of certain kerning pairs.
316 % \item[Internal Code] While the code is parameterized
317 % enough that, for example, boldfacing was a relatively
318 % simple process, it could use some improvement in this.
319 % Also, some code was repeated that would surely be better
320 % off included in macros, especially the placing of accents.
321 % \item[Decorative Initials] I love, love, \emph{love}
322 % decorative initials, and want DRM to have them. But
323 % writing them is a \emph{lot} of work. I decided I wanted
324 % the fonts as they stand done before I get to work on
325 % those; but it's still further work that needs to happen.
326 % \item[More Ornaments] I'm pretty happy with what
327 % ornaments I've designed for DRM, but it needs more of
328 % them. A full, 8-bit ornamental font is in the works (the
329 % decorative initials will likely be A--Z in this font), but
330 % designing these is a similarly large amount of work, so
331 % it's still on the burners.
332 % \item[Greek Fonts] DRM badly needs real Greek fonts.
333 % After I did the math fonts, Greek fonts seemed like a
334 % short step; but now I really need to add italic and
335 % boldface versions, and optically size the upright ones.
336 % \end{description}
337 %
338 % In addition to these specific needs, font metrics may
339 % still change, though only slightly, and shapes are subject
340 % to tweaking here and there. But even now, the DRM fonts
341 % are usable, reasonably complete, and (in my view, at
342 % least) attractive.
343 %
344 % \section{About the DRM Fonts}
345 %
346 % So I've been plumbing the depths of alphabet design, and
347 % having a great time doing it. The result is what you see
348 % before you, the DRM fonts.
349 %
350 % \subsection{About the Fonts}
351 %
352 % They're not \textit{modern}, per se, but they do have
353 % modern characteristics, most especially the distinction
354 % between thick and thin strokes and the vertical
355 % orientation. They have a number of old-style
356 % characteristics, as well, though, like the aforementioned
357 % ``Q'' tail, the relatively prominent serifs, and the
358 % slight but still present brackets.
359 %
360 % Overall, they're fairly dark fonts on average, as well as
361 % fairly wide. To my eye, this makes them ideal for reading
362 % long passages.
363 %
364 % They have some unusual features. For example, they have not
365 % only the standard run of f-ligatures (fi, fl, ff, ffi,
366 % ffl), but also some unusual f-ligatures (ft, fj), as well
367 % as a non-f-ligature (Th). Some larger-size examples of
368 % the ligatures can be found in Table \ref{table:ligs}. DRM
369 % also contains some unusual shapes, such as \textui{upright
370 % italic} and \texttc{titling caps}\index{titling caps}.
371 %
372 % \begin{table}
373 % \begin{center}\setlength{\extrarowheight}{9pt}
374 % \begin{tabular}{>{\Large}c>{\Large\itshape}c
375 % >{\Large}c>{\Large\itshape}c
376 % >{\Large}c>{\Large\itshape}c}
377 % \toprule
378 % Roman & Italic & Roman & Italic & Roman & Italic \\
379 % \midrule
380 % fi & fi & ff & ff & fl & fl \\
381 % fj & fj & ffi & ffi & ffl & ffl \\
382 % ft & ft & Th & Th & {} & {} \\
383 % \bottomrule
384 % \end{tabular}
385 % \caption{Ligatures in the DRM fonts.}
386 % \label{table:ligs}
387 % \end{center}
388 % \end{table}
389 %
390 % \subsection{Alternate Glyphs}
391 %
392 % While this section is titled in the plural, there is at
393 % present only one such:
394 % \DescribeMacro{\drmshortq}|\drmshortq|, which gives us
395 % ``\drmshortq'' rather than ``Q.'' This is mostly useful
396 % for situations in which the ``Q'' is followed by some
397 % character with a descender (say, ``\drmshortq p'' as
398 % opposed to ``Qp''), or when it is being used as a dropped
399 % capital and the extended tail would overwrite the text.
400 % (An enlarged dropped capital might have a tail
401 % underscoring the entire paragraph, which might actually
402 % look attractive.)
403 %
404 % If for some reason you'd like to use ``\drmshortq'' all
405 % the time, and consign the admittedly somewhat baroque
406 % ``Q'' to the dustbin, you can do so by issuing the
407 % following commands:
408 %
409 % \begin{center}
410 % |\catcode`\Q=\active\def Q{\drmshortq}|
411 % \end{center}
412 %
413 % Note that this involves some deep \TeX\ magic, and command
414 % names containing the character ``Q'' will be broken by
415 % this. Fortunately, such commands are few and far between;
416 % |drm| does not contain any.
417 %
418 % \subsection{Font Families}
419 %
420 % DRM contains a full set of the normal font families you'd
421 % expect: roman, bold, italic, small caps, and so forth.
422 % But it also contains some shapes that are rather unusual,
423 % as well as a wide variety of sizes, forms, and weights
424 % capable of filling most needs.
425 %
426 % \subsubsection{Optical Sizing}
427 %
428 % The advent of digital fonts made many typographers lazy.
429 % Previously, of course, a printer could only print fonts in
430 % sizes that he had; each size had to be separately cut and
431 % designed. Digital fonts seemed to relieve this problem;
432 % now we can simply scale up or down, and only design a
433 % single size! Experience has shown, however, that this
434 % produces suboptimal results, as Table \ref{tab:optsize}
435 % demonstrates.
436 %
437 % \begin{table}[htbp]
438 % \hbox to\linewidth{%
439 % \hfil%
440 % \Large Fourteen point font is different%
441 % \hfil%
442 % }%
443 % \hbox to\linewidth{%
444 % \hfil%
445 % \font\scalio=drm7 at14pt\scalio from scaled seven point font.%
446 % \hfil%
447 % }%
448 % \caption{Scaling and Optical Sizing Compared}
449 % \label{tab:optsize}
450 % \end{table}
451 %
452 % The human eye, as it turns out, does not perceive the
453 % world, least of all letterforms, as geometrically scaled
454 % versions of larger or smaller shapes. For example, at
455 % small point sizes the eye tends to run adjacent strokes
456 % together, so proportionally wider letters and increased
457 % letterspacing are appropriate in smaller sizes but not in
458 % larger. For another example, strokes often overlap the
459 % technical top or bottom lines because a curved line will
460 % appear to be lower than a straight line at the same
461 % height. This effect diminishes at larger sizes; so this
462 % overshoot might be zero at double pica (twenty-four
463 % point), still significant at pica (twelve-point), and
464 % quite large at six-point. If we merely scaled the six
465 % point to get our twenty-four point, this overshoot would
466 % make the curved strokes look comically larger than the
467 % straight ones; if we did the opposite, then our curved
468 % letters would seem noticeably shorter than our straight
469 % ones.
470 %
471 % The only real solution to this is to use \emph{optical
472 % sizes}; that is, have a reasonable set of sizes which are
473 % designed for use at that particular size. \LaTeX\
474 % (largely transparently to the user, thanks to the magic of
475 % NFSS) will then select the closest optical size and scale
476 % as necessary from that. This minimizes the effects of
477 % scaling on the appearance of the font, and gives vastly
478 % superior results.
479 %
480 % \begin{table}[htbp]
481 % \begin{center}\footnotesize
482 % \begin{tabular}{lp{0.2\textwidth}p{0.2\textwidth}p{0.2\textwidth}}
483 % \toprule
484 % Point & \multicolumn{2}{c}{Traditional Name} &
485 % DRM \\
486 % {} & American & British & {} \\
487 % \midrule
488 % 3 & Excelsior & Minikin & |\excelsior|, |\minikin| \\
489 % 4 & Brilliant & {} & |\brilliant| \\
490 % 4.5 & Diamond & {} & |\diamondsize| \\
491 % 5 & Pearl & {} & |\pearl| \\
492 % 5.5 & Agate & Ruby & |\agate|, |\ruby| \\
493 % 6 & Nonpareille & {} & |\nonpareille| \\
494 % 6.5 & Minionette & Emerald & |\minionette|, |\emerald| \\
495 % 7 & Minion & {} & |\minion| \\
496 % 8 & Brevier, Petit, small text & {} & |\brevier|,
497 % |\petit|, |\smalltext| \\
498 % 9 & Bourgeois; Galliard & {} & |\bourgeois|,
499 % |\galliard| \\
500 % 10 & Long Primer; Corpus; Garamond & {} &
501 % |\longprimer|, |\corpus|, |\garamond| \\
502 % 11 & Small Pica; Philosophy & {} & |\smallpica|,
503 % |\philosophy| \\
504 % 12 & Pica & {} & |\pica| \\
505 % 14 & English; Mittel; Augustin & {} & |\english|,
506 % |\mittel|, |\augustin| \\
507 % 16 & Columbian & Two-line Brevier & |\columbian|,
508 % |\twolinebrevier| \\
509 % 18 & Great Primer & {} & |\greatprimer| \\
510 % 20 & Paragon & {} & |\paragon| \\
511 % 21 & Double Small Pica & {} & |\doublesmallpica| \\
512 % 22 & Double Small Pica & Double Pica &
513 % |\doublesmallpicaus|, |\doublepicabrit| \\
514 % 24 & Double Pica & Two-line Pica & |\doublepica|,
515 % |\twolinepica| \\
516 % 28 & Double English & Two-line English & |\doubleenglish|,
517 % |\twolineenglish| \\
518 % 30 & Five-line Nonpareil & {} & |\fivelinenonpareil| \\
519 % 32 & Four-line Brevier & {} & |\fourlinebrevier| \\
520 % 36 & Double Great Primer & Two-line Great Primer &
521 % |\doublegreatprimer|, |\twolinegreatprimer| \\
522 % 44 & Meridian & Two-line Double Pica; Trafalgar &
523 % |\meridian|, |\twolinedoublepica|, |\trafalgar| \\
524 % 48 & Canon; Four-line & {} & |\canon|, |\fourline| \\
525 % 60 & Five-line Pica & {} & |\fivelinepica| \\
526 % 72 & Inch & {} & |\inch| \\
527 % \bottomrule
528 % \end{tabular}
529 % \caption{Traditional size names, both American and
530 % British, with their corresponding point sizes and DRM
531 % command names.}
532 % \label{tab:fontsizes}
533 % \end{center}
534 % \end{table}
535 %
536 % DRM offers a reasonable selection of optical sizes, at 6-,
537 % 7-, 8-, 9-, 10-, 11-, 12-, 14-, 17-, and 24-point sizes in
538 % roman, italic, slanted, small caps, titling
539 % caps\index{titling caps}, and upright italic. This
540 % variety should be sufficient for the vast majority of
541 % needs.
542 %
543 % However, traditional printing has developed a vast array
544 % of standard sizes, with the quaint, colorful names that
545 % always go with traditional crafts. Setting text in
546 % Brevier Roman or Long Primer Italic means something very
547 % specific. \LaTeX\ only offers a few default font
548 % size commands (e.g., |\small|, |\normalsize|, etc.), and
549 % DRM leaves those unchanged, as users expect specific
550 % things to happen when they issue those commands. However,
551 % DRM does offer those traditional size names as commands,
552 % as well, giving quite a bit more breadth in font size
553 % choice than the default before one must resort to explicit
554 % |\fontsize| commands. Table \ref{tab:fontsizes} on page
555 % \pageref{tab:fontsizes} lists these commands by name; where
556 % there is a name unique to British typesetting that differs
557 % from the American name, both are offered as equivalents.
558 %
559 % \subsubsection{Small Caps}
560 %
561 % In the first place, it's important to have what
562 % typographers call ``real'' small caps, not ``faked'' small
563 % caps. There is a real and noticeable difference between
564 % the two. Real small caps are designed for a particular
565 % size; the stroke widths match, the spacing is appropriate,
566 % and so forth. Faked small caps are produced merely by
567 % scaling down normal capital letters for a given size,
568 % which produces inferior results. The two types are
569 % compared in Table \ref{tab:smallcaps}.
570 %
571 % \begin{table}[htbp]
572 % \hbox to\linewidth{\hfil%
573 % \LARGE\textsc{These are real small caps.}
574 % \hfil}%
575 % \vskip2em%
576 % \hbox to\linewidth{\hfil%
577 % \LARGE{T\large HESE ARE FAKED SMALL CAPS.}
578 % \hfil}%
579 % \caption{Real and faked small caps compared.}
580 % \label{tab:smallcaps}
581 % \end{table}
582 %
583 % Plainly, the results of real small caps are far superior,
584 % and faked ones should only be employed when the
585 % typographer has no small caps available, and possibly
586 % not even then.
587 %
588 % \index{small caps}\index{small caps>petite small caps}
589 % \index{small caps>and titling caps, difference between}
590 % \index{titling caps>and small caps, difference between}
591 % DRM has, of course, a full set of real small cap fonts,
592 % which are appropriately scaled. But DRM goes even further
593 % than this, offering both \emph{small caps} and
594 % \emph{petite small caps}.
595 % \index{petite small caps>small caps}
596 % \index{petite small caps>and titling caps} DRM, though, considers petite
597 % small caps to be the normal type, and therefore refers to
598 % these as \emph{small caps} and \emph{titling
599 % caps}.\index{titling caps}\index{small caps>titling caps} The
600 % distinction between these two probably bears some
601 % explanation.
602 %
603 % In Anglo-American typography small caps are
604 % typically a bit larger than the ex-height; in other
605 % countries, they are typically equal to the
606 % ex-height.\footnote{These are sometimes called
607 % \textit{petite small caps} among Anglo-American
608 % typographers.} I see advantages in both approaches.
609 % So-called ``petite'' small caps look great in running text
610 % but seem rather squashed in titles and headings; larger
611 % small caps look better in titles and headings (they
612 % maintain the gravity of all-caps without the impression of
613 % shouting, a rather common impression here in the Internet
614 % age) but are simply too large to blend well with normal
615 % lowercase text. So DRM offers both; \textsc{normal small
616 % caps}, accessed via the normal \LaTeX\ |\textsc| and
617 % |\scshape| commands, are ``petite'' small caps;
618 % Anglo-American large small caps are available as
619 % \texttc{titling small caps}, via the commands
620 % |\texttc|\DescribeMacro{\texttc}\ and
621 % |\tcshape|\DescribeMacro{\tcshape}. (These stand,
622 % transparently enough, for ``titling caps.'') An example
623 % of the difference, which may give further ideas for the
624 % appropriate uses for each, is in Table
625 % \ref{table:littlecaps}.
626 %
627 % \begin{table}
628 % \begin{center}
629 % \begin{tabular}{>{\centering\arraybackslash}p{0.48\textwidth}
630 % >{\centering\arraybackslash}p{0.48\textwidth}}
631 % \LARGE\texttc{The Adventures of Robinson Crusoe} &
632 % \LARGE\textsc{The Adventures of Robinson Crusoe} \\
633 % \texttc{Titling Caps} &
634 % \textsc{Small Caps} \\
635 % \end{tabular}
636 % \caption{Small caps and titling caps compared.}
637 % \label{table:littlecaps}
638 % \end{center}
639 % \end{table}
640 %
641 % Both small caps and titling caps come in \emph{italic}
642 % (really simply \textsl{slanted}) varieties; these are
643 % accessed via
644 % \DescribeMacro{\textitsc}|\textitsc| and
645 % \DescribeMacro{\textittc}|\textittc| (or
646 % \DescribeMacro{\itscshape}|\itscshape| and
647 % \DescribeMacro{\ittcshape}|\ittcshape|). However, it
648 % should be noted that both these font shapes are designed
649 % for emphasizing text, as is slanting; so while it's
650 % perfectly possible to \textitsc{slant your small
651 % caps} and \textittc{italicize your titling caps},
652 % this really should be done with great caution.
653 %
654 % \subsubsection{Slanted, Italic, and Upright Italic}
655 %
656 % DRM also offers the usual \emph{italic} type, typically
657 % used for titles of certain types of works, emphasis, and
658 % similar functions; and the \textsl{slanted} type, which is
659 % usually simply a poor-man's italic in fonts which don't
660 % have a real italic, but occasionally does find its uses in
661 % full-featured fonts.
662 %
663 % Non-typographers often think that italic type is simply
664 % normal type slanted to the right, but that's not
665 % really the case. A comparison is given in Table
666 % \ref{tab:slantedtypes}.
667 %
668 % \begin{table}[htbp]
669 % \hbox to\linewidth{\hfil%
670 % \Large\textsl{This is slanted text.}
671 % \hfil}%
672 % \vskip2em%
673 % \hbox to\linewidth{\hfil%
674 % \Large\textit{This is italic text.}
675 % \hfil}%
676 % \caption{Slanted and italic text compared.}
677 % \label{tab:slantedtypes}
678 % \end{table}
679 %
680 % As Table \ref{tab:slantedtypes} shows, true italic is much
681 % more than simply slanted roman. Many of the letterforms
682 % are quite different; the two-story ``a'' becomes a
683 % one-story ``\textit{a},'' the straight ``k'' becomes a
684 % curved or (in DRM's case) looped ``\textit{k},'' the
685 % double-looped ``g'' becomes a single-looped
686 % ``\textit{g},'' and so forth.
687 %
688 % So DRM offers true italic, often with some very ornate
689 % and, in the author's opinion, beautiful letterforms. The
690 % ``\textit{Q}'' and ``\textit{J}'' and particular favorites
691 % of his, but the somewhat unusual looped ``\textit{k}'' and
692 % curled ``\textit{h},'' along with some other shapes like
693 % ``\textit{2}'' and ``\textit{3},'' are also interestingly
694 % different from most other fonts, as well as visually
695 % striking in their own right.
696 %
697 % DRM also offers \textui{upright italic}, a face with the
698 % italic letterforms but not slanted at all. Some fonts
699 % have offered this as a difficult-to-access novelty, but as
700 % far the author knows DRM is the only one to offer it as a
701 % first-class citizen, accessed in the same way and just as
702 % easily as the more usual slanted italic shape. It is
703 % accessed via the commands |\textui|\DescribeMacro{\textui}\ and
704 % |\uishape|\DescribeMacro{\uishape}. This shape is not
705 % commonly used in running text; it remains to be seen
706 % whether this is due to its being not useful, or simply to
707 % its being rarely easily available.
708 %
709 % Your author can see certain uses for it; for example, when
710 % some font distinction is needed but no connotation of
711 % emphasis is desired, as in book titles. In any case, DRM
712 % makes it easy to use in the event that it is wanted.
713 %
714 % \subsubsection{Weights}
715 % \label{subsub:weights}
716 %
717 % \textit{Weight} is the typographical term for what most
718 % folks call \emph{boldface} type; however, the dimension
719 % can go much deeper than that. Fonts can be
720 % \textl{lighter than surrounding text} as well as
721 % \textbf{heavier}, and heavier weights can often be
722 % \textbf{extended in width as well as heavier in weight},
723 % or simply \textb{heavier in weight without increasing its
724 % width}.
725 %
726 % Some fonts take this to arguably absurd extremes, offering
727 % up to a dozen weights. I've never seen much sense in
728 % this, and consequently haven't gone to these lengths.
729 % Instead, DRM offers three weights: \textl{light}, normal,
730 % and \textb{bold}. As noted, bold fonts are often wider
731 % than medium weights, and are referred to as \emph{bold
732 % extended}; DRM has a \textbf{bold extended}, as well.
733 % Lighter fonts are sometimes narrower, or \emph{condensed};
734 % \textl{DRM's light weight is not condensed, but rather
735 % normal width}.
736 %
737 % Light is achieved by |\textl|\DescribeMacro{\textl}\ and
738 % |\lseries|\DescribeMacro{\lseries}; boldface by
739 % |\textb|\DescribeMacro{\textb}\ and
740 % |\bseries|\DescribeMacro{\bseries}; bold extended by
741 % |\textbf|\DescribeMacro{\textbf}\ and
742 % |\bfseries|\DescribeMacro{\bfseries}. Table
743 % \ref{tab:weights} shows the differences between these
744 % weights in twelve-point size.
745 %
746 % \begin{table}[htbp]\setlength{\extrarowheight}{8pt}
747 % \begin{tabular}{>{\large}c>{\large}p{0.7\linewidth}}
748 % |\lseries| & \textl{This sentence shows one of DRM's
749 % weights.} \\
750 % |\mdseries| & \textmd{This sentence shows one of DRM's
751 % weights.} \\
752 % |\bseries| & \textb{This sentence shows one of DRM's
753 % weights.} \\
754 % |\bfseries| & \textbf{This sentence shows one of DRM's
755 % weights.} \\
756 % \end{tabular}
757 % \caption{DRM's font weights compared.}
758 % \label{tab:weights}
759 % \end{table}
760 %
761 % One will probably note that bold extended is actually
762 % bolder than normal bold (that is, |\bfseries| is bolder
763 % than |\bseries|). This is because the extra space means
764 % that it can be. This is probably not the way it should
765 % be; but I think that people expect at least that much
766 % boldness when selecting |\bfseries|, so I decided to make
767 % it that way.
768 %
769 % Until v2.0, DRM did \emph{not} offer a bold italic or a
770 % bold small caps; this is because both italics and small
771 % caps are already meant to serve for emphasis, and bolding
772 % your already emphasized text is really a bad idea. Bold
773 % italic I considered to be a particularly egregious
774 % typographical crime.
775 %
776 % However, after some conversations and one example in which
777 % bold italic was actually used well (a display; \emph{not}
778 % in running text), your author has tempered his aggressive
779 % stance and provided a bold italic, bold upright italic,
780 % and bold versions of both small and titling caps. These
781 % are bold extended, and are available only in this one
782 % additional weight; this seemed appropriate given that
783 % their only appropriate use is displayed texts. They are
784 % accessed simply by requesting either bold or italic, and
785 % then requesting the other, like so:
786 %
787 % \begin{center}
788 % \begin{tabular}{p{0.45\textwidth}p{0.45\textwidth}}
789 % \begin{spverbatim}\textbf{\textit{I hope you bold italic types are happy now}}\end{spverbatim} &
790 % \begin{spverbatim}\textui{\textbf{I hope you bold italic types are happy now}}\end{spverbatim} \\
791 % \textbf{\textit{I hope you bold italic types are happy now.}} &
792 % \textui{\textbf{I hope you bold italic types are happy now.}} \\
793 % \begin{spverbatim}\textsc{\textbf{Sometimes this might help with displays.}}\end{spverbatim} &
794 % \begin{spverbatim}\textbf{\texttc{Sometimes this might help with displays.}}\end{spverbatim} \\
795 % \textsc{\textbf{Sometimes this might help with displays.}} &
796 % \textbf{\texttc{Sometimes this might help with displays.}} \\
797 % \end{tabular}
798 % \end{center}
799 %
800 % There is still no bold italic small caps; I'll await an
801 % example of these being used appropriately before adding
802 % them.
803 %
804 % \subsection{Figures (Digits) (Numbers)}
805 % \label{sub:figures}
806 %
807 % Typographers typically call them ``figures'';
808 % mathematicians tend to prefer ``digits''; most folks
809 % simply call them ``numbers.'' Whatever we call them,
810 % there is a surprisingly large variety of ways to write
811 % them.
812 %
813 % There are, at the very least, seven separate kinds of
814 % figures: textual, lining, tabular textual, tabular
815 % lining, small caps, superior, and inferior. Small caps
816 % figures are for some reason rather rare, and strictly
817 % speaking there could be tabular and non-tabular versions
818 % of them, as well, but I've never encountered them.
819 %
820 % \emph{Textual figures}, also called \emph{old-style
821 % figures}, \emph{lowercase figures}, or even
822 % \emph{medi\ae val figures}, are the ones that look sort
823 % of\drmelip well, old-styled and lowercase. They are
824 % centered on the ex-height, like lowercase letters, and
825 % some have ascenders, some descenders, and some neither,
826 % like lowercase letters. They blend in with running text
827 % very well, whereas lining figures (which we'll get to in a
828 % moment) tend to stick out because they are all quite
829 % tall and often come in groups. Most commonly, ``0,''
830 % ``1,'' and ``2'' have neither ascenders nor descenders;
831 % ``6'' and ``8'' have ascenders, and ``3,'' ``4,'' ``5,''
832 % ``7,'' and ``9'' have descenders; DRM follows this typical
833 % scheme in its roman types. However, other systems have
834 % existed, particularly in France, where some famous fonts
835 % had an ascending rather than descending 3. DRM has a
836 % non-typical set in its italic fonts, with a descending 3
837 % but an ascending 2: \textit{0, 1, 2, 3,
838 % 4, 5, 6, 7, 8, 9}.
839 %
840 % Textual figures are the default in DRM in the roman and
841 % italic fonts.
842 %
843 % \emph{Lining figures}, also called \emph{titling figures}
844 % or \emph{modern figures}, line up at the baseline and all
845 % have a common height, typically something close to the
846 % height of capital letters or the ascenders of lowercase
847 % letters. They look like this: \liningnums{0123456789}.
848 % They're great when one wishes to draw extra attention to
849 % the figures, and practically mandatory when figures are
850 % being used with all caps; however, they throw off the
851 % color of the page and don't blend well with other running
852 % text. In DRM, we get lining figures by using the
853 % \DescribeMacro{\liningnums}|\liningnums| command, which
854 % takes a single argument; namely, the number to be typeset
855 % in lining figures. Each individual number can be accessed
856 % by command, as well, of the form |\liningzero|,
857 % |\liningone|, and so forth.
858 %
859 % Both of these types of figures can be \emph{tabular} or
860 % not. This means, as a practical matter,
861 % \emph{monospaced}; that is, with tabular figures each
862 % digit takes up an identical horizontal space. This is
863 % great for lining up numbers in columns, but produces
864 % rather bad spacing when used in running text.
865 %
866 % In DRM, the default textual (old-style) figures \emph{are
867 % not} tabular, while the lining figures \emph{are} tabular.
868 % It is possible to have tabular textual figures and
869 % proportional lining figures, but I've never seen much
870 % sense in either, as it seems that they defeat the purposes
871 % of their own particular form.
872 %
873 % DRM also has \emph{small-cap figures}, a relative rarity
874 % in the typographical world. These are simply figures
875 % which match the style of the small caps fonts. Neither
876 % textual nor lining figures work well with small caps;
877 % lining figure are too tall, and textual figures' ascenders
878 % and descenders don't fit with the relatively straight
879 % lines of small caps text. So DRM has proportional
880 % (non-tabular), but short figures for small caps:
881 %
882 % \begin{center}
883 % \scshape\Huge Small caps 0123 figures.
884 % \end{center}
885 %
886 % Otherwise, it would like one of the following:
887 %
888 % \begin{center}
889 % \Huge\scshape Small caps \liningnums{0123} figures. \\
890 % Small caps \textup{0123} figures.
891 % \end{center}
892 %
893 % Neither of which looks very good. There are similar
894 % digits for titling caps. These are, of course, the
895 % defaults when using small or titling caps; if you need
896 % lining figures, you can still use |\liningnums|, and if
897 % you need textual figures, typeset them in normal roman
898 % text.
899 %
900 % Finally, DRM provides \emph{superior} and \emph{inferior}
901 % figures. These are figures which are specially designed
902 % to appear in superscripted or subscripted text,
903 % respectively. These avoid text color and spacing problems
904 % from forming superior figures merely from scaling and
905 % raising normal figures. They look like the following:
906 %
907 % \begin{center}
908 % \LARGE\liningthree\textdrmsupfigs{0123456789} \\
909 % \liningthree\textdrminffigs{0123456789}
910 % \end{center}
911 %
912 % By default, in DRM (unless one of the |nodefault| options
913 % has been selected) footnote markers are made with superior
914 % figures. Otherwise, superior figures must be selected
915 % with either \DescribeMacro{\drmsupfigs}|\drmsupfigs|, or
916 % the option with a single argument,
917 % \DescribeMacro{\textdrmsupfigs}|\textdrmsupfigs|.
918 % (Inferior numerals are selected with
919 % \DescribeMacro{\drminffigs}|\drminffigs| and the
920 % single-argument option,
921 % \DescribeMacro{\textdrminffigs}|\textdrminffigs|.)
922 % Inferior figures are typically useful for chemical
923 % formul\ae, but may conceivably find other uses, as well.
924 %
925 % These special superior figures do end up looking
926 % significantly better than merely superscripted-and-scaled
927 % footnote labels:
928 %
929 % \begin{center}
930 % \begin{tabular}{c|c}
931 % \LARGE\drmelip this fact.$^6$ As\drmelip &
932 % \LARGE\drmelip this fact.\textdrmsupfigs{6} As\drmelip \\
933 % \end{tabular}
934 % \end{center}
935 %
936 % The superscripted and scaled version is too large, drawing
937 % more attention to itself than warranted (the purpose of a
938 % footnote is, after all, to provide citation without
939 % interrupting the flow of the text), not to mention that it
940 % protrudes above the height of the capitals and ascenders,
941 % making itself even more conspicuous; and the symbol itself
942 % is too thin, with lines almost spindly. The superior
943 % figure, on the right, tops off at the height of the
944 % ascenders, and is specially designed to have lines of the
945 % same width as the body font.\footnote{Or as near as is
946 % possible and attractive, anyway; the conscious design is
947 % better than the automatic solution.} This ensures an
948 % overall better appearance when these figures are used.
949 %
950 % Finally, as of v4.0, DRM offers \emph{real dozenal
951 % characters}. In conjunction with the |dozenal| package
952 % (available, like |drm|, on CTAN), DRM will redefine the
953 % commands |\x| and |\e| to produce DRM dozenal characters,
954 % rather than the Computer Modernish characters of the
955 % |dozenal| package. By default, these are old-style;
956 % lining dozenal figures are also available.
957 %
958 % \begin{center}\LARGE
959 % \begin{tabular}{ll}
960 % 0123456789\x\e0 & \textit{0123456789\x\e0} \\
961 % \textl{0123456789\x\e0} & \textb{0123456789\x\e0} \\
962 % \textbf{0123456789\x\e0} & \textbf{\textit{0123456789\x\e0}} \\
963 % \textui{0123456789\x\e0} & \textui{\textbf{0123456789\x\e0}} \\
964 % \textsc{0123456789\x\e0} & \texttc{0123456789\x\e0} \\
965 % \textbf{\textsc{0123456789\x\e0}} & \texttc{\textbf{0123456789\x\e0}} \\
966 % \textitsc{0123456789\x\e0} & \textittc{0123456789\x\e0} \\
967 % \liningthree\textdrmsupfigs{0123456789\x\e0} &
968 % \liningthree\textdrminffigs{0123456789\x\e0} \\
969 % \end{tabular}
970 % \end{center}
971 %
972 % In all the dozenal fonts, the ``default'' ten and eleven
973 % characters are held in the |X| and |E| slots; this means
974 % old-style in the roman and italic fonts, in all weights,
975 % but lining in the rest. In the roman and italic fonts, in
976 % all weights, lining figures are held in the |x| and |e|
977 % slots.
978 %
979 % \subsection{Symbols and Ornaments}
980 % \label{sub:symbols}
981 %
982 % One of DRM's strengths is its wide variety of symbols
983 % contained by default; rather than having to import
984 % separate fonts, or define macros to assemble common
985 % symbols out of their component parts, we can often simply
986 % use the symbols contained in DRM.
987 %
988 % Starting with the staples of traditional typography like
989 % the numero \DescribeMacro{\textnumero}(\textnumero) and
990 % the reference mark %
991 % \DescribeMacro{\textrefmark}(\textrefmark) to
992 % near-obsolete typesetting symbols like the asterism
993 % \DescribeMacro{\textasterism}(\textasterism) to more
994 % unique symbols like the international sign for radiation
995 % hazards \DescribeMacro{\textradiation}(\textradiation),
996 % DRM has something for most needs.
997 %
998 % \begin{center}
999 % \begin{longtable}{>{\Large}cp{0.4\textwidth}>{\raggedright\let\newline\\\arraybackslash}p{0.3\textwidth}}
1000 % \toprule
1001 % \multicolumn{3}{c}{Symbols of the DRM Font} \\
1002 % \midrule
1003 % \multicolumn{3}{c}{\itshape Religious Symbols} \\
1004 % \midrule
1005 % \textcrusadecross & |\textcrusadecross|\SpecialIndex{\textcrusadecross} & ``Crusader'' cross \\
1006 % \textcrusadecrossoutline & |\textcrusadecrossoutline|\SpecialIndex{\textcrusadecrossoutline} &
1007 % ``Crusader'' cross in outline \\
1008 % \textlatincross & |\textlatincross|\SpecialIndex{\textlatincross} & Latin cross \\
1009 % \textlatincrossoutline & |\textlatincrossoutline|\SpecialIndex{\textlatincrossoutline} & Latin
1010 % cross in outline \\
1011 % \textgreekcross & |\textgreekcross|\SpecialIndex{\textgreekcross} & Greek cross \\
1012 % \textgreekcrossoutline & |\textgreekcrossoutline|\SpecialIndex{\textgreekcrossoutline} & Greek
1013 % cross in outline \\
1014 % \textsaltirecross & |\textsaltirecross|\SpecialIndex{\textsaltirecross} & Saltire cross;
1015 % cross of St.\ Andrew \\
1016 % \textsaltirecrossoutline & |\textsaltirecrossoutline|\SpecialIndex{\textsaltirecrossoutline} &
1017 % Saltire cross, cross of St.\ Andrew in outline \\
1018 % \texteucharist & |\texteucharist|\SpecialIndex{\texteucharist} & Traditional
1019 % representation of the Eucharist; chalice with Host and rays
1020 % \\
1021 % \textstardavid & |\textstardavid|\SpecialIndex{\textstardavid} & Traditional Star of
1022 % David \\
1023 % \textstardavidsolid & |\textstardavidsolid|\SpecialIndex{\textstardavidsolid} & Traditional
1024 % Star of David, solid \\
1025 % \textstardavidoutline & |\textstardavidoutline|\SpecialIndex{\textstardavidoutline} &
1026 % Traditional Star of David in outline \\
1027 % \midrule
1028 % \multicolumn{3}{c}{\itshape Genealogical Symbols} \\
1029 % \midrule
1030 % \textborn & |\textborn|\SpecialIndex{\textborn} & Symbol for born \\
1031 % \textdied & |\textdied|\SpecialIndex{\textdied} & Symbol for died \\
1032 % \textdivorced & |\textdivorced|\SpecialIndex{\textdivorced} & Symbol for divorced \\
1033 % \textmarried & |\textmarried|\SpecialIndex{\textmarried} & Symbol for married \\
1034 % \textleaf & |\textleaf|\SpecialIndex{\textleaf} & Leaf symbol \\
1035 % \textmale & |\textmale|\SpecialIndex{\textmale} & Symbol for male \\
1036 % \textfemale & |\textfemale|\SpecialIndex{\textfemale} & Symbol for female \\
1037 % \midrule
1038 % \multicolumn{3}{c}{\itshape Intellectual Property Symbols} \\
1039 % \midrule
1040 % \textregistered & |\textregistered|\SpecialIndex{\textregistered} & Registered mark \\
1041 % \texttrademark & |\texttrademark|\SpecialIndex{\texttrademark} & Trademark sign \\
1042 % \textservicemark & |\textservicemark|\SpecialIndex{\textservicemark} & Service mark sign \\
1043 % \textsoundrecording & |\textsoundrecording|\SpecialIndex{\textsoundrecording} & Sound
1044 % recording sign \\
1045 % \textcopyright & |\textcopyright|\SpecialIndex{\textcopyright} & Copyright mark \\
1046 % \textcopyleft & |\textcopyleft|\SpecialIndex{\textcopyleft} & Copyleft mark \\
1047 % \midrule
1048 % \multicolumn{3}{c}{\itshape Astronomical Symbols} \\
1049 % \midrule
1050 % \textsun & |\textsun|\SpecialIndex{\textsun} & Sun, Sol \\
1051 % \textsunvar & |\textsunvar|\SpecialIndex{\textsunvar} & Variant Sun or Sol; with ray \\
1052 % \textwaxcrescent & |\textwaxcrescent|\SpecialIndex{\textwaxcrescent} & Waxing crescent moon \\
1053 % \textfullmoon & |\textfullmoon|\SpecialIndex{\textfullmoon} & Full moon \\
1054 % \textwanecrescent & |\textwanecrescent|\SpecialIndex{\textwanecrescent} & Waning crescent moon \\
1055 % \textnewmoon & |\textnewmoon|\SpecialIndex{\textnewmoon} & New moon \\
1056 % \textmercury & |\textmercury|\SpecialIndex{\textmercury} & Mercury; Hermes \\
1057 % \textearth & |\textearth|\SpecialIndex{\textearth}, |\textterra|\SpecialIndex{\textterra} & Earth, Terra \\
1058 % \textearthvar & |\textearthvar|\SpecialIndex{\textearthvar},|\textterravar|\SpecialIndex{\textterravar} & Variant
1059 % Earth, Terra \\
1060 % \textmars & |\textmars|\SpecialIndex{\textmars} & Mars, Ares \\
1061 % \textvenus & |\textvenus|\SpecialIndex{\textvenus} & Venus, Aphrodite \\
1062 % \textjupiter & |\textjupiter|\SpecialIndex{\textjupiter} & Jupiter, Jove, Zeus \\
1063 % \textsaturn & |\textsaturn|\SpecialIndex{\textsaturn} & Saturn \\
1064 % \texturanus & |\texturanus|\SpecialIndex{\texturanus} & Uranus \\
1065 % \texturanusvar & |\texturanusvar|\SpecialIndex{\texturanusvar} & Variant Uranus \\
1066 % \textneptune & |\textneptune|\SpecialIndex{\textneptune} & Neptune, Poseidon \\
1067 % \textpluto & |\textpluto|\SpecialIndex{\textpluto} & Pluto \\
1068 % \textplutovar & |\textplutovar|\SpecialIndex{\textplutovar} & Variant Pluto \\
1069 % \textceres & |\textceres|\SpecialIndex{\textceres} & Ceres \\
1070 % \textpallas & |\textpallas|\SpecialIndex{\textpallas} & Pallas \\
1071 % \textjuno & |\textjuno|\SpecialIndex{\textjuno} & Juno, Hera \\
1072 % \textjunovar & |\textjunovar|\SpecialIndex{\textjunovar} & Variant Juno, Hera \\
1073 % \textvesta & |\textvesta|\SpecialIndex{\textvesta} & Vesta \\
1074 % \textvestavar & |\textvestavar|\SpecialIndex{\textvestavar} & Variant Vesta \\
1075 % \textastraea & |\textastraea|\SpecialIndex{\textastraea} & Astr\ae a \\
1076 % \textastraeavar & |\textastraeavar|\SpecialIndex{\textastraeavar} & Variant Astr\ae a \\
1077 % \texthebe & |\texthebe|\SpecialIndex{\texthebe} & Hebe \\
1078 % \textiris & |\textiris|\SpecialIndex{\textiris} & Iris \\
1079 % \textaries & |\textaries|\SpecialIndex{\textaries}, |\textari|\SpecialIndex{\textari} & Aries \\
1080 % \texttaurus & |\texttaurus|\SpecialIndex{\texttaurus}, |\texttau|\SpecialIndex{\texttau} & Taurus \\
1081 % \textgemini & |\textgemini|\SpecialIndex{\textgemini}, |\textgem|\SpecialIndex{\textgem} & Gemini \\
1082 % \textcancer & |\textcancer|\SpecialIndex{\textcancer}, |\textcnc|\SpecialIndex{\textcnc} & Cancer \\
1083 % \textleo & |\textleo|\SpecialIndex{\textleo} & Leo \\
1084 % \textvirgo & |\textvirgo|\SpecialIndex{\textvirgo}, |\textvir|\SpecialIndex{\textvir} & Virgo \\
1085 % \textlibra & |\textlibra|\SpecialIndex{\textlibra}, |\textlib|\SpecialIndex{\textlib} & Libra \\
1086 % \textscorpius & |\textscorpius|\SpecialIndex{\textscorpius}, |\textsco|\SpecialIndex{\textsco} & Scorpius \\
1087 % \textsagittarius & |\textsagittarius|\SpecialIndex{\textsagittarius}, |\textsgr|\SpecialIndex{\textsgr} & Sagittarius \\
1088 % \textcapricorn & |\textcapricorn|\SpecialIndex{\textcapricorn}, |\textcap|\SpecialIndex{\textcap} & Capricorn \\
1089 % \textaquarius & |\textaquarius|\SpecialIndex{\textaquarius}, |\textaqr|\SpecialIndex{\textaqr} & Aquarius \\
1090 % \textpisces & |\textpisces|\SpecialIndex{\textpisces}, |\textpsc|\SpecialIndex{\textpsc} & Pisces \\
1091 % \textstar & |\textstar|\SpecialIndex{\textstar} & Star \\
1092 % \textcomet & |\textcomet|\SpecialIndex{\textcomet} & Comet \\
1093 % \textquadrature & |\textquadrature|\SpecialIndex{\textquadrature} & Quadrature \\
1094 % \textopposition & |\textopposition|\SpecialIndex{\textopposition} & Opposition \\
1095 % \textconjunction & |\textconjunction|\SpecialIndex{\textconjunction} & Conjunction \\
1096 % \textascendingnode & |\textascendingnode|\SpecialIndex{\textascendingnode} & Ascending node \\
1097 % \textdescendingnode & |\textdescendingnode|\SpecialIndex{\textdescendingnode} & Descending node \\
1098 % \midrule
1099 % \multicolumn{3}{c}{\itshape Currency Symbols} \\
1100 % \midrule
1101 % \textdollarsign & |\textdollarsign|\SpecialIndex{\textdollarsign} & Dollar sign \\
1102 % \textolddollarsign & |\textolddollarsign|\SpecialIndex{\textolddollarsign} & Old-style dollar
1103 % sign; double-slashed dollar sign \\
1104 % \textcentsign & |\textcentsign|\SpecialIndex{\textcentsign} & Cent sign \\
1105 % \textoldcentsign & |\textoldcentsign|\SpecialIndex{\textoldcentsign} & Old-style cent sign;
1106 % diagonally slashed cent sign \\
1107 % \textpoundsterling & |\textpoundsterling|\SpecialIndex{\textpoundsterling} & British pound
1108 % sterling sign \\
1109 % \textoldpoundsterling & |\textoldpoundsterling|\SpecialIndex{\textoldpoundsterling}, |\textlira|\SpecialIndex{\textlira} & Old-style
1110 % British pound sterling sign; double-slashed British pound
1111 % sterling sign; Italian lira sign \\
1112 % \texteuro & |\texteuro|\SpecialIndex{\texteuro} & Euro sign \\
1113 % \textyen & |\textyen|\SpecialIndex{\textyen} & Japanese yen sign \\
1114 % \textbaht & |\textbaht|\SpecialIndex{\textbaht} & Thai baht sign \\
1115 % \textcolon & |\textcolon|\SpecialIndex{\textcolon} & Costa Rican, Salvadoran colon sign \\
1116 % \textdong & |\textdong|\SpecialIndex{\textdong} & Vietnamese dong sign \\
1117 % \textflorin & |\textflorin|\SpecialIndex{\textflorin} & Florin sign \\
1118 % \textguarani & |\textguarani|\SpecialIndex{\textguarani} & Uruguayan guarani sign \\
1119 % \textnaira & |\textnaira|\SpecialIndex{\textnaira} & Nigerian naira sign \\
1120 % \textpeso & |\textpeso|\SpecialIndex{\textpeso}, |\textruble|\SpecialIndex{\textruble} & Mexican peso sign; Russian ruble
1121 % sign \\
1122 % \textwon & |\textwon|\SpecialIndex{\textwon} & Won sign \\
1123 % \textcurrency & |\textcurrency|\SpecialIndex{\textcurrency} & Generic currency \\
1124 % \midrule
1125 % \multicolumn{3}{c}{\itshape Roman Numerals} \\
1126 % \midrule
1127 % \romone & |\romone|\SpecialIndex{\romone} & Roman numeral one \\
1128 % \romfive & |\romfive|\SpecialIndex{\romfive} & Roman numeral five \\
1129 % \romten & |\romten|\SpecialIndex{\romten} & Roman numeral ten \\
1130 % \romfifty & |\romfifty|\SpecialIndex{\romfifty} & Roman numeral fifty \\
1131 % \romhundred & |\romhundred|\SpecialIndex{\romhundred} & Roman numeral hundred \\
1132 % \romfivehundred & |\romfivehundred|\SpecialIndex{\romfivehundred} & Roman numeral hundred \\
1133 % \romthousand & |\romthousand|\SpecialIndex{\romthousand} & Roman numeral thousand \\
1134 % \romanize{1651} & |\romanize{1668}| & Convert Indo-arabic
1135 % numeral to Roman numerals \\
1136 % \midrule
1137 % \multicolumn{3}{c}{\itshape Lining Numerals} \\
1138 % \midrule
1139 % \liningzero & |\liningzero|\SpecialIndex{\liningzero} & Lining numeral 0 \\
1140 % \liningone & |\liningone|\SpecialIndex{\liningone} & Lining numeral 1 \\
1141 % \liningtwo & |\liningtwo|\SpecialIndex{\liningtwo} & Lining numeral 2 \\
1142 % \liningthree & |\liningthree|\SpecialIndex{\liningthree} & Lining numeral 3 \\
1143 % \liningfour & |\liningfour|\SpecialIndex{\liningfour} & Lining numeral 4 \\
1144 % \liningfive & |\liningfive|\SpecialIndex{\liningfive} & Lining numeral 5 \\
1145 % \liningsix & |\liningsix|\SpecialIndex{\liningsix} & Lining numeral 6 \\
1146 % \liningseven & |\liningseven|\SpecialIndex{\liningseven} & Lining numeral 7 \\
1147 % \liningeight & |\liningeight|\SpecialIndex{\liningeight} & Lining numeral 8 \\
1148 % \liningnine & |\liningnine|\SpecialIndex{\liningnine} & Lining numeral 9 \\
1149 % \liningnums{3091} & |\liningnums{3091}| & Convert figures
1150 % into lining figures \\
1151 % \midrule
1152 % \multicolumn{3}{c}{\itshape Traditional and Innovative Typography} \\
1153 % \midrule
1154 % \textnumero & |\textnumero|\SpecialIndex{\textnumero} & Numero \\
1155 % \textrefmark & |\textrefmark|\SpecialIndex{\textrefmark} & Reference mark \\
1156 % \textasterism & |\textasterism|\SpecialIndex{\textasterism} & Asterism \\
1157 % \textfeminineordinal & |\textfeminineordinal|\SpecialIndex{\textfeminineordinal} & Feminine
1158 % Ordinal \\
1159 % \textmasculineordinal & |\textmasculineordinal|\SpecialIndex{\textmasculineordinal} & Masculine
1160 % Ordinal \\
1161 % \textsupone & |\textsupone|\SpecialIndex{\textsupone} & Superscript 1; superior
1162 % digit 1 \\
1163 % \textsuptwo & |\textsuptwo|\SpecialIndex{\textsuptwo} & Superscript 2; superior
1164 % digit 2 \\
1165 % \textsupthree & |\textsupthree|\SpecialIndex{\textsupthree} & Superscript 3; superior
1166 % digit 3\\
1167 % \textpilcrowsolid & |\textpilcrowsolid|\SpecialIndex{\textpilcrowsolid} & Solid-lined
1168 % pilcrow \\
1169 % \textpilcrowoutline & |\textpilcrowoutline|\SpecialIndex{\textpilcrowoutline} & Outlined
1170 % pilcrow \\
1171 % \textsection & |\textsection|\SpecialIndex{\textsection} & Section mark \\
1172 % \textdagger & |\textdagger|\SpecialIndex{\textdagger}, |\textdag|\SpecialIndex{\textdag}, |\dag|\SpecialIndex{\dag} & Dagger \\
1173 % \textdbldagger & |\textdbldagger|\SpecialIndex{\textdbldagger}, |\textdbldag|\SpecialIndex{\textdbldag}, |\dbldag|\SpecialIndex{\dbldag} &
1174 % Double dagger \\
1175 % \textpipe & |\textpipe|\SpecialIndex{\textpipe} & Pipe \\
1176 % \textbrokenpipe & |\textbrokenpipe|\SpecialIndex{\textbrokenpipe} & Broken pipe \\
1177 % \textrecipe & |\textrecipe|\SpecialIndex{\textrecipe} & Recipe mark \\
1178 % \textintbang & |\textintbang|\SpecialIndex{\textintbang} & Interrobang \\
1179 % \textopenintbang & |\textopenintbang|\SpecialIndex{\textopenintbang} & Opening interrobang \\
1180 % \midrule
1181 % \multicolumn{3}{c}{\itshape Text-mode Math Symbols} \\
1182 % \midrule
1183 % \textprime & |\textprime|\SpecialIndex{\textprime} & Single prime mark \\
1184 % \textdoubleprime & |\textdoubleprime|\SpecialIndex{\textdoubleprime} & Double prime mark \\
1185 % \texttripleprime & |\texttripleprime|\SpecialIndex{\texttripleprime} & Triple prime mark \\
1186 % \textsqrt & |\textsqrt|\SpecialIndex{\textsqrt} & Square root sign; radical \\
1187 % \textquarter & |\textquarter|\SpecialIndex{\textquarter} & One-quarter fraction,
1188 % slanted \\
1189 % \texthalf & |\texthalf|\SpecialIndex{\texthalf} & One-half fraction, slanted \\
1190 % \textthreequarters & |\textthreequarters|\SpecialIndex{\textthreequarters} & Three-quarters
1191 % fraction, slanted \\
1192 % \textthird & |\textthird|\SpecialIndex{\textthird} & One-third fraction, slanted \\
1193 % \texttwothirds & |\texttwothirds|\SpecialIndex{\texttwothirds} & Two-thirds fraction,
1194 % slanted \\
1195 % \textperbiqua & |\textperbiqua|\SpecialIndex{\textperbiqua}, |\textpermille|\SpecialIndex{\textpermille} & Perbiqua,
1196 % permille, per thousand \\
1197 % \textpertriqua & |\textpertriqua|\SpecialIndex{\textpertriqua}, |\textpertenmille|\SpecialIndex{\textpertenmille} &
1198 % Pertriqua, per ten thousand \\
1199 % \textequals & |\textequals|\SpecialIndex{\textequals} & Equals sign \\
1200 % \textslash & |\textslash|\SpecialIndex{\textslash} & Forward slash \\
1201 % \texttimes & |\texttimes|\SpecialIndex{\texttimes} & Multiplication; times \\
1202 % \textdiv & |\textdiv|\SpecialIndex{\textdiv} & Division sign \\
1203 % \textuparrow & |\textuparrow|\SpecialIndex{\textuparrow} & Upward-pointing arrow \\
1204 % \textdownarrow & |\textdownarrow|\SpecialIndex{\textdownarrow} & Downward-pointing arrow \\
1205 % \textleftarrow & |\textleftarrow|\SpecialIndex{\textleftarrow} & Left-pointing arrow \\
1206 % \textrightarrow & |\textrightarrow|\SpecialIndex{\textrightarrow} & Right-pointing arrow \\
1207 % \midrule
1208 % \multicolumn{3}{c}{\itshape Warning Signs} \\
1209 % \midrule
1210 % \textradiation & |\textradiation|\SpecialIndex{\textradiation} & Radiation warning sign \\
1211 % \textradiationnocircle & |\textradiationnocircle|\SpecialIndex{\textradiationnocircle} &
1212 % Radiation warning sign, no enclosing circle \\
1213 % \textbiohazard & |\textbiohazard|\SpecialIndex{\textbiohazard} & Biohazard warning sign \\
1214 % \textbiohazardnocircle & |\textbiohazardnocircle|\SpecialIndex{\textbiohazardnocircle} &
1215 % Biohazard warning sign, no enclosing circle \\
1216 % \texthighvoltage & |\texthighvoltage|\SpecialIndex{\texthighvoltage} & High voltage warning
1217 % sign \\
1218 % \texthighvoltagenotriangle & |\texthighvoltagenotriangle|\SpecialIndex{\texthighvoltagenotriangle} &
1219 % High voltage warning sign, no enclosing triangle \\
1220 % \textgeneralwarning & |\textgeneralwarning|\SpecialIndex{\textgeneralwarning} & General
1221 % warning sign \\
1222 % \midrule
1223 % \multicolumn{3}{c}{\itshape Bullets and Other Marks} \\
1224 % \midrule
1225 % \textbullet & |\textbullet|\SpecialIndex{\textbullet} & Solid circular bullet \\
1226 % \textopenbullet & |\textopenbullet|\SpecialIndex{\textopenbullet} & Open circular bullet \\
1227 % \textheart & |\textheart|\SpecialIndex{\textheart} & Solid heart \\
1228 % \textopenheart & |\textopenheart|\SpecialIndex{\textopenheart} & Open heart \\
1229 % \texteighthnote & |\texteighthnote|\SpecialIndex{\texteighthnote} & Eighth note \\
1230 % \textdiamond & |\textdiamond|\SpecialIndex{\textdiamond} & Solid diamond; solid lozenge \\
1231 % \textopendiamond & |\textopendiamond|\SpecialIndex{\textopendiamond}, |\textlozenge|\SpecialIndex{\textlozenge} & Open
1232 % diamond; open lozenge \\
1233 % \textdegree & |\textdegree|\SpecialIndex{\textdegree} & Degree symbol \\
1234 % \textdegreec & |\textdegreec|\SpecialIndex{\textdegreec} & Degrees Celsius \\
1235 % \texttilde & |\texttilde|\SpecialIndex{\texttilde}, |\tilde|\SpecialIndex{\tilde} & Tilde \\
1236 % \midrule
1237 % \multicolumn{3}{c}{\itshape Ornaments and Fleurons} \\
1238 % \midrule
1239 % \textrightupfleuron & |\textrightupfleuron|\SpecialIndex{\textrightupfleuron} &
1240 % Rightward-pointing, upward fleuron \\
1241 % \textrightdownfleuron & |\textrightdownfleuron|\SpecialIndex{\textrightdownfleuron} &
1242 % Rightward-pointing, downward fleuron \\
1243 % \textleftupfleuron & |\textleftupfleuron|\SpecialIndex{\textleftupfleuron} &
1244 % Leftward-pointing, upward fleuron \\
1245 % \textleftdownfleuron & |\textleftdownfleuron|\SpecialIndex{\textleftdownfleuron} &
1246 % Leftward-pointing, downward fleuron \\
1247 % \textupleftfleuron & |\textupleftfleuron|\SpecialIndex{\textupleftfleuron} &
1248 % Upward-pointing, leftward fleuron \\
1249 % \textuprightfleuron & |\textuprightfleuron|\SpecialIndex{\textuprightfleuron} &
1250 % Upward-pointing, rightward fleuron \\
1251 % \textdownrightfleuron & |\textdownrightfleuron|\SpecialIndex{\textdownrightfleuron} &
1252 % Downward-pointing, rightward fleuron \\
1253 % \textdownleftfleuron & |\textdownleftfleuron|\SpecialIndex{\textdownleftfleuron} &
1254 % Downward-pointing, leftward fleuron \\
1255 % \textsquaretulip & |\textsquaretulip|\SpecialIndex{\textsquaretulip} &
1256 % Square of four tulips, facing up and down \\
1257 % \textsquaretulipside &
1258 % |\textsquaretulipside|\SpecialIndex{\textsquaretulipside} & Square of four tulips,
1259 % facing left and right \\
1260 % \textupdoubletulip & |\textupdoubletulip|\SpecialIndex{\textupdoubletulip} &
1261 % Double tulips, facing upward \\
1262 % \textdowndoubletulip &
1263 % |\textdowndoubletulip|\SpecialIndex{\textdowndoubletulip} & Double tulips, facing
1264 % downward \\
1265 % \textrightdoubletulip &
1266 % |\textrightdoubletulip|\SpecialIndex{\textrightdoubletulip} & Double tulips, facing
1267 % righward \\
1268 % \textleftdoubletulip &
1269 % |\textleftdoubletulip|\SpecialIndex{\textleftdoubletulip} & Double tulips, facing
1270 % leftward \\
1271 % \textupleftcornertulip &
1272 % |\textupleftcornertulip|\SpecialIndex{\textupleftcornertulip} & Single corner-facing
1273 % tulip, for upper left corners \\
1274 % \textuprightcornertulip &
1275 % |\textuprightcornertulip|\SpecialIndex{\textuprightcornertulip} & Single corner-facing
1276 % tulips, for upper right corners \\
1277 % \textlowleftcornertulip &
1278 % |\textlowleftcornertulip|\SpecialIndex{\textlowleftcornertulip} & Single corner-facing
1279 % tulips, for lower left corners \\
1280 % \textlowrightcornertulip &
1281 % |\textlowrightcornertulip|\SpecialIndex{\textlowrightcornertulip} & Single
1282 % corner-facing tulip, for lower right corners \\
1283 % \textupsingletuliplong & |\textupsingletuliplong|\SpecialIndex{\textupsingletuliplong} & Single tulip,
1284 % upward-facing \\
1285 % \textdownsingletuliplong & |\textdownsingletuliplong|\SpecialIndex{\textdownsingletuliplong} & Single
1286 % tulip, downward-facing \\
1287 % \textleftsingletuliplong & |\textleftsingletuliplong|\SpecialIndex{\textleftsingletuliplong} & Single
1288 % tulip, leftward-facing \\
1289 % \textrightsingletuliplong & |\textrightsingletuliplong|\SpecialIndex{\textrightsingletuliplong} & Single
1290 % tulip, rightward-facing \\
1291 % \textupsingletulip & |\textupsingletulip|\SpecialIndex{\textupsingletulip} & Single tulip,
1292 % upright \\
1293 % \textdownsingletulip & |\textdownsingletulip|\SpecialIndex{\textdownsingletulip} & Single
1294 % tulip, downward \\
1295 % \textleftsingletulip & |\textleftsingletulip|\SpecialIndex{\textleftsingletulip} & Single
1296 % tulip, leftward \\
1297 % \textrightsingletulip & |\textrightsingletulip|\SpecialIndex{\textrightsingletulip} & Single
1298 % tulip, rightward \\
1299 % \spearright & |\spearright|\SpecialIndex{\spearright} &
1300 % Rightward-pointing spear head \\
1301 % \spearleft & |\spearleft|\SpecialIndex{\spearleft} &
1302 % Leftward-pointing spear head \\
1303 % \horizspearext &
1304 % |\horizspearext|\SpecialIndex{\horizspearext} & Extension
1305 % piece for horizontal shafts \\
1306 % \spearup & |\spearup|\SpecialIndex{\spearup} &
1307 % Upward-pointing spear head \\
1308 % \speardown & |\speardown|\SpecialIndex{\speardown} &
1309 % Downward-pointing spear head \\
1310 % \vertspearext & |\vertspearext|\SpecialIndex{\vertspearext}
1311 % & Extension piece for vertical shafts \\
1312 % \fleurdelis & |\fleurdelis|, |\fleurdelys|\SpecialIndex{\fleurdelis}
1313 % \SpecialIndex{\fleurdelys} & Fleur-de-lis \\
1314 % \fleurdelisdown &
1315 % |\fleurdelisdown|, |\fleurdelysdown|\SpecialIndex{\fleurdelisdown}
1316 % \SpecialIndex{\fleurdelys} & Fleur-de-lis, downward \\
1317 % \fleurdelisleft &
1318 % |\fleurdelisleft|, |\fleurdelysleft|\SpecialIndex{\fleurdelisleft}
1319 % \SpecialIndex{\fleurdelys} & Fleur-de-lis, leftward \\
1320 % \fleurdelisright &
1321 % |\fleurdelisright|, |\fleurdelysright|\SpecialIndex{\fleurdelisright}
1322 %\SpecialIndex{\fleurdelys} & Fleur-de-lis, rightward \\
1323 % \LARGE\woundcordleftext & |\woundcordleftext|\SpecialIndex{\woundcordleftext}
1324 % & Wound cord, leftward facing, extender \\
1325 % \LARGE\woundcordrightext &
1326 % |\woundcordrightext|\SpecialIndex{\woundcordrightext} &
1327 % Wound cord, rightward facing, extender \\
1328 % \LARGE\woundcordleftend & |\woundcordleftend|\SpecialIndex{\woundcordleftend}
1329 % & Wound cord, left end \\
1330 % \LARGE\woundcordrightend &
1331 % |\woundcordrightend|\SpecialIndex{\woundcordrightend} &
1332 % Wound cord, right end \\
1333 % \LARGE\woundcordleftendinv &
1334 % |\woundcordleftendinv|\SpecialIndex{\woundcordleftendinv} &
1335 % Wound cord, left end, inverted \\
1336 % \LARGE\woundcordrightendinv &
1337 % |\woundcordrightendinv|\SpecialIndex{\woundcordrightendinv} &
1338 % Wound cord, right end, inverted \\
1339 % \end{longtable}
1340 % \end{center}
1341 %
1342 % \label{page:orncomment}
1343 % These ornaments are often quite useful for decorative
1344 % purposes, though textual ornaments are too often neglected
1345 % these days. (The sturdy |adforn| and intricate
1346 % |psvectorian| packages for \LaTeX\ are notable and
1347 % admirable exceptions.) The possibilities with even just a
1348 % few decorative shapes are endless.
1349 %
1350 % \subsection{Special Symbol and Ornamental Commands}
1351 % \label{sub:ornamentals}
1352 %
1353 % \lettrine{B}{ecause typography} is an ancient art full of arcane
1354 % knowledge, there are some things that simply won't fit
1355 % into the general rules. As a result, DRM offers a few
1356 % interesting tidbits that your author hasn't found, or
1357 % hasn't found useful, elsewhere. We start with a few
1358 % commands for using the textual ornaments DRM provides,
1359 % followed by some more mundane but still useful
1360 % typographical tools.
1361 %
1362 % \subsubsection{Ornamental Commands}
1363 % \label{subsub:orncommands}
1364 %
1365 % Having just mentioned the great decorative utility of
1366 % old-fashioned textual ornaments,\footnote{\textit{See
1367 % supra} at \pageref{page:orncomment}.} it would be remiss not to
1368 % offer some tools for actually using such ornaments short
1369 % of entering them in and designing interlocking boxes by
1370 % hand. Ornaments, being inherently decorative rather than
1371 % systematic, are not always subject to automation; but some
1372 % limited applications can be, and DRM tries to offer some
1373 % help with them.
1374 %
1375 % DRM offers |\tulipframe|\DescribeMacro{\tulipframe}, which
1376 % frames a title in decorative tulip fleurons:
1377 %
1378 % \vskip1em%
1379 %
1380 % \hbox to\linewidth{\hfil|\tulipframe{\texttc{Example}}|\hfil}%
1381 % {\LARGE\tulipframe{\texttc{Example}}}
1382 %
1383 % \vskip1em%
1384 %
1385 % The nature of the tulip fleurons in DRM's symbol font is
1386 % such that these frames can be extended or shrunk as one
1387 % wishes. |\tulipframe|, alas, is not that intelligent; it
1388 % doesn't grow or shrink with the text, but simply sits as
1389 % it is. Doing better than this will require box-fiddling
1390 % by hand. However, since DRM offers vertical \emph{and}
1391 % horizontal tulip ornaments, it's possible to have
1392 % ornamental frames of any height or width.
1393 %
1394 % DRM also offers an extremely flexible \emph{rule system},
1395 % allowing the creation of vertical and horizontal rules of
1396 % any length, out of any characters, in the beginning, the
1397 % middle figures, and the end. Meet
1398 % \DescribeMacro{\extrule}|\extrule|, or \emph{extensible
1399 % rule}, which can produce rules with whatever characters
1400 % you'd like.
1401 %
1402 % |\extrule| requires five arguments, as shown below:
1403 %
1404 % \begin{center}
1405 % \cmd{\extrule} \marg{orient} \marg{len}
1406 % \marg{start} \marg{end} \marg{ext}
1407 % \end{center}
1408 %
1409 % \begin{description}
1410 % \item[orient] The rule's \emph{orientation}. This can
1411 % take the value \marg{h}, for \emph{horizontal}, or
1412 % \marg{v}, for \emph{vertical}.
1413 % \item[len] The rule's \emph{length}. This will be the
1414 % total length of the rule, including the start and end
1415 % characters. It can be passed in any form understood by
1416 % e\TeX's |\numexpr| and |\dimexpr|, meaning that you can
1417 % give it formul\ae, such as |{0.2\linewidth}|.
1418 % \item[start] The first character in the rule; this means
1419 % either the left character in a horizontal rule, or the
1420 % bottom character in a vertical rule.
1421 % \item[end] The last character in the rule, either the
1422 % right in a horizontal or the top in a vertical.
1423 % \item[ext] The extension character; this is the character
1424 % which will be repeated until the rule is the appropriate
1425 % length.
1426 % \end{description}
1427 %
1428 % DRM offers several useful characters for producing such
1429 % rules, which are designed to line up properly and thus
1430 % produce attractive decorative rules. Among these are the
1431 % \emph{spear characters}, and we will demonstrate their use
1432 % with a couple of sample rules:
1433 %
1434 % \begin{center}
1435 % \begin{tabular}{m{0.5\linewidth}c}
1436 % |\extrule{h}{\linewidth/2}{\spearleft}|
1437 % |{\spearright}{\horizspearext}| &
1438 % \extrule{h}{\linewidth/6}{\spearleft}
1439 % {\spearright}{\horizspearext} \\
1440 % |\extrule{v}{\linewidth/6}{\speardown}|
1441 % |{\spearup}{\vertspearext}| &
1442 % \extrule{v}{\linewidth/6}{\speardown}
1443 % {\spearup}{\vertspearext} \\
1444 % \end{tabular}
1445 % \end{center}
1446 %
1447 % Of course, these are typically more useful when longer, as
1448 % in the rule below, which is equal to the |\linewidth|:
1449 %
1450 % \extrule{h}{\linewidth}{\spearleft}{\spearright}{\horizspearext}
1451 %
1452 % As is evident, |\extrule| also suppresses indentation,
1453 % which is almost certainly the right choice. If you want
1454 % an indent with it, it's easy enough to put one in
1455 % explicitly.
1456 %
1457 % While characters like these, designed to line up
1458 % correctly, are naturally the most likely candidates for
1459 % such rules, you can use any characters you'd like, which
1460 % can sometimes lead to some interesting choices:
1461 %
1462 % |\extrule{h}{\linewidth/2}{\textleftarrow}{\textrightarrow}{\dag}|
1463 %
1464 % \begin{center}
1465 % \extrule{h}{\linewidth/2}{\textleftarrow}{\textrightarrow}{\dag}
1466 % \end{center}
1467 %
1468 % This is a pretty absurd example, of course, but it's
1469 % likely that better ones could and will be devised.
1470 %
1471 % And what about when we desire a special character in the
1472 % \emph{middle} of the rule? Use \emph{two} |\extrule|s and
1473 % put the symbol you want in the middle between them; make
1474 % sure you comment out the end of your first and second
1475 % lines, so as not to introduce any extraneous spaces:
1476 %
1477 % \begin{verbatim}
1478 % \extrule{h}{\linewidth/2}{\spearleft}{}{\horizspearext}%
1479 % \textbigcircle%
1480 % \extrule{h}{\linewidth/2}{}{\spearright}{\horizspearext}%
1481 % \end{verbatim}
1482 % \begin{center}
1483 % \extrule{h}{\linewidth/4}{\spearleft}{}{\horizspearext}\textbigcircle\extrule{h}{\linewidth/4}{}{\spearright}{\horizspearext}
1484 % \end{center}
1485 %
1486 % There's no reason we can't put more than one character into
1487 % these slots, as well, if we want to mix them with some
1488 % different characters:
1489 %
1490 % \begin{verbatim}
1491 % \extrule{h}{\linewidth/2}{\spearleft\raisebox{0.8pt}{\textpipe}}%
1492 % {\raisebox{0.8pt}{\textpipe}\spearright}{\horizspearext}%
1493 % \end{verbatim}
1494 % \begin{center}
1495 % \extrule{h}{\linewidth/2}{\spearleft\raisebox{0.8pt}{\textpipe}}%
1496 % {\raisebox{0.8pt}{\textpipe}\spearright}{\horizspearext}%
1497 % \end{center}
1498 %
1499 % Some other useful characters for decorative rules are the
1500 % ``wound cord'' characters:
1501 %
1502 % \begin{center}
1503 % \Huge
1504 % \extrule{h}{\linewidth/2}{\drmsym{\char'323}}{\drmsym{\char'322}}{\drmsym{\char'324}}
1505 % \extrule{h}{\linewidth/2}{\drmsym{\char'320}}{\drmsym{\char'321}}{\drmsym{\char'317}}
1506 % \end{center}
1507 % \vskip1em%
1508 %
1509 % Finally, these rules can often form very dignified page
1510 % borders. The border on this page, for example, was formed
1511 % very simply by the following (using
1512 % |\usepackage[absolute]{textpos}|):
1513 % \setlength{\TPHorizModule}{\linewidth}
1514 % \begin{textblock}{1}(0.22,2)
1515 % \extrule{v}{\textheight/6*7}{\textbigcircle}{\spearup}{\vertspearext}%
1516 % \hskip-1.3em%
1517 % \extrule{h}{8\textwidth/6}{}{\spearright}{\horizspearext}%
1518 % \end{textblock}
1519 %
1520 % \begin{verbatim}
1521 % \setlength{\TPHorizModule}{\linewidth}
1522 % \begin{textblock}{1}(0.22,2)
1523 % \extrule{v}{\textheight/6*7}{\textbigcircle}{\spearup}{\vertspearext}%
1524 % \hskip-1.3em%
1525 % \extrule{h}{8*\textwidth/6}{}{\spearright}{\horizspearext}%
1526 % \end{textblock}
1527 % \end{verbatim}
1528 %
1529 % This takes a little hand-tuning (e.g., the |\hskip| prior
1530 % to the horizontal |\extrule|, and the offset in the
1531 % parentheses), but once done, it can look quite nice.
1532 %
1533 % \subsubsection{Ellipses}
1534 % \label{subsub:ellipses}
1535 %
1536 % DRM also has some unreasonably configurable ellipses.
1537 % Your author included these because he's often been
1538 % displeased by the default ellipsis options. (Of course,
1539 % there is the excellent |ellipsis| package; but why not fix
1540 % the problem here, when I've got the chance?) DRM offers
1541 % two ellipsis commands, \DescribeMacro{\drmelip}|\drmelip|,
1542 % which gives a three-dot ellipsis, and
1543 % \DescribeMacro{\drmfelip}|\drmfelip|, which gives a
1544 % four-dot ellipsis.
1545 %
1546 % I was always taught then when an ellipsis occurs after a
1547 % period, four dots should be used, the first dot being the
1548 % period itself and the next three being the ellipsis.
1549 % However, using |\ldots| and similar commands after a
1550 % period always seems to result in spacing that was subtlely
1551 % (or not-so-subtlely) off. So DRM tries to fix that
1552 % problem with these commands.
1553 %
1554 % The default behavior of the two:
1555 %
1556 % \begin{table}[htbp]
1557 % \begin{center}\Large
1558 % \begin{tabular}{ll}
1559 % |\drmelip| & |Trying out\drmelip the ellipsis.| \\
1560 % {} & Trying out\drmelip the ellipsis. \\
1561 % |\drmfelip| & |\drmelip and so on\drmfelip| \\
1562 % {} & \drmelip and so on\drmfelip \\
1563 % \end{tabular}
1564 % \caption{A demonstration of DRM's two types of ellipses.}
1565 % \end{center}
1566 % \end{table}
1567 %
1568 % It goes without saying, of course, that these ellipses
1569 % won't break across lines.
1570 %
1571 % There are four parameters that govern how these ellipses
1572 % actually appear: the space before the ellipsis starts,
1573 % the space in between the ellipsis characters, the space
1574 % after the ellipsis ends, and the character used for the
1575 % ellipsis. Each of these parameters are configurable.
1576 %
1577 % \DescribeMacro{\drmelipgap}|\drmelipgap| is a \LaTeX\
1578 % length which determines how much space is between each
1579 % ellipsis character; reset it, if you like, with the
1580 % standard |\setlength| command. By default, it is just
1581 % under three points (2.9, to be precise.)
1582 %
1583 % \DescribeMacro{\drmelipbef}|\drmelipbef| and
1584 % \DescribeMacro{\drmelipaft}|\drmelipaft| are, as the names
1585 % imply, the lengths which govern the amount of space
1586 % before and after the ellipsis. Reset them with the
1587 % \LaTeX\ |\setlength| command. By default, they are 2.4
1588 % points and 1.4 points, respectively.
1589 %
1590 % Finally, the \DescribeMacro{\drmelipchar}|\drmelipchar|
1591 % macro tells \LaTeX\ what character is used for the
1592 % ellipsis. By default, this is |.|, but it can be
1593 % |\def|ed or |\renewcommand|ed to be anything you like.
1594 % Always wanted an ellipse made out ampersands for some
1595 % reason? Or perhaps one made out of daggers?
1596 %
1597 % \vskip2em%
1598 % \hbox to\linewidth{\hfil|\def\drmelipchar{\dag}\drmelip|\hfil}
1599 % \hbox to\linewidth{\hfil\def\drmelipchar{\dag}\drmelip\hfil}
1600 % \vskip2em%
1601 %
1602 % \def\drmelipchar{.}%
1603 % It's probably wise not to abuse this, but it's good for a
1604 % little fun sometimes, and it's easier to use (though
1605 % obviously much less flexible) than \TeX's |\dotfill|
1606 % incantations.
1607 %
1608 % It is occasionally useful, however; e.g., some legal
1609 % writing makes ellipses out of asterisks:
1610 %
1611 % \vskip2em%
1612 % \hbox % to\linewidth{\hfil|\def\drmelipchar{$^*$}The decision is hereby\drmelip reversed.|\hfil}
1613 % \hbox to\linewidth{\hfil\def\drmelipchar{$^*$}The decision is
1614 % hereby\drmelip reversed.\hfil}
1615 % \vskip2em%
1616 %
1617 % \def\drmelipchar{.}%
1618 % So once in a while, we might actually be able to use this
1619 % feature for something other than its novelty value.
1620 %
1621 % \subsubsection{Decorative Initials}
1622 % \label{subsub:decorinit}
1623 %
1624 % DRM, as of v3.0, provides for decorative initials. These
1625 % are not traditional decorative initials, however, with
1626 % intricate patterns provided individually for each letter.
1627 % They are, rather, formed with a single background pattern,
1628 % with the necessary letter superimposed. The goal is to
1629 % make the background pattern interchangeable. The color of
1630 % that background pattern and the color of the foreground
1631 % letter can be controlled separately. Despite the single
1632 % background pattern, therefore, this provides for a
1633 % remarkable degree of flexibility.
1634 %
1635 % \DescribeMacro{\drmdecinit}|\drmdecinit| is the name of
1636 % the game here, a command which takes five arguments, all
1637 % of which are mandatory.
1638 %
1639 % \begin{center}
1640 % \cmd{\drmdecinit} \marg{width} \marg{height}
1641 % \marg{bgcolor} \marg{fgcolor} \marg{fgchar}
1642 % \end{center}
1643 %
1644 % These are largely self-explanatory, so a few examples will
1645 % likely do. Note that |drm| uses the excellent |gmp|
1646 % package to get the \MP\ code to be part of the \LaTeX\
1647 % code, allowing \LaTeX\ to control significant parts of the
1648 % formatting. This means that one will have to run a shell
1649 % script along with compiling the document, similarly to
1650 % |bibtex|, |makeindex|, or a host of others.
1651 %
1652 % \begin{parcolumns}{2}
1653 % \colchunk[1]{
1654 % \begin{spverbatim}\lettrine[lines=4,nindent=0pt,
1655 % findent=-1em]{\drmdecinit{40pt}
1656 % {40pt}{blue}{(.625,0,0)}{L}}{orem
1657 % ipsum}\end{spverbatim}}\colchunk[2]{
1658 % \raggedright\begin{spverbatim}\lettrine[lines=4,nindent=0pt,
1659 % findent=-1em]{\drmdecinit{40pt}
1660 % {40pt}{blue}{red}{L}}{orem ipsum}\end{spverbatim}}\end{parcolumns}
1661 % \begin{parcolumns}{2}
1662 % \colchunk[1]{
1663 % \lettrine[lines=4, findent=-1em,nindent=0pt]
1664 % {\drmdecinit{40pt}{40pt}{blue}{(.625,0,0)}{L}}{orem ipsum}
1665 % dolor sit amet, consectetur adipiscing elit. Ut porttitor
1666 % libero lacus, a rhoncus dolor finibus vel. Morbi
1667 % volputate condimentum orna\-re. In scelerisque
1668 % aliquam\drmfelip
1669 % }\colchunk[2]{
1670 % \lettrine[lines=4,nindent=0pt,findent=-1em]
1671 % {\drmdecinit{40pt}{40pt}{blue}{red}{L}}{orem ipsum}
1672 % dolor sit amet, consectetur adipiscing elit. Ut porttitor
1673 % libero lacus, a rhoncus dolor finibus vel. Morbi
1674 % volputate condimentum orna\-re. In scelerisque
1675 % aliquam\drmfelip
1676 % }\end{parcolumns}
1677 %
1678 % \vskip\baselineskip
1679 % The colors are \MP\ colors; unfortunately, this means that
1680 % we can use only ``black,'' ``white,'' ``red,'' ``green,''
1681 % and ``blue'' by name. However, any valid \MP\ color
1682 % specification will work. In the example above, for
1683 % example, to get a darker red, one could use |.4red|, or
1684 % one could specify colors in RGB notation, as shown above
1685 % on the left. Note that, when doing this latter, the
1686 % parentheses are necessary.
1687 %
1688 % These decorative initials lend themselves to some other,
1689 % sometimes unexpected, uses. For example, decorative
1690 % enumerates. It is best to use lining figures rather than
1691 % textual figures for this.
1692 %
1693 % DRM offers the command
1694 % \DescribeMacro{\drmdecinitfont}|\drmdecinitfont|, which is
1695 % the font which DRM uses for the decorative initials. Because
1696 % of the internals of the |gmp| package, the simple name of
1697 % the font can't be inserted here; it must be defined in a
1698 % particular way. The default is, of course, to use DRM,
1699 % and is defined thus:
1700 %
1701 % \begin{spverbatim}
1702 % \def\drmdecinitfont{\unexpanded{\font\drminitfontcom=drm10}}%
1703 % \end{spverbatim}
1704 %
1705 % In other words, one must define the fonts in the
1706 % old-fashioned \TeX\ way. The above is the default; so
1707 % whenever you've changed it for some reason, you can get it
1708 % back to the above by entering
1709 % \DescribeMacro{\drmdecinitfontdefault}|\drmdecinitfontdefault|;
1710 % this simply restores the default definition as given
1711 % above.
1712 %
1713 % For the ornate enumerations, we can simply redefine
1714 % |\drmdecinitfont| to use the lining figures from |drmsym|,
1715 % which conveniently are located at precisely the code
1716 % points that one would expect them. Simply issue:
1717 %
1718 % \begin{quote}\begin{spverbatim}
1719 % \def\drmdecinitfont{\unexpanded{\font\drminitfontcom=drmsym10} %}%
1720 % \renewcommand{\labelenumi}{%
1721 % \drmdecinit{14pt}{14pt}{blue}{red}{\theenumi}}
1722 % \end{spverbatim}\end{quote}
1723 %
1724 % This redefines |\drmdecinitfont| to use |drmsym| rather
1725 % than simply |drm|, then redefines the enumerate labels to
1726 % be DRM decorative initials, resulting in the following:
1727 %
1728 %\def\drmdecinitfont{\unexpanded{\font\drminitfontcom=drmsym10} %}%
1729 % \renewcommand{\labelenumi}{%
1730 % \drmdecinit{14pt}{14pt}{blue}{red}{\theenumi}}
1731 % \begin{quote}
1732 % \begin{enumerate}
1733 % \item The first item.
1734 % \item The second item.
1735 % \end{enumerate}
1736 % \end{quote}
1737 % \drmdecinitfontdefault
1738 %
1739 % \renewcommand{\labelenumi}{\theenumi.}
1740 % Any character whatever can be used this way, provided that
1741 % the font is correctly selected. Doubtlessly many creative
1742 % uses for this ability will be found.
1743 %
1744 % One trick, almost necessary when using these on any
1745 % significant scale, is a macro to make them less typing.
1746 % For example, to use them as four-line lettrines using
1747 % Daniel Flipo's excellent |lettrine| package:
1748 %
1749 % \def\declettrine#1#2{%
1750 % \lettrine[lines=4,nindent=0pt,findent=-1em]%
1751 % {\drmdecinit{40pt}{40pt}{blue}{red}{#1}}{#2}%
1752 % }%
1753 % \begin{spverbatim}
1754 % \def\declettrine#1#2{%
1755 % \lettrine[lines=4,nindent=0pt,findent=-1em]%
1756 % {\drmdecinit{40pt}{40pt}{blue}{red}{#1}}{#2}%
1757 % }%
1758 % \end{spverbatim}
1759 %
1760 % Rather than having to type the whole of the above each
1761 % time now, one can do it in a more natural manner:
1762 %
1763 % \begin{center}
1764 % \begin{tabular}{p{0.4\linewidth}p{0.4\linewidth}}
1765 % \begin{spverbatim}
1766 %\declettrine{L}{orem ipsum} dolor sit amet, consectetur
1767 %adipiscing elit. Ut porttitor libero lacus, a rhoncus dolor
1768 %finibus vel. Morbi volputate condimentum ornare. In
1769 %scelerisque aliquam\drmfelip\end{spverbatim} &
1770 % \declettrine{L}{orem ipsum} dolor sit amet, consectetur
1771 % adipiscing elit. Ut porttitor libero lacus, a rhoncus
1772 % dolor finibus vel. Morbi volputate condimentum ornare.
1773 % In scelerisque aliquam\drmfelip \\
1774 % \end{tabular}
1775 % \end{center}
1776 %
1777 %
1778 % \subsection{Math}
1779 % \label{sub:math}
1780 %
1781 % Your author is far from a mathematician, so he's not
1782 % really able to judge the quality of the following; but DRM
1783 % does offer matching math fonts. These are limited to the
1784 % default \TeX\ math fonts, however; AMS extensions and the
1785 % like are not available. Perhaps one day (after finishing
1786 % the ornaments and decorative initials) they will be, but
1787 % for now one will have to pull in other fonts for anything
1788 % that goes beyond plain \TeX. Using them in bold goes a
1789 % long way to making them match the rest of DRM.
1790 %
1791 % First, we have a full set of mathematical Greek letters.
1792 % As seems to be the custom, the capitals are upright and
1793 % the lowercase slanted. These can all be accessed via the
1794 % customary \TeX\ math character names.
1795 %
1796 % \begin{center}
1797 % \begin{longtable}{llllllll}
1798 % \toprule
1799 % \multicolumn{8}{c}{Greek Letters} \\
1800 % \midrule
1801 % A & |A| & $\alpha$ & |$\alpha$| & B & |B| & $\beta$& |$\beta$| \\
1802 % $\Gamma$& |$\Gamma$| & $\gamma$& |$\gamma$| & $\Delta$& |$\Delta$| &
1803 % $\delta$& |$\delta$| \\ E & |E| & $\epsilon$& |$\epsilon$| & Z &
1804 % |Z| &
1805 % $\zeta$ & |$\zeta$| \\ H & |H| & $\eta$& |$\eta$| & $\Theta$& |$\Theta$| &
1806 % $\theta$& |$\theta$| \\ I & |I| & $\iota$& |$\iota$| & K & |K| &
1807 % $\kappa$& |$\kappa$| \\ $\Lambda$& |$\Lambda$| & $\lambda$&
1808 % |$\lambda$| & M & |M| &
1809 % $\mu$ & |$\mu$| \\ N & |N| & $\nu$& |$\nu$| & $\Xi$& |$\Xi$| &
1810 % $\xi$& |$\xi$| \\ O & |O| & o & |o| & $\Pi$& |$\Pi$| &
1811 % $\pi$& |$\pi$| \\ P & |P| & $\rho$& |$\rho$| & $\Sigma$& |$\Sigma$| &
1812 % $\sigma$& |$\sigma$| \\ T & |T| & $\tau$& |$\tau$| & Y & |Y| &
1813 % $\upsilon$& |$\upsilon$| \\ $\Phi$& |$\Phi$| & $\phi$& |$\phi$| & X & |X| &
1814 % $\chi$& |$\chi$| \\ $\Psi$& |$\Psi$| & $\psi$& |$\psi$| & $\Omega$&
1815 % |$\Omega$| & $\omega$& |$\omega$| \\ $\vartheta$& |$\vartheta$| & $\varpi$&
1816 % |$\varpi$| & $\varsigma$& |$\varsigma$| & $\varphi$ &
1817 % |$\varphi$| \\
1818 % \bottomrule
1819 % \end{longtable}
1820 % \end{center}
1821 %
1822 % This alphabet led directly to DRM's Greek font, which we
1823 % discuss elsewhere.\footnote{\textit{See supra}, Section
1824 % \ref{sub:greek}, at \pageref{sub:greek}.}
1825 %
1826 % \begin{center}
1827 % \begin{longtable}{llllllll}
1828 % \toprule
1829 % \multicolumn{8}{c}{Math Calligraphic} \\
1830 % \midrule
1831 % $\mathcal{A}$ & $\mathcal{B}$ & $\mathcal{C}$ & $\mathcal{D}$ & $\mathcal{E}$ & $\mathcal{F}$ & $\mathcal{G}$ & $\mathcal{H}$ \\
1832 % $\mathcal{I}$ & $\mathcal{J}$ & $\mathcal{K}$ & $\mathcal{L}$ & $\mathcal{M}$ & $\mathcal{N}$ & $\mathcal{O}$ & $\mathcal{P}$ \\
1833 % $\mathcal{Q}$ & $\mathcal{R}$ & $\mathcal{S}$ & $\mathcal{T}$ & $\mathcal{U}$ & $\mathcal{V}$ & $\mathcal{W}$ & $\mathcal{X}$ \\
1834 % $\mathcal{Y}$ & $\mathcal{Z}$ & {} & {} & {} & {} & {} & {} \\
1835 % \bottomrule
1836 % \end{longtable}
1837 % \end{center}
1838 %
1839 % DRM also has its own extensible characters and
1840 % variable-sized math characters; a few examples
1841 % in various sizes are below.
1842 %
1843 % $$ \sum\limits_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6} $$
1844 % $$ \prod\limits_{i=1}^n i^2 = \left(\frac{n(n+1)(2n+1)}{6}\right) $$
1845 % $$ \sum\nolimits_{P_i \in Paths(I)} Probes(P_{i}) $$
1846 % $$ \underbrace{\overbrace{abcdefghijklmnop}} $$
1847 %
1848 % By default, using |\big| and friends doesn't work, a
1849 % problem I haven't been able to resolve. However, by
1850 % requiring |amsmath|, |drm| provides a more directly
1851 % flexible mechanism for this: \DescribeMacro{\bigd}|\bigd|,
1852 % which allows arbitrarily sized delimiters. It takes a
1853 % single argument, which is an integer describing the
1854 % desired size:
1855 %
1856 % \begin{center}
1857 % \begin{tabular}{llllll}
1858 % |\bigd{2}\{| & \bigd{2}\{ &
1859 % |\bigd{4}\{| & \bigd{4}\{ &
1860 % |\bigd{8}\{| & \bigd{8}\{ \\
1861 % \end{tabular}
1862 % \end{center}
1863 %
1864 % |\left| and |\right| work as expected with DRM's
1865 % delimiters.
1866 %
1867 % This symbols, of course, also work inline (as opposed to
1868 % displayed, which is what we have above); you can take
1869 % $\sqrt{2\over3}$ and have $(3\times\left(4\over3\right))$ just
1870 % as easily in a paragraph as in a display, though you may
1871 % want to take care that you're not using too much space for
1872 % your lines. (I didn't take care in this paragraph, and
1873 % you can see how bad it looks.)
1874 %
1875 % \subsection{Greek}
1876 % \label{sub:greek}
1877 %
1878 % Because DRM offers Greek characters in math, it was a
1879 % short step to offer actual Greek text, and so I've done
1880 % so, according to the standard LGR encoding. I can just
1881 % barely read the Greek alphabet and remember very little of
1882 % the grammar, and what little I once knew was all ancient
1883 % and koine, but here it is. DRM's Greek support is
1884 % limited; while it offers all the normal \emph{polutoniko}
1885 % accents, subscripts, and breathings, along with some
1886 % archaic characters like the digamma, there is no italic,
1887 % small caps, or various weights. DRM isn't, therefore,
1888 % really suitable for typesetting whole Greek works; it
1889 % will, however, offer attractive typesetting of Greek
1890 % phrases and quotations within a text set otherwise in the
1891 % Latin alphabet.
1892 %
1893 % The |\grktext|\DescribeMacro{\grktext}\ command changes the
1894 % current font encoding to LGR, which for DRM's purposes
1895 % means it's typesetting with Greek characters from then on.
1896 % The macro |\textgrk|\DescribeMacro{\textgrk}\ is similar,
1897 % but takes a single argument, which is typeset in Greek
1898 % characters. A few examples follow.
1899 %
1900 % \begin{center}
1901 % \begin{tabular}{p{0.4\textwidth}p{0.4\textwidth}}
1902 % \begin{spverbatim}We know that \textgrk{Aqilleuc} was one of the Greeks' greatest warriors.\end{spverbatim} &
1903 % \begin{spverbatim}{\grktext >En {>a}rq\char'254\ {>~h}n {<o} l{\'o}goc, ka{\'i} {<o} l{\'o}goc {\~>h}n pr{\'o}c t{\'o}n je{\'o}n, ka{\'i} je{\'o}c {>\~h}n {<o} l{\'o}goc.}\end{spverbatim} \\
1904 % We know that \textgrk{Aqilleuc} was one
1905 % of the Greeks' greatest warriors. &
1906 % {\grktext >En {>a}rq\char'254\
1907 % {>~h}n {<o} l{\'o}goc, ka{\'i} {<o} l{\'o}goc {\~>h}n
1908 % pr{\'o}c t{\'o}n je{\'o}n, ka{\'i} je{\'o}c {>\~h}n {<o}
1909 % l{\'o}goc.} \\
1910 % \end{tabular}
1911 % \end{center}
1912 %
1913 % I understand that |babel| has facilities for making the
1914 % typesetting of all the \textgrk{polutoniko} accents much
1915 % cleaner, but I don't write enough in Greek to have learned
1916 % to use it, resulting in the mess you see above. Note that
1917 % |drm| (the package) does \emph{not} pull in |babel| or the
1918 % |polutoniko| option, or any other Greek typesetting
1919 % package; it simply provides the fonts. If you're
1920 % typesetting long enough passages that you need Greek
1921 % hyphenation and the like, you'll have to invoke the
1922 % appropriate package yourself.
1923 %
1924 % \section{Implementation}
1925 % \label{sect:code}
1926 %
1927 % Load the required packages. DRM contains TS1, LGR, OML,
1928 % OMS, and T1 encoded fonts, so we load |fontenc| with all
1929 % these encodings as options. We also load |modroman| for
1930 % the |\romanize| macro, defined below. Finally, we load
1931 % |gmp| for the decorative initials (this allows including
1932 % \MP\ code in \LaTeX\ source).
1933 % \begin{macrocode}
1934 \RequirePackage[LGR,OML,OMS,TS1,T1]{fontenc}
1935 \RequirePackage{modroman}
1936 \RequirePackage{amsmath}
1937 \RequirePackage{gmp}
1938 % \end{macrocode}
1939 % Now we declare our options.
1940 % \begin{macrocode}
1941 \newif\ifnodefault\nodefaultfalse
1942 \newif\ifnodefaultmath\nodefaultmathfalse
1943 \newif\ifnodefaulttext\nodefaulttextfalse
1944 \newif\ifsymbolsonly\symbolsonlyfalse
1945 \newif\iftypeone\typeonefalse
1946 \DeclareOption{nodefault}{\nodefaulttrue\nodefaultmathtrue%
1947 \nodefaulttexttrue}
1948 \DeclareOption{nodefaultmath}{\nodefaultmathtrue}
1949 \DeclareOption{nodefaulttext}{\nodefaulttexttrue}
1950 \DeclareOption{symbolsonly}{\symbolsonlytrue\nodefaulttrue%
1951 \nodefaulttexttrue\nodefaultmathtrue}
1952 \DeclareOption{typeone}{\typeonetrue}
1953 \ProcessOptions
1954 % \end{macrocode}
1955 % Begin defining the font families. First, define the fonts
1956 % with the file |drm.map| if the option |typeone| was
1957 % requested; otherwise, load the \MF\ files directly.
1958 % \begin{macrocode}
1959 \iftypeone
1960 \RequirePackage{ifpdf}
1961 \ifpdf
1962 \pdfmapfile{=drm.map}
1963 \fi
1964 \DeclareFontFamily{T1}{drm}{}
1965 \DeclareFontFamily{TS1}{drm}{}
1966 \DeclareFontFamily{LGR}{drm}{}
1967 \DeclareFontFamily{U}{drmsups}{}
1968 \DeclareFontFamily{U}{drminfs}{}
1969 \DeclareFontFamily{T1}{drmdoz}{}
1970 \DeclareFontShape{T1}{drmdoz}{m}{n}{ <-7> drmdoz6
1971 <7> drmdoz7 <8> drmdoz8 <9> drmdoz9 <10-12> drmdoz10
1972 <12-13> drmdoz12 <14-17> drmdoz14 <17-24> drmdoz17
1973 <24-> drmdoz24 }{}
1974 \DeclareFontShape{T1}{drmdoz}{m}{sl}{ <-7> drmdozsl6
1975 <7> drmdozsl7 <8> drmdozsl8 <9> drmdozsl9 <10-12> drmdozsl10
1976 <12-13> drmdozsl12 <14-17> drmdozsl14 <17-24> drmdozsl17
1977 <24-> drmdozsl24 }{}
1978 \DeclareFontShape{T1}{drmdoz}{m}{it}{ <-7> drmdozit6
1979 <7> drmdozit7 <8> drmdozit8 <9> drmdozit9 <10-12> drmdozit10
1980 <12-13> drmdozit12 <14-17> drmdozit14 <17-24> drmdozit17
1981 <24-> drmdozit24 }{}
1982 \DeclareFontShape{T1}{drmdoz}{l}{n}{ <-7> drmdozl6
1983 <7> drmdozl7 <8> drmdozl8 <9> drmdozl9 <10-12> drmdozl10
1984 <12-13> drmdozl12 <14-17> drmdozl14 <17-24> drmdozl17
1985 <24-> drmdozl24 }{}
1986 \DeclareFontShape{T1}{drmdoz}{b}{n}{ <-7> drmdozb6
1987 <7> drmdozb7 <8> drmdozb8 <9> drmdozb9 <10-12> drmdozb10
1988 <12-13> drmdozb12 <14-17> drmdozb14 <17-24> drmdozb17
1989 <24-> drmdozb24 }{}
1990 \DeclareFontShape{T1}{drmdoz}{bx}{n}{ <-7> drmdozbx6
1991 <7> drmdozbx7 <8> drmdozbx8 <9> drmdozbx9 <10-12> drmdozbx10
1992 <12-13> drmdozbx12 <14-17> drmdozbx14 <17-24> drmdozbx17
1993 <24-> drmdozbx24 }{}
1994 \DeclareFontShape{T1}{drmdoz}{bx}{it}{ <-7> drmdozitbx6
1995 <7> drmdozitbx7 <8> drmdozitbx8 <9> drmdozitbx9 <10-12> drmdozitbx10
1996 <12-13> drmdozitbx12 <14-17> drmdozitbx14 <17-24> drmdozitbx17
1997 <24-> drmdozitbx24 }{}
1998 \DeclareFontShape{T1}{drmdoz}{m}{ui}{ <-7> drmdozui6
1999 <7> drmdozui7 <8> drmdozui8 <9> drmdozui9 <10-12> drmdozui10
2000 <12-13> drmdozui12 <14-17> drmdozui14 <17-24> drmdozui17
2001 <24-> drmdozui24 }{}
2002 \DeclareFontShape{T1}{drmdoz}{bx}{ui}{ <-7> drmdozuibx6
2003 <7> drmdozuibx7 <8> drmdozuibx8 <9> drmdozuibx9 <10-12> drmdozuibx10
2004 <12-13> drmdozuibx12 <14-17> drmdozuibx14 <17-24> drmdozuibx17
2005 <24-> drmdozuibx24 }{}
2006 \DeclareFontShape{T1}{drmdoz}{m}{sc}{ <-7> drmdozsc6
2007 <7> drmdozsc7 <8> drmdozsc8 <9> drmdozsc9 <10-12> drmdozsc10
2008 <12-13> drmdozsc12 <14-17> drmdozsc14 <17-24> drmdozsc17
2009 <24-> drmdozsc24 }{}
2010 \DeclareFontShape{T1}{drmdoz}{m}{tc}{ <-7> drmdoztc6
2011 <7> drmdoztc7 <8> drmdoztc8 <9> drmdoztc9 <10-12> drmdoztc10
2012 <12-13> drmdoztc12 <14-17> drmdoztc14 <17-24> drmdoztc17
2013 <24-> drmdoztc24 }{}
2014 \DeclareFontShape{T1}{drmdoz}{bx}{sc}{ <-7> drmdozscbx6
2015 <7> drmdozscbx7 <8> drmdozscbx8 <9> drmdozscbx9 <10-12> drmdozscbx10
2016 <12-13> drmdozscbx12 <14-17> drmdozscbx14 <17-24> drmdozscbx17
2017 <24-> drmdozscbx24 }{}
2018 \DeclareFontShape{T1}{drmdoz}{bx}{tc}{ <-7> drmdoztcbx6
2019 <7> drmdoztcbx7 <8> drmdoztcbx8 <9> drmdoztcbx9 <10-12> drmdoztcbx10
2020 <12-13> drmdoztcbx12 <14-17> drmdoztcbx14 <17-24> drmdoztcbx17
2021 <24-> drmdoztcbx24 }{}
2022 \DeclareFontShape{T1}{drmdoz}{m}{itsc}{<-7> drmdozitsc6 <7>
2023 drmdozitsc7 <8> drmdozitsc8 <9> drmdozitsc9 <10-12>
2024 drmdozitsc10 <12-14> drmdozitsc12 <14-17> drmdozitsc14
2025 <17-24> drmdozitsc17 <24-> drmdozitsc24 }{}
2026 \DeclareFontShape{T1}{drmdoz}{m}{ittc}{<-7> drmdozittc6 <7>
2027 drmdozittc7 <8> drmdozittc8 <9> drmdozittc9 <10-12>
2028 drmdozittc10 <12-14> drmdozittc12 <14-17> drmdozittc14
2029 <17-24> drmdozittc17 <24-> drmdozittc24 }{}
2030 \DeclareFontShape{U}{drminfs}{m}{n}{ <-7> drminf6
2031 <7> drminf7 <8> drminf8 <9> drminf9 <10-12> drminf10
2032 <12-13> drminf12 <14-17> drminf14 <17-24> drminf17
2033 <24-> drminf24 }{}
2034 \DeclareFontShape{U}{drmsups}{m}{n}{ <-7> drmfigs6
2035 <7> drmfigs7 <8> drmfigs8 <9> drmfigs9 <10-12> drmfigs10
2036 <12-13> drmfigs12 <14-17> drmfigs14 <17-24> drmfigs17
2037 <24-> drmfigs24 }{}
2038 \DeclareFontShape{T1}{drm}{m}{n}{ <-7> drm6 <7> drm7 <8> drm8
2039 <9> drm9 <10-12> drm10 <12-13> drm12 <14-17> drm14
2040 <17-24> drm17 <24-> drm24 }{}
2041 \DeclareFontShape{T1}{drm}{m}{sc}{<-7> drmsc6 <7> drmsc7
2042 <8> drmsc8 <9> drmsc9 <10-12> drmsc10 <12-14> drmsc12
2043 <14-17> drmsc14 <17-24> drmsc17 <24-> drmsc24 }{}
2044 \DeclareFontShape{T1}{drm}{m}{tc}{<-7> drmtc6 <7> drmtc7
2045 <8> drmtc8 <9> drmtc9 <10-12> drmtc10 <12-14> drmtc12
2046 <14-17> drmtc14 <17-24> drmtc17 <24-> drmtc24 }{}
2047 \DeclareFontShape{T1}{drm}{bx}{sc}{<-7> drmscbx6 <7> drmscbx7
2048 <8> drmscbx8 <9> drmscbx9 <10-12> drmscbx10 <12-14> drmscbx12
2049 <14-17> drmscbx14 <17-24> drmscbx17 <24-> drmscbx24 }{}
2050 \DeclareFontShape{T1}{drm}{bx}{tc}{<-7> drmtcbx6 <7> drmtcbx7
2051 <8> drmtcbx8 <9> drmtcbx9 <10-12> drmtcbx10 <12-14> drmtcbx12
2052 <14-17> drmtcbx14 <17-24> drmtcbx17 <24-> drmtcbx24 }{}
2053 \DeclareFontShape{T1}{drm}{m}{itsc}{<-7> drmitsc6 <7> drmitsc7
2054 <8> drmitsc8 <9> drmitsc9 <10-12> drmitsc10 <12-14> drmitsc12
2055 <14-17> drmitsc14 <17-24> drmitsc17 <24-> drmitsc24 }{}
2056 \DeclareFontShape{T1}{drm}{m}{ittc}{<-7> drmittc6 <7> drmittc7
2057 <8> drmittc8 <9> drmittc9 <10-12> drmittc10 <12-14> drmittc12
2058 <14-17> drmittc14 <17-24> drmittc17 <24-> drmittc24 }{}
2059 \DeclareFontShape{T1}{drm}{m}{sl}{<-7> drmsl6 <7> drmsl7
2060 <8> drmsl8 <9> drmsl9 <10-12> drmsl10 <12-14> drmsl12
2061 <14-17> drmsl14 <17-24> drmsl17 <24-> drmsl24 }{}
2062 \DeclareFontShape{T1}{drm}{m}{it}{ <-7> drmit6 <7> drmit7
2063 <8> drmit8 <9> drmit9 <10-12> drmit10 <12-14> drmit12
2064 <14-17> drmit14 <17-24> drmit17 <24-> drmit24 }{}
2065 \DeclareFontShape{T1}{drm}{bx}{it}{ <-7> drmitbx6 <7> drmitbx7
2066 <8> drmitbx8 <9> drmitbx9 <10-12> drmitbx10 <12-14> drmitbx12
2067 <14-17> drmitbx14 <17-24> drmitbx17 <24-> drmitbx24 }{}
2068 \DeclareFontShape{T1}{drm}{m}{ui}{<-7> drmui6 <7> drmui7
2069 <8> drmui8 <9> drmui9 <10-12> drmui10 <12-14> drmui12
2070 <14-17> drmui14 <17-24> drmui17 <24-> drmui24 }{}
2071 \DeclareFontShape{T1}{drm}{bx}{ui}{<-7> drmuibx6 <7> drmuibx7
2072 <8> drmuibx8 <9> drmuibx9 <10-12> drmuibx10 <12-14> drmuibx12
2073 <14-17> drmuibx14 <17-24> drmuibx17 <24-> drmuibx24 }{}
2074 \DeclareFontShape{T1}{drm}{l}{n}{<-7> drml6 <7> drml7
2075 <8> drml8 <9> drml9 <10-12> drml10 <12-14> drml12
2076 <14-17> drml14 <17-24> drml17 <24-> drml24 }{}
2077 \DeclareFontShape{T1}{drm}{b}{n}{<-7> drmb6 <7> drmb7
2078 <8> drmb8 <9> drmb9 <10-12> drmb10 <12-14> drmb12
2079 <14-17> drmb14 <17-24> drmb17 <24-> drmb24 }{}
2080 \DeclareFontShape{T1}{drm}{bx}{n}{<-7> drmbx6 <7> drmbx7
2081 <8> drmbx8 <9> drmbx9 <10-12> drmbx10 <12-14> drmbx12
2082 <14-17> drmbx14 <17-24> drmbx17 <24-> drmbx24 }{}
2083 \DeclareFontShape{TS1}{drm}{m}{n}{<-7> drmsym7
2084 <8> drmsym8 <9> drmsym9 <10-12> drmsym10 <12-14> drmsym12
2085 <14-17> drmsym14 <17-24> drmsym17 <24-> drmsym24 }{}
2086 \DeclareFontShape{LGR}{drm}{m}{n}{<-> drmgrk10 }{}
2087 \DeclareSymbolFont{dozens}{T1}{drmdoz}{m}{n}
2088 \else
2089 \DeclareFontFamily{T1}{drm}{}
2090 \DeclareFontFamily{TS1}{drm}{}
2091 \DeclareFontFamily{LGR}{drm}{}
2092 \DeclareFontFamily{U}{drmsups}{}
2093 \DeclareFontFamily{U}{drminfs}{}
2094 \DeclareFontFamily{T1}{drmdoz}{}
2095 \DeclareFontShape{T1}{drmdoz}{m}{n}{ <-7> drmdoz6
2096 <7> drmdoz7 <8> drmdoz8 <9> drmdoz9 <10-12> drmdoz10
2097 <12-13> drmdoz12 <14-17> drmdoz14 <17-24> drmdoz17
2098 <24-> drmdoz24 }{}
2099 \DeclareFontShape{T1}{drmdoz}{m}{sl}{ <-7> drmdozsl6
2100 <7> drmdozsl7 <8> drmdozsl8 <9> drmdozsl9 <10-12> drmdozsl10
2101 <12-13> drmdozsl12 <14-17> drmdozsl14 <17-24> drmdozsl17
2102 <24-> drmdozsl24 }{}
2103 \DeclareFontShape{T1}{drmdoz}{m}{it}{ <-7> drmdozit6
2104 <7> drmdozit7 <8> drmdozit8 <9> drmdozit9 <10-12> drmdozit10
2105 <12-13> drmdozit12 <14-17> drmdozit14 <17-24> drmdozit17
2106 <24-> drmdozit24 }{}
2107 \DeclareFontShape{T1}{drmdoz}{l}{n}{ <-7> drmdozl6
2108 <7> drmdozl7 <8> drmdozl8 <9> drmdozl9 <10-12> drmdozl10
2109 <12-13> drmdozl12 <14-17> drmdozl14 <17-24> drmdozl17
2110 <24-> drmdozl24 }{}
2111 \DeclareFontShape{T1}{drmdoz}{b}{n}{ <-7> drmdozb6
2112 <7> drmdozb7 <8> drmdozb8 <9> drmdozb9 <10-12> drmdozb10
2113 <12-13> drmdozb12 <14-17> drmdozb14 <17-24> drmdozb17
2114 <24-> drmdozb24 }{}
2115 \DeclareFontShape{T1}{drmdoz}{bx}{n}{ <-7> drmdozbx6
2116 <7> drmdozbx7 <8> drmdozbx8 <9> drmdozbx9 <10-12> drmdozbx10
2117 <12-13> drmdozbx12 <14-17> drmdozbx14 <17-24> drmdozbx17
2118 <24-> drmdozbx24 }{}
2119 \DeclareFontShape{T1}{drmdoz}{bx}{it}{ <-7> drmdozitbx6
2120 <7> drmdozitbx7 <8> drmdozitbx8 <9> drmdozitbx9 <10-12> drmdozitbx10
2121 <12-13> drmdozitbx12 <14-17> drmdozitbx14 <17-24> drmdozitbx17
2122 <24-> drmdozitbx24 }{}
2123 \DeclareFontShape{T1}{drmdoz}{m}{ui}{ <-7> drmdozui6
2124 <7> drmdozui7 <8> drmdozui8 <9> drmdozui9 <10-12> drmdozui10
2125 <12-13> drmdozui12 <14-17> drmdozui14 <17-24> drmdozui17
2126 <24-> drmdozui24 }{}
2127 \DeclareFontShape{T1}{drmdoz}{bx}{ui}{ <-7> drmdozuibx6
2128 <7> drmdozuibx7 <8> drmdozuibx8 <9> drmdozuibx9 <10-12> drmdozuibx10
2129 <12-13> drmdozuibx12 <14-17> drmdozuibx14 <17-24> drmdozuibx17
2130 <24-> drmdozuibx24 }{}
2131 \DeclareFontShape{T1}{drmdoz}{m}{sc}{ <-7> drmdozsc6
2132 <7> drmdozsc7 <8> drmdozsc8 <9> drmdozsc9 <10-12> drmdozsc10
2133 <12-13> drmdozsc12 <14-17> drmdozsc14 <17-24> drmdozsc17
2134 <24-> drmdozsc24 }{}
2135 \DeclareFontShape{T1}{drmdoz}{m}{tc}{ <-7> drmdoztc6
2136 <7> drmdoztc7 <8> drmdoztc8 <9> drmdoztc9 <10-12> drmdoztc10
2137 <12-13> drmdoztc12 <14-17> drmdoztc14 <17-24> drmdoztc17
2138 <24-> drmdoztc24 }{}
2139 \DeclareFontShape{T1}{drmdoz}{bx}{sc}{ <-7> drmdozscbx6
2140 <7> drmdozscbx7 <8> drmdozscbx8 <9> drmdozscbx9 <10-12> drmdozscbx10
2141 <12-13> drmdozscbx12 <14-17> drmdozscbx14 <17-24> drmdozscbx17
2142 <24-> drmdozscbx24 }{}
2143 \DeclareFontShape{T1}{drmdoz}{bx}{tc}{ <-7> drmdoztcbx6
2144 <7> drmdoztcbx7 <8> drmdoztcbx8 <9> drmdoztcbx9 <10-12> drmdoztcbx10
2145 <12-13> drmdoztcbx12 <14-17> drmdoztcbx14 <17-24> drmdoztcbx17
2146 <24-> drmdoztcbx24 }{}
2147 \DeclareFontShape{T1}{drmdoz}{m}{itsc}{<-7> drmdozitsc6 <7>
2148 drmdozitsc7 <8> drmdozitsc8 <9> drmdozitsc9 <10-12>
2149 drmdozitsc10 <12-14> drmdozitsc12 <14-17> drmdozitsc14
2150 <17-24> drmdozitsc17 <24-> drmdozitsc24 }{}
2151 \DeclareFontShape{T1}{drmdoz}{m}{ittc}{<-7> drmdozittc6 <7>
2152 drmdozittc7 <8> drmdozittc8 <9> drmdozittc9 <10-12>
2153 drmdozittc10 <12-14> drmdozittc12 <14-17> drmdozittc14
2154 <17-24> drmdozittc17 <24-> drmdozittc24 }{}
2155 \DeclareFontShape{U}{drminfs}{m}{n}{ <-7> drminf6
2156 <7> drminf7 <8> drminf8 <9> drminf9 <10-12> drminf10
2157 <12-13> drminf12 <14-17> drminf14 <17-24> drminf17
2158 <24-> drminf24 }{}
2159 \DeclareFontShape{U}{drmsups}{m}{n}{ <-7> drmfigs6
2160 <7> drmfigs7 <8> drmfigs8 <9> drmfigs9 <10-12> drmfigs10
2161 <12-13> drmfigs12 <14-17> drmfigs14 <17-24> drmfigs17
2162 <24-> drmfigs24 }{}
2163 \DeclareFontShape{T1}{drm}{m}{n}{ <-7> drm6 <7> drm7 <8> drm8
2164 <9> drm9 <10-12> drm10 <12-13> drm12 <14-17> drm14
2165 <17-24> drm17 <24-> drm24 }{}
2166 \DeclareFontShape{T1}{drm}{m}{sc}{<-7> drmsc6 <7> drmsc7
2167 <8> drmsc8 <9> drmsc9 <10-12> drmsc10 <12-14> drmsc12
2168 <14-17> drmsc14 <17-24> drmsc17 <24-> drmsc24 }{}
2169 \DeclareFontShape{T1}{drm}{m}{tc}{<-7> drmtc6 <7> drmtc7
2170 <8> drmtc8 <9> drmtc9 <10-12> drmtc10 <12-14> drmtc12
2171 <14-17> drmtc14 <17-24> drmtc17 <24-> drmtc24 }{}
2172 \DeclareFontShape{T1}{drm}{bx}{sc}{<-7> drmscbx6 <7> drmscbx7
2173 <8> drmscbx8 <9> drmscbx9 <10-12> drmscbx10 <12-14> drmscbx12
2174 <14-17> drmscbx14 <17-24> drmscbx17 <24-> drmscbx24 }{}
2175 \DeclareFontShape{T1}{drm}{bx}{tc}{<-7> drmtcbx6 <7> drmtcbx7
2176 <8> drmtcbx8 <9> drmtcbx9 <10-12> drmtcbx10 <12-14> drmtcbx12
2177 <14-17> drmtcbx14 <17-24> drmtcbx17 <24-> drmtcbx24 }{}
2178 \DeclareFontShape{T1}{drm}{m}{itsc}{<-7> drmitsc6 <7> drmitsc7
2179 <8> drmitsc8 <9> drmitsc9 <10-12> drmitsc10 <12-14> drmitsc12
2180 <14-17> drmitsc14 <17-24> drmitsc17 <24-> drmitsc24 }{}
2181 \DeclareFontShape{T1}{drm}{m}{ittc}{<-7> drmittc6 <7> drmittc7
2182 <8> drmittc8 <9> drmittc9 <10-12> drmittc10 <12-14> drmittc12
2183 <14-17> drmittc14 <17-24> drmittc17 <24-> drmittc24 }{}
2184 \DeclareFontShape{T1}{drm}{m}{sl}{<-7> drmsl6 <7> drmsl7
2185 <8> drmsl8 <9> drmsl9 <10-12> drmsl10 <12-14> drmsl12
2186 <14-17> drmsl14 <17-24> drmsl17 <24-> drmsl24 }{}
2187 \DeclareFontShape{T1}{drm}{m}{it}{ <-7> drmit6 <7> drmit7
2188 <8> drmit8 <9> drmit9 <10-12> drmit10 <12-14> drmit12
2189 <14-17> drmit14 <17-24> drmit17 <24-> drmit24 }{}
2190 \DeclareFontShape{T1}{drm}{bx}{it}{ <-7> drmitbx6 <7> drmitbx7
2191 <8> drmitbx8 <9> drmitbx9 <10-12> drmitbx10 <12-14> drmitbx12
2192 <14-17> drmitbx14 <17-24> drmitbx17 <24-> drmitbx24 }{}
2193 \DeclareFontShape{T1}{drm}{m}{ui}{<-7> drmui6 <7> drmui7
2194 <8> drmui8 <9> drmui9 <10-12> drmui10 <12-14> drmui12
2195 <14-17> drmui14 <17-24> drmui17 <24-> drmui24 }{}
2196 \DeclareFontShape{T1}{drm}{bx}{ui}{<-7> drmuibx6 <7> drmuibx7
2197 <8> drmuibx8 <9> drmuibx9 <10-12> drmuibx10 <12-14> drmuibx12
2198 <14-17> drmuibx14 <17-24> drmuibx17 <24-> drmuibx24 }{}
2199 \DeclareFontShape{T1}{drm}{l}{n}{<-7> drml6 <7> drml7
2200 <8> drml8 <9> drml9 <10-12> drml10 <12-14> drml12
2201 <14-17> drml14 <17-24> drml17 <24-> drml24 }{}
2202 \DeclareFontShape{T1}{drm}{b}{n}{<-7> drmb6 <7> drmb7
2203 <8> drmb8 <9> drmb9 <10-12> drmb10 <12-14> drmb12
2204 <14-17> drmb14 <17-24> drmb17 <24-> drmb24 }{}
2205 \DeclareFontShape{T1}{drm}{bx}{n}{<-7> drmbx6 <7> drmbx7
2206 <8> drmbx8 <9> drmbx9 <10-12> drmbx10 <12-14> drmbx12
2207 <14-17> drmbx14 <17-24> drmbx17 <24-> drmbx24 }{}
2208 \DeclareFontShape{TS1}{drm}{m}{n}{<-7> drmsym7
2209 <8> drmsym8 <9> drmsym9 <10-12> drmsym10 <12-14> drmsym12
2210 <14-17> drmsym14 <17-24> drmsym17 <24-> drmsym24 }{}
2211 \DeclareFontShape{LGR}{drm}{m}{n}{<-> drmgrk10 }{}
2212 \DeclareSymbolFont{dozens}{T1}{drmdoz}{m}{n}
2213 \fi
2214 % \end{macrocode}
2215 % Next, we define the appropriate dozenal characters using
2216 % the DRM dozenal fonts if and only if the |dozenal| package
2217 % is loaded. If you want to override this behavior and use
2218 % the default, Computer Modern-ish |dozenal| fonts, load
2219 % |dozenal| \emph{after} |drm|.
2220 % \begin{macrocode}
2221 \@ifpackageloaded{dozenal}{%
2222 \def\doz#1{{\fontfamily{drmdoz}\fontencoding{T1}\selectfont #1}}%
2223 \def\drmsupfont{drmsups}\def\drminffont{drminfs}%
2224 \renewcommand\x{%
2225 \ifx\f@family\drmsupfont X%
2226 \else\ifx\f@family\drminffont X%
2227 \else\TextOrMath{\protect\doz{{X}}}{\doz@X}\fi\fi}%
2228 \renewcommand\e{%
2229 \ifx\f@family\drmsupfont E%
2230 \else\ifx\f@family\drminffont E%
2231 \else\TextOrMath{\protect\doz{{E}}}{\doz@E}\fi\fi}%
2232 \DeclareMathSymbol{\doz@X}{\mathord}{dozens}{88}%
2233 \DeclareMathSymbol{\doz@E}{\mathord}{dozens}{69}%
2234 }{}
2235 % \end{macrocode}
2236 % Now, set the default text font as DRM unless |nodefault|
2237 % or |nodefaulttext| has been specified. Also redefine the
2238 % default footnote counters to use superior figures rather
2239 % than automatically scaled figures.
2240 % \begin{macrocode}
2241 \ifnodefault\else\ifnodefaulttext\else
2242 \renewcommand\encodingdefault{T1}
2243 \renewcommand\familydefault{drm}
2244 \def\f@@n@te{footnote}
2245 \def\@makefnmark{%
2246 \hbox{\drmsupfigs\@thefnmark}
2247 }%
2248 \fi\fi
2249 % \end{macrocode}
2250 % Give ourselves a shortcut to access the short-tailed
2251 % letter ``q,'' just in case we need it.
2252 % \begin{macrocode}
2253 \def\drmshortq{{\usefont{T1}{drm}{m}{n}\char'137}}
2254 % \end{macrocode}
2255 % That gives us the satisfying ``\drmshortq'' rather than
2256 % the ``Q'' we would otherwise get. Useful for circumstance
2257 % when the ``Q'' is followed by characters which hang
2258 % below the baseline, or in a dropped initial.
2259 %
2260 % Now we move on to define commands for the more unusual
2261 % shapes, since \LaTeXe\ doesn't have them built in. We
2262 % start with \texttc{titling small caps}, then move on to
2263 % \textui{upright italics}. We also define |\textgrk| and
2264 % |\grktext|, for typesetting in Greek characters. Finally,
2265 % we also define the commands to produce the superior and
2266 % inferior figures.
2267 % \begin{macrocode}
2268 \def\tcshape{\fontshape{tc}\selectfont}
2269 \def\texttc#1{{\tcshape#1}}
2270 \def\ittcshape{\fontshape{ittc}\selectfont}
2271 \def\textittc#1{{\ittcshape#1}}
2272 \def\itscshape{\fontshape{itsc}\selectfont}
2273 \def\textitsc#1{{\itscshape#1}}
2274 \def\uishape{\fontshape{ui}\selectfont}
2275 \def\textui#1{{\uishape#1}}
2276 \def\grktext{\fontencoding{LGR}\selectfont}
2277 \def\textgrk#1{{\grktext#1}}
2278 \def\drmsupfigs{\usefont{U}{drmsups}{m}{n}}
2279 \def\textdrmsupfigs#1{{\drmsupfigs#1}}
2280 \def\drminffigs{\usefont{U}{drminfs}{m}{n}}
2281 \def\textdrminffigs#1{{\drminffigs#1}}
2282 % \end{macrocode}
2283 % Next, we define the weights. We know that |\textbf| will
2284 % give us normal boldface, and that |\textmd| will return us
2285 % to medium weight; but since DRM also has a light weight
2286 % and a bold non-extended, we need to define commands for
2287 % those, as well.
2288 % \begin{macrocode}
2289 \def\lseries{\fontseries{l}\selectfont}
2290 \def\textl#1{{\lseries#1}}
2291 \def\bseries{\fontseries{b}\selectfont}
2292 \def\textb#1{{\bseries#1}}
2293 % \end{macrocode}
2294 % Moving on, we define size commands based on
2295 % traditional English-language printers' names. Why?
2296 % \emph{Because we can}, that's why.
2297 % \begin{macrocode}
2298 \def\loosen{\addtolength{\baselineskip}{1pt}}
2299 \def\excelsior{\fontsize{3pt}{3.5pt}\selectfont}
2300 \def\minikin{\excelsior}
2301 \def\brilliant{\fontsize{4pt}{4.5pt}\selectfont}
2302 \def\diamondsize{\fontsize{4.5pt}{5pt}\selectfont}
2303 \def\pearl{\fontsize{5pt}{6pt}\selectfont}
2304 \def\agate{\fontsize{5.5pt}{6.5pt}\selectfont}
2305 \def\ruby{\agate}
2306 \def\nonpareille{\fontsize{6pt}{7pt}\selectfont}
2307 \def\minionette{\fontsize{6.5pt}{7.5pt}\selectfont}
2308 \def\emerald{\minionette}
2309 \def\minion{\fontsize{7pt}{8pt}\selectfont}
2310 \def\brevier{\fontsize{8pt}{9pt}\selectfont}
2311 \def\petit{\brevier}
2312 \def\smalltext{\brevier}
2313 \def\bourgeois{\fontsize{9pt}{10pt}\selectfont}
2314 \def\galliard{\bourgeois}
2315 \def\longprimer{\fontsize{10pt}{12pt}\selectfont}
2316 \def\corpus{\longprimer}
2317 \def\garamond{\longprimer}
2318 \def\smallpica{\fontsize{11pt}{13pt}\selectfont}
2319 \def\philosophy{\smallpica}
2320 \def\pica{\fontsize{12pt}{15pt}\selectfont}
2321 \def\english{\fontsize{14pt}{17pt}\selectfont}
2322 \def\mittel{\english}
2323 \def\augustin{\english}
2324 \def\columbian{\fontsize{16pt}{19pt}\selectfont}
2325 \def\twolinebrevier{\columbian}
2326 \def\greatprimer{\fontsize{18pt}{22pt}\selectfont}
2327 \def\paragon{\fontsize{20pt}{24pt}\selectfont}
2328 \def\doublesmallpica{\fontsize{21pt}{25pt}\selectfont}
2329 \def\doublesmallpicaus{\fontsize{22pt}{26pt}\selectfont}
2330 \def\doublepicabrit{\doublesmallpicaus}
2331 \def\doublepica{\fontsize{24pt}{28pt}\selectfont}
2332 \def\twolinepica{\doublepica}
2333 \def\doubleenglish{\fontsize{28pt}{33pt}\selectfont}
2334 \def\twolineenglish{\doubleenglish}
2335 \def\fivelinenonpareil{\fontsize{30pt}{35pt}\selectfont}
2336 \def\fourlinebrevier{\fontsize{32pt}{38pt}\selectfont}
2337 \def\doublegreatprimer{\fontsize{36pt}{42pt}\selectfont}
2338 \def\twolinegreatprimer{\doublegreatprimer}
2339 \def\meridian{\fontsize{44pt}{50pt}\selectfont}
2340 \def\twolinedoublepica{\meridian}
2341 \def\trafalgar{\meridian}
2342 \def\canon{\fontsize{48pt}{54pt}\selectfont}
2343 \def\fourline{\canon}
2344 \def\fivelinepica{\fontsize{60pt}{66pt}\selectfont}
2345 \def\inch{\fontsize{72pt}{78pt}\selectfont}
2346 % \end{macrocode}
2347 % Now we move on to define the math fonts. This turned out
2348 % to be a surprisingly convoluted process, and I only
2349 % marginally understand what's going on here; but it works,
2350 % and I'll try to go through it as best as I can.
2351 %
2352 % First, we make \LaTeX\ aware of our math fonts:
2353 % \begin{macrocode}
2354 \DeclareFontFamily{OML}{drm}{}
2355 \DeclareFontShape{OML}{drm}{m}{n}{ <-> drmmi10 }{}
2356 \DeclareFontFamily{OMS}{drm}{}
2357 \DeclareFontShape{OMS}{drm}{m}{n}{ <-> drmsy10 }{}
2358 \DeclareFontFamily{OMX}{drm}{}
2359 \DeclareFontShape{OMX}{drm}{m}{n}{ <-> drmomx10 }{}
2360 % \end{macrocode}
2361 % Next, we declare something called a math \emph{version};
2362 % this way we can define new math shapes without clobbering
2363 % the default settings. I'm not sure why this is really
2364 % necessary, but it appears to be; so we define a math
2365 % version |drmmath|:
2366 % \begin{macrocode}
2367 \DeclareMathVersion{drmmath}
2368 % \end{macrocode}
2369 % Now we define our symbol fonts. This lets \LaTeX\ know
2370 % where to yank its symbols from when typesetting a math
2371 % formula.
2372 % \begin{macrocode}
2373 \ifnodefault\else\ifnodefaultmath\else
2374 \SetSymbolFont{operators}{drmmath}{T1}{drm}{m}{n}
2375 \SetSymbolFont{letters}{drmmath}{OML}{drm}{m}{n}
2376 \DeclareSymbolFont{symbs}{TS1}{drm}{m}{n}
2377 \SetSymbolFont{symbs}{drmmath}{TS1}{drm}{m}{n}
2378 \DeclareSymbolFont{drmmathsy}{OMS}{drm}{m}{n}
2379 \SetSymbolFont{drmmathsy}{drmmath}{OMS}{drm}{m}{n}
2380 \DeclareSymbolFont{drmmathomx}{OMX}{drm}{m}{n}
2381 \SetSymbolFont{drmmathomx}{drmmath}{OMX}{drm}{m}{n}
2382 \fi\fi
2383 % \end{macrocode}
2384 % Now we write in our \emph{math alphabets}, so that when we
2385 % request |\mathcal| or something similar we'll get DRM and
2386 % not Computer Modern. We define |\mathcal|, of course, and
2387 % also |\drmmathlets|, just in case we want to request DRM
2388 % directly.
2389 % \begin{macrocode}
2390 \ifnodefault\else\ifnodefaultmath\else
2391 \DeclareMathAlphabet{\drmmathlets}{OML}{drm}{m}{n}
2392 \SetMathAlphabet{\drmmathlets}{drmmath}{OML}{drm}{m}{n}
2393 \DeclareMathAlphabet{\mathcal}{OMS}{drm}{m}{n}
2394 \SetMathAlphabet{\mathcal}{drmmath}{OMS}{drm}{m}{n}
2395 \fi\fi
2396 % \end{macrocode}
2397 % Now ensure that we get lining figures in math mode.
2398 % \begin{macrocode}
2399 \ifnodefault\else\ifnodefaultmath\else
2400 \DeclareMathSymbol{0}{0}{symbs}{48}
2401 \DeclareMathSymbol{1}{0}{symbs}{49}
2402 \DeclareMathSymbol{2}{0}{symbs}{50}
2403 \DeclareMathSymbol{3}{0}{symbs}{51}
2404 \DeclareMathSymbol{4}{0}{symbs}{52}
2405 \DeclareMathSymbol{5}{0}{symbs}{53}
2406 \DeclareMathSymbol{6}{0}{symbs}{54}
2407 \DeclareMathSymbol{7}{0}{symbs}{55}
2408 \DeclareMathSymbol{8}{0}{symbs}{56}
2409 \DeclareMathSymbol{9}{0}{symbs}{57}
2410 \fi\fi
2411 % \end{macrocode}
2412 % Now, it appears to be necessary to redefine all the math
2413 % symbols, so we do that. Beginning with the Greek letters:
2414 % \begin{macrocode}
2415 \ifnodefault\else\ifnodefaultmath\else
2416 \DeclareMathSymbol{\Gamma}{0}{letters}{0}
2417 \DeclareMathSymbol{\Delta}{0}{letters}{1}
2418 \DeclareMathSymbol{\Theta}{0}{letters}{2}
2419 \DeclareMathSymbol{\Lambda}{0}{letters}{3}
2420 \DeclareMathSymbol{\Xi}{0}{letters}{4}
2421 \DeclareMathSymbol{\Pi}{0}{letters}{5}
2422 \DeclareMathSymbol{\Sigma}{0}{letters}{6}
2423 \DeclareMathSymbol{\Upsilon}{0}{letters}{7}
2424 \DeclareMathSymbol{\Phi}{0}{letters}{8}
2425 \DeclareMathSymbol{\Psi}{0}{letters}{9}
2426 \DeclareMathSymbol{\Omega}{0}{letters}{10}
2427 \DeclareMathSymbol{\alpha}{0}{letters}{11}
2428 \DeclareMathSymbol{\beta}{0}{letters}{12}
2429 \DeclareMathSymbol{\gamma}{0}{letters}{13}
2430 \DeclareMathSymbol{\delta}{0}{letters}{14}
2431 \DeclareMathSymbol{\epsilon}{0}{letters}{15}
2432 \DeclareMathSymbol{\zeta}{0}{letters}{16}
2433 \DeclareMathSymbol{\eta}{0}{letters}{17}
2434 \DeclareMathSymbol{\theta}{0}{letters}{18}
2435 \DeclareMathSymbol{\iota}{0}{letters}{19}
2436 \DeclareMathSymbol{\kappa}{0}{letters}{20}
2437 \DeclareMathSymbol{\lambda}{0}{letters}{21}
2438 \DeclareMathSymbol{\mu}{0}{letters}{22}
2439 \DeclareMathSymbol{\nu}{0}{letters}{23}
2440 \DeclareMathSymbol{\xi}{0}{letters}{24}
2441 \DeclareMathSymbol{\pi}{0}{letters}{25}
2442 \DeclareMathSymbol{\rho}{0}{letters}{26}
2443 \DeclareMathSymbol{\sigma}{0}{letters}{27}
2444 \DeclareMathSymbol{\tau}{0}{letters}{28}
2445 \DeclareMathSymbol{\upsilon}{0}{letters}{29}
2446 \DeclareMathSymbol{\phi}{0}{letters}{30}
2447 \DeclareMathSymbol{\chi}{0}{letters}{31}
2448 \DeclareMathSymbol{\psi}{0}{letters}{32}
2449 \DeclareMathSymbol{\omega}{0}{letters}{33}
2450 \DeclareMathSymbol{\varepsilon}{0}{letters}{34}
2451 \DeclareMathSymbol{\vartheta}{0}{letters}{35}
2452 \DeclareMathSymbol{\varpi}{0}{letters}{36}
2453 \DeclareMathSymbol{\varrho}{0}{letters}{37}
2454 \DeclareMathSymbol{\varsigma}{0}{letters}{38}
2455 \DeclareMathSymbol{\varphi}{0}{letters}{39}
2456 \fi\fi
2457 % \end{macrocode}
2458 % Now let's define some of the other symbols in the OML
2459 % encoding.
2460 % \begin{macrocode}
2461 \ifnodefault\else\ifnodefaultmath\else
2462 \DeclareMathSymbol{\leftharpoonup}{0}{letters}{40}
2463 \DeclareMathSymbol{\leftharpoondown}{0}{letters}{41}
2464 \DeclareMathSymbol{\rightharpoonup}{0}{letters}{42}
2465 \DeclareMathSymbol{\rightharpoondown}{0}{letters}{43}
2466 \DeclareMathSymbol{\triangleright}{0}{letters}{46}
2467 \DeclareMathSymbol{\triangleleft}{0}{letters}{47}
2468 \DeclareMathSymbol{\flat}{0}{letters}{91}
2469 \DeclareMathSymbol{\natural}{0}{letters}{92}
2470 \DeclareMathSymbol{\sharp}{0}{letters}{93}
2471 \DeclareMathSymbol{\smile}{0}{letters}{94}
2472 \DeclareMathSymbol{\frown}{0}{letters}{95}
2473 \DeclareMathSymbol{\ell}{0}{letters}{96}
2474 \DeclareMathSymbol{\imath}{0}{letters}{123}
2475 \DeclareMathSymbol{\jmath}{0}{letters}{124}
2476 \DeclareMathSymbol{\wp}{0}{letters}{125}
2477 \fi\fi
2478 % \end{macrocode}
2479 % Now we go on to define the symbols from the OMS-encoded
2480 % fonts.
2481 % \begin{macrocode}
2482 \ifnodefault\else\ifnodefaultmath\else
2483 \DeclareMathSymbol{-}{2}{drmmathsy}{'000}
2484 \DeclareMathSymbol{\cdot}{2}{drmmathsy}{'001}
2485 \DeclareMathSymbol{\times}{2}{drmmathsy}{'002}
2486 \DeclareMathSymbol{\ast}{2}{drmmathsy}{'003}
2487 \DeclareMathSymbol{\div}{2}{drmmathsy}{'004}
2488 \DeclareMathSymbol{\diamond}{2}{drmmathsy}{'005}
2489 \DeclareMathSymbol{\pm}{2}{drmmathsy}{'006}
2490 \DeclareMathSymbol{\mp}{2}{drmmathsy}{'007}
2491 \DeclareMathSymbol{\oplus}{2}{drmmathsy}{'010}
2492 \DeclareMathSymbol{\ominus}{2}{drmmathsy}{'011}
2493 \DeclareMathSymbol{\otimes}{2}{drmmathsy}{'012}
2494 \DeclareMathSymbol{\oslash}{2}{drmmathsy}{'013}
2495 \DeclareMathSymbol{\odot}{2}{drmmathsy}{'014}
2496 \DeclareMathSymbol{\bigcirc}{2}{drmmathsy}{'015}
2497 \DeclareMathSymbol{\circ}{2}{drmmathsy}{'016}
2498 \DeclareMathSymbol{\bullet}{2}{drmmathsy}{'017}
2499 \DeclareMathSymbol{\asymp}{3}{drmmathsy}{'020}
2500 \DeclareMathSymbol{\equiv}{3}{drmmathsy}{'021}
2501 \DeclareMathSymbol{\subseteq}{3}{drmmathsy}{'022}
2502 \DeclareMathSymbol{\supseteq}{3}{drmmathsy}{'023}
2503 \DeclareMathSymbol{\leq}{3}{drmmathsy}{'024}
2504 \DeclareMathSymbol{\geq}{3}{drmmathsy}{'025}
2505 \DeclareMathSymbol{\preceq}{3}{drmmathsy}{'026}
2506 \DeclareMathSymbol{\succeq}{3}{drmmathsy}{'027}
2507 \DeclareMathSymbol{\sim}{3}{drmmathsy}{'030}
2508 \DeclareMathSymbol{\approx}{3}{drmmathsy}{'031}
2509 \DeclareMathSymbol{\subset}{3}{drmmathsy}{'032}
2510 \DeclareMathSymbol{\supset}{3}{drmmathsy}{'033}
2511 \DeclareMathSymbol{\ll}{3}{drmmathsy}{'034}
2512 \DeclareMathSymbol{\gg}{3}{drmmathsy}{'035}
2513 \DeclareMathSymbol{\prec}{3}{drmmathsy}{'036}
2514 \DeclareMathSymbol{\succ}{3}{drmmathsy}{'037}
2515 \DeclareMathSymbol{\simeq}{3}{drmmathsy}{'047}
2516 \DeclareMathSymbol{\propto}{3}{drmmathsy}{'057}
2517 \DeclareMathSymbol{\prime}{0}{drmmathsy}{'060}
2518 \DeclareMathSymbol{'}{0}{drmmathsy}{'060}
2519 \DeclareMathSymbol{\infty}{0}{drmmathsy}{'061}
2520 \DeclareMathSymbol{\in}{0}{drmmathsy}{'062}
2521 \DeclareMathSymbol{\ni}{0}{drmmathsy}{'063}
2522 \DeclareMathSymbol{\bigtriangleup}{2}{drmmathsy}{'064}
2523 \DeclareMathSymbol{\bigtriangledown}{2}{drmmathsy}{'065}
2524 \DeclareMathSymbol{/}{2}{drmmathsy}{'066}
2525 %\DeclareMathSymbol{'}{2}{drmmathsy}{'067}
2526 \DeclareMathSymbol{\forall}{2}{drmmathsy}{'070}
2527 \DeclareMathSymbol{\exists}{2}{drmmathsy}{'071}
2528 \DeclareMathSymbol{\neg}{2}{drmmathsy}{'072}
2529 \DeclareMathSymbol{\emptyset}{2}{drmmathsy}{'073}
2530 \DeclareMathSymbol{\Im}{0}{drmmathsy}{'074}
2531 \DeclareMathSymbol{\Re}{0}{drmmathsy}{'075}
2532 \DeclareMathSymbol{\top}{0}{drmmathsy}{'076}
2533 \DeclareMathSymbol{\bot}{0}{drmmathsy}{'077}
2534 %\DeclareMathSymbol{\aleph}{0}{drmmathsy}{'080}
2535 \DeclareMathSymbol{\cup}{2}{drmmathsy}{'133}
2536 \DeclareMathSymbol{\cap}{2}{drmmathsy}{'134}
2537 \DeclareMathSymbol{\uplus}{2}{drmmathsy}{'135}
2538 \DeclareMathSymbol{\wedge}{2}{drmmathsy}{'136}
2539 \DeclareMathSymbol{\vee}{2}{drmmathsy}{'137}
2540 \DeclareMathSymbol{\vdash}{3}{drmmathsy}{'140}
2541 \DeclareMathSymbol{\dashv}{3}{drmmathsy}{'141}
2542 \fi\fi
2543 % \end{macrocode}
2544 % Now we define some arrow symbols; there is a surprisingly
2545 % large variety of these.
2546 % \begin{macrocode}
2547 \ifnodefault\else\ifnodefaultmath\else
2548 \DeclareMathSymbol{\leftarrow}{0}{drmmathsy}{'040}
2549 \DeclareMathSymbol{\rightarrow}{0}{drmmathsy}{'041}
2550 \DeclareMathSymbol{\leftrightarrow}{0}{drmmathsy}{'044}
2551 \DeclareMathSymbol{\nearrow}{0}{drmmathsy}{'045}
2552 \DeclareMathSymbol{\searrow}{0}{drmmathsy}{'046}
2553 \DeclareMathSymbol{\Leftarrow}{0}{drmmathsy}{'050}
2554 \DeclareMathSymbol{\Rightarrow}{0}{drmmathsy}{'051}
2555 \DeclareMathSymbol{\Leftrightarrow}{0}{drmmathsy}{'054}
2556 \DeclareMathSymbol{\nwarrow}{0}{drmmathsy}{'055}
2557 \DeclareMathSymbol{\swarrow}{0}{drmmathsy}{'056}
2558 \DeclareMathSymbol{\wr}{2}{drmmathsy}{'157}
2559 \DeclareMathSymbol{\surd}{0}{drmmathsy}{'160}
2560 \DeclareMathSymbol{\amalg}{2}{drmmathsy}{'161}
2561 \DeclareMathSymbol{\nabla}{0}{drmmathsy}{'162}
2562 \DeclareMathSymbol{\sqcup}{2}{drmmathsy}{'164}
2563 \DeclareMathSymbol{\sqcap}{2}{drmmathsy}{'165}
2564 \DeclareMathSymbol{\sqsubseteq}{2}{drmmathsy}{'166}
2565 \DeclareMathSymbol{\sqsupseteq}{2}{drmmathsy}{'167}
2566 \DeclareMathSymbol{\dagger}{2}{drmmathsy}{'171}
2567 \DeclareMathSymbol{\ddagger}{2}{drmmathsy}{'172}
2568 \DeclareMathSymbol{:}{2}{operators}{'072}
2569 \DeclareMathSymbol{;}{0}{operators}{'073}
2570 \DeclareMathSymbol{.}{0}{letters}{'072}
2571 \DeclareMathSymbol{,}{0}{operators}{'054}
2572 \DeclareMathSymbol{\ldotp}{0}{letters}{'072}
2573 \DeclareMathSymbol{\clubsuit}{0}{letters}{'174}
2574 \DeclareMathSymbol{\diamondsuit}{0}{letters}{'175}
2575 \DeclareMathSymbol{\heartsuit}{0}{letters}{'176}
2576 \DeclareMathSymbol{\spadesuit}{0}{letters}{'177}
2577 \DeclareMathSymbol{\partial}{0}{drmmathsy}{'100}
2578 \fi\fi
2579 % \end{macrocode}
2580 % Now we define some of the large/small symbols, like |\sum|
2581 % and |\prod|. It proved necessary to cancel out the
2582 % previous definitions of these, or \LaTeX\ complained about
2583 % them being already defined; it seems that it ought to be
2584 % possible to redefine them only for a given math version,
2585 % but I haven't figured it out yet.
2586 % \begin{macrocode}
2587 \ifnodefault\else\ifnodefaultmath\else
2588 \let\coprod\relax
2589 \DeclareMathSymbol{\coprod}{\mathop}{drmmathomx}{"60}
2590 \let\bigvee\relax
2591 \DeclareMathSymbol{\bigvee}{\mathop}{drmmathomx}{"57}
2592 \let\bigwedge\relax
2593 \DeclareMathSymbol{\bigwedge}{\mathop}{drmmathomx}{"56}
2594 \let\biguplus\relax
2595 \DeclareMathSymbol{\biguplus}{\mathop}{drmmathomx}{"55}
2596 \let\bigcap\relax
2597 \DeclareMathSymbol{\bigcap}{\mathop}{drmmathomx}{"54}
2598 \let\bigcup\relax
2599 \DeclareMathSymbol{\bigcup}{\mathop}{drmmathomx}{"53}
2600 \let\intop\relax
2601 \DeclareMathSymbol{\intop}{\mathop}{drmmathomx}{"52}
2602 \def\int{\intop\nolimits}
2603 \let\prod\relax
2604 \DeclareMathSymbol{\prod}{\mathop}{drmmathomx}{"51}
2605 \let\sum\relax
2606 \DeclareMathSymbol{\sum}{\mathop}{drmmathomx}{"50}
2607 \let\bigotimes\relax
2608 \DeclareMathSymbol{\bigotimes}{\mathop}{drmmathomx}{"4E}
2609 \let\bigoplus\relax
2610 \DeclareMathSymbol{\bigoplus}{\mathop}{drmmathomx}{"4C}
2611 \let\bigodot\relax
2612 \DeclareMathSymbol{\bigodot}{\mathop}{drmmathomx}{"4A}
2613 \let\ointcup\relax
2614 \DeclareMathSymbol{\ointop}{\mathop}{drmmathomx}{"48}
2615 \def\oint{\ointop\nolimits}
2616 \let\bigsqcup\relax
2617 \DeclareMathSymbol{\bigsqcup}{\mathop}{drmmathomx}{"46}
2618 \fi\fi
2619 % \end{macrocode}
2620 % Moving on to delimiters.
2621 % \begin{macrocode}
2622 \ifnodefault\else\ifnodefaultmath\else
2623 \DeclareMathSymbol{|}{0}{drmmathsy}{'152}
2624 \let\backslash\relax\DeclareMathSymbol{\backslash}{0}{drmmathsy}{'156}
2625 \fi\fi
2626 % \end{macrocode}
2627 % Declare the math accents.
2628 % \begin{macrocode}
2629 \ifnodefault\else\ifnodefaultmath\else
2630 \DeclareMathAccent{\vec}{\mathord}{letters}{126}
2631 \DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
2632 \DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
2633 \DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
2634 \DeclareMathAccent{\check}{\mathalpha}{operators}{7}
2635 \DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
2636 \DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
2637 \DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
2638 \DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
2639 \DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
2640 \fi\fi
2641 % \end{macrocode}
2642 % Declare our math delimiters, so that \TeX's
2643 % delimiter-expanding magic can work with our new
2644 % characters.
2645 % \begin{macrocode}
2646 \def\bigd#1{\bBigg@{#1}}
2647 \ifnodefault\else\ifnodefaultmath\else
2648 \DeclareMathDelimiter{(}{\mathopen}{operators}{"28}
2649 {drmmathomx}{"00}
2650 \DeclareMathDelimiter{)}{\mathopen}{operators}{"29}
2651 {drmmathomx}{"01}
2652 \let\{\relax\let\}\relax
2653 \DeclareMathDelimiter{\{}{\mathopen}{operators}{"7B}
2654 {drmmathomx}{"08}
2655 \DeclareMathDelimiter{\}}{\mathopen}{operators}{"7D}
2656 {drmmathomx}{"09}
2657 \DeclareMathDelimiter{[}{\mathopen}{operators}{"5B}
2658 {drmmathomx}{"02}
2659 \DeclareMathDelimiter{]}{\mathopen}{operators}{"5D}
2660 {drmmathomx}{"03}
2661 \DeclareMathDelimiter{\lfloor}{\mathopen}{drmmathsy}{"62}
2662 {drmmathomx}{"04}
2663 \DeclareMathDelimiter{\rfloor}{\mathclose}{drmmathsy}{"63}
2664 {drmmathomx}{"05}
2665 \DeclareMathDelimiter{\lceil}{\mathopen}{drmmathsy}{"64}
2666 {drmmathomx}{"06}
2667 \DeclareMathDelimiter{\rceil}{\mathclose}{drmmathsy}{"65}
2668 {drmmathomx}{"07}
2669 \DeclareMathDelimiter{\langle}{\mathopen}{drmmathsy}{"68}
2670 {drmmathomx}{"0A}
2671 \DeclareMathDelimiter{\rangle}{\mathclose}{drmmathsy}{"69}
2672 {drmmathomx}{"0B}
2673 \DeclareMathDelimiter{|}{\mathclose}{drmmathomx}{"0C}
2674 {drmmathomx}{"0C}
2675 \DeclareMathDelimiter{\vert}{\mathclose}{drmmathomx}{"0C}
2676 {drmmathomx}{"0C}
2677 \DeclareMathDelimiter{\|}{\mathclose}{drmmathomx}{"0D}
2678 {drmmathomx}{"0D}
2679 \DeclareMathDelimiter{\Vert}{\mathclose}{drmmathomx}{"0D}
2680 {drmmathomx}{"0D}
2681 \DeclareMathDelimiter{\uparrow}{\mathrel}{drmmathomx}{"78}
2682 {drmmathomx}{"78}
2683 \DeclareMathDelimiter{\downarrow}{\mathrel}{drmmathomx}{"79}
2684 {drmmathomx}{"79}
2685 \DeclareMathDelimiter{\updownarrow}{\mathrel}{drmmathsy}{"6C}
2686 {drmmathomx}{"3F}
2687 \DeclareMathDelimiter{\Uparrow}{\mathrel}{drmmathsy}{"2A}
2688 {drmmathomx}{"7E}
2689 \DeclareMathDelimiter{\Downarrow}{\mathrel}{drmmathsy}{"2B}
2690 {drmmathomx}{"7F}
2691 \DeclareMathDelimiter{\Updownarrow}{\mathrel}{drmmathsy}{"6D}
2692 {drmmathomx}{"77}
2693 \fi\fi
2694 % \end{macrocode}
2695 % Next, we define a \emph{math radical}, which essentially
2696 % means a square root sign. Curiously, the thickness of the
2697 % rule enclosing the square root sign is governed by the
2698 % \emph{height} of the square root character; this means
2699 % that almost the entire character is \emph{depth}. I had
2700 % to jimmy a bit with the default \LaTeX\ |\sqrt| definition
2701 % to make the root numbers (say, the 3 for the cube root)
2702 % line up properly, as well, which is what all the |\r@@t|
2703 % business here is.
2704 % \begin{macrocode}
2705 \ifnodefault\else\ifnodefaultmath\else
2706 \DeclareMathRadical{\sqrtsign}{drmmathsy}{"70}{drmmathomx}{"70}
2707 \DeclareRobustCommand\sqrt{\@ifnextchar[\@sqrt\sqrtsign}
2708 \def\r@@t#1#2{
2709 \setbox\z@\hbox{$\m@th#1\sqrtsign{#2}$}
2710 \dimen@\ht\z@ \advance\dimen@-\dp\z@
2711 \mkern5mu\raise.8\dimen@\copy\rootbox
2712 \mkern-7mu\box\z@}
2713 \fi\fi
2714 % \end{macrocode}
2715 % Now, finally, we declare |drmmath| to be the default math
2716 % version, so that all this will become the norm in a
2717 % document declaring the |drm| package. Unless, of course,
2718 % either |nodefault| or |nodefaultmath| has been specified
2719 % as an option.
2720 % \begin{macrocode}
2721 \ifnodefault\else\ifnodefaultmath\else
2722 \mathversion{drmmath}
2723 \fi\fi
2724 % \end{macrocode}
2725 % Now we define the special symbols. First, we define
2726 % |\drmsym|, which takes a single argument to be typeset
2727 % from the |drmsym| font. Then we define a (rather huge)
2728 % macro for redefining all the symbols. This macro will be
2729 % called only if |nodefault| or |nodefaulttext| have not
2730 % been selected, or if |symbolsonly| has been selected.
2731 % \begin{macrocode}
2732 \def\drmsym#1{{\fontencoding{TS1}\selectfont\fontfamily{drm}\selectfont#1}}
2733 \def\drmsymbolredef{
2734 \def\textbigcircle{\drmsym{\char'117}}
2735 \def\textregistered{\drmsym{\char'256}}
2736 \def\texttrademark{\drmsym{\char'227}}
2737 \def\textservicemark{\drmsym{\char'237}}
2738 \def\textsoundrecording{\drmsym{\char'255}}
2739 \def\textcopyright{\drmsym{\char'251}}
2740 \def\textcopyleft{\drmsym{\char'253}}
2741 \def\textborn{\drmsym{\char'142}}
2742 \def\textdied{\drmsym{\char'144}}
2743 \def\textdivorced{\drmsym{\char'143}}
2744 \def\textmarried{\drmsym{\char'155}}
2745 \def\textleaf{\drmsym{\char'154}}
2746 \def\textmale{\drmsym{\char'153}}
2747 \def\textfemale{\drmsym{\char'145}}
2748 \def\textcrusadecross{\drmsym{\char'130}}
2749 \def\textcrusadecrossoutline{\drmsym{\char'131}}
2750 \def\textlatincross{\drmsym{\char'144}}
2751 \def\textlatincrossoutline{\drmsym{\char'134}}
2752 \def\textgreekcross{\drmsym{\char'170}}
2753 \def\textgreekcrossoutline{\drmsym{\char'171}}
2754 \def\textsaltirecross{\drmsym{\char'172}}
2755 \def\textsaltirecrossoutline{\drmsym{\char'173}}
2756 \def\texteucharist{\drmsym{\char'120}}
2757 \def\textstardavid{\drmsym{\char'140}}
2758 \def\textstardavidsolid{\drmsym{\char'141}}
2759 \def\textstardavidoutline{\drmsym{\char'151}}
2760 \def\textsun{\drmsym{\char'330}}
2761 \def\textsunvar{\drmsym{\char'331}}
2762 \def\textwaxcrescent{\drmsym{\char'332}}
2763 \def\textfullmoon{\drmsym{\char'333}}
2764 \def\textwanecrescent{\drmsym{\char'334}}
2765 \def\textnewmoon{\drmsym{\char'335}}
2766 \def\textmercury{\drmsym{\char'336}}
2767 \def\textearth{\drmsym{\char'337}}
2768 \def\textterra{\drmsym{\char'337}}
2769 \def\textearthvar{\drmsym{\char'340}}
2770 \def\textterravar{\drmsym{\char'340}}
2771 \def\textmars{\drmsym{\char'153}}
2772 \def\textvenus{\drmsym{\char'145}}
2773 \def\textjupiter{\drmsym{\char'341}}
2774 \def\textsaturn{\drmsym{\char'342}}
2775 \def\texturanus{\drmsym{\char'343}}
2776 \def\texturanusvar{\drmsym{\char'344}}
2777 \def\textneptune{\drmsym{\char'345}}
2778 \def\textceres{\drmsym{\char'346}}
2779 \def\textpallas{\drmsym{\char'347}}
2780 \def\textjuno{\drmsym{\char'350}}
2781 \def\textjunovar{\drmsym{\char'351}}
2782 \def\textvesta{\drmsym{\char'352}}
2783 \def\textvestavar{\drmsym{\char'353}}
2784 \def\textastraea{\drmsym{\char'354}}
2785 \def\textastraeavar{\drmsym{\char'355}}
2786 \def\texthebe{\drmsym{\char'356}}
2787 \def\textiris{\drmsym{\char'357}}
2788 \def\textaries{\drmsym{\char'360}}
2789 \def\textari{\drmsym{\char'360}}
2790 \def\texttaurus{\drmsym{\char'361}}
2791 \def\texttau{\drmsym{\char'361}}
2792 \def\textgemini{\drmsym{\char'362}}
2793 \def\textgem{\drmsym{\char'362}}
2794 \def\textcancer{\drmsym{\char'363}}
2795 \def\textcnc{\drmsym{\char'363}}
2796 \def\textleo{\drmsym{\char'364}}
2797 \def\textvirgo{\drmsym{\char'365}}
2798 \def\textvir{\drmsym{\char'365}}
2799 \def\textlibra{\drmsym{\char'367}}
2800 \def\textlib{\drmsym{\char'367}}
2801 \def\textscorpius{\drmsym{\char'370}}
2802 \def\textsco{\drmsym{\char'370}}
2803 \def\textsagittarius{\drmsym{\char'371}}
2804 \def\textsgr{\drmsym{\char'371}}
2805 \def\textcapricorn{\drmsym{\char'372}}
2806 \def\textcap{\drmsym{\char'372}}
2807 \def\textaquarius{\drmsym{\char'373}}
2808 \def\textaqr{\drmsym{\char'373}}
2809 \def\textpisces{\drmsym{\char'374}}
2810 \def\textpsc{\drmsym{\char'374}}
2811 \def\textpluto{\drmsym{\char'375}}
2812 \def\textplutovar{\drmsym{\char'376}}
2813 \def\textstar{\drmsym{\char'142}}
2814 \def\textcomet{\drmsym{\char'377}}
2815 \def\textquadrature{\drmsym{\char'310}}
2816 \def\textopposition{\drmsym{\char'311}}
2817 \def\textconjunction{\drmsym{\char'312}}
2818 \def\textascendingnode{\drmsym{\char'315}}
2819 \def\textdescendingnode{\drmsym{\char'314}}
2820 \def\textdollarsign{\drmsym{\char'044}}
2821 \def\textolddollarsign{\drmsym{\char'212}}
2822 \def\textcentsign{\drmsym{\char'242}}
2823 \def\textoldcentsign{\drmsym{\char'213}}
2824 \def\textpoundsterling{\drmsym{\char'243}}
2825 \def\textoldpoundsterling{\drmsym{\char'222}}
2826 \def\textlira{\drmsym{\char'222}}
2827 \def\texteuro{\drmsym{\char'277}}
2828 \def\textyen{\drmsym{\char'245}}
2829 \def\textbaht{\drmsym{\char'232}}
2830 \def\textcolon{\drmsym{\char'215}}
2831 \def\textdong{\drmsym{\char'226}}
2832 \def\textflorin{\drmsym{\char'214}}
2833 \def\textguarani{\drmsym{\char'220}}
2834 \def\textnaira{\drmsym{\char'217}}
2835 \def\textpeso{\drmsym{\char'221}}
2836 \def\textruble{\drmsym{\char'221}}
2837 \def\textwon{\drmsym{\char'216}}
2838 \def\textcurrency{\drmsym{\char'244}}
2839 \def\romone{\drmsym{\char'100}}
2840 \def\romfive{\drmsym{\char'101}}
2841 \def\romten{\drmsym{\char'102}}
2842 \def\romfifty{\drmsym{\char'103}}
2843 \def\romhundred{\drmsym{\char'104}}
2844 \def\romfivehundred{\drmsym{\char'105}}
2845 \def\romthousand{\drmsym{\char'106}}
2846 \def\liningzero{\drmsym{\char'060}}
2847 \def\liningone{\drmsym{\char'061}}
2848 \def\liningtwo{\drmsym{\char'062}}
2849 \def\liningthree{\drmsym{\char'063}}
2850 \def\liningfour{\drmsym{\char'064}}
2851 \def\liningfive{\drmsym{\char'065}}
2852 \def\liningsix{\drmsym{\char'066}}
2853 \def\liningseven{\drmsym{\char'067}}
2854 \def\liningeight{\drmsym{\char'070}}
2855 \def\liningnine{\drmsym{\char'071}}
2856 \def\textnumero{\drmsym{\char'233}}
2857 \def\textrefmark{\drmsym{\char'270}}
2858 \def\textasterism{\drmsym{\char'302}}
2859 \def\textfeminineordinal{\drmsym{\char'252}}
2860 \def\textmasculineordinal{\drmsym{\char'272}}
2861 \def\textsupone{\drmsym{\char'271}}
2862 \def\textsuptwo{\drmsym{\char'262}}
2863 \def\textsupthree{\drmsym{\char'263}}
2864 \def\textpilcrowsolid{\drmsym{\char'231}}
2865 \def\textpilcrowoutline{\drmsym{\char'266}}
2866 \def\textsection{\drmsym{\char'247}}
2867 \def\textdagger{\drmsym{\char'204}}
2868 \def\textdag{\drmsym{\char'204}}
2869 \def\dag{\drmsym{\char'204}}
2870 \def\textdbldagger{\drmsym{\char'205}}
2871 \def\textdbldag{\drmsym{\char'205}}
2872 \def\dbldag{\drmsym{\char'205}}
2873 \def\textpipe{\drmsym{\char'206}}
2874 \def\textbrokenpipe{\drmsym{\char'246}}
2875 \def\textprime{\drmsym{\char'264}}
2876 \def\textdoubleprime{\drmsym{\char'303}}
2877 \def\texttripleprime{\drmsym{\char'313}}
2878 \def\textsqrt{\drmsym{\char'273}}
2879 \def\textquarter{\drmsym{\char'274}}
2880 \def\texthalf{\drmsym{\char'275}}
2881 \def\textthreequarters{\drmsym{\char'276}}
2882 \def\textthird{\drmsym{\char'304}}
2883 \def\texttwothirds{\drmsym{\char'305}}
2884 \def\textpermille{\drmsym{\char'207}}
2885 \def\textperbiqua{\drmsym{\char'207}}
2886 \def\textpertenmille{\drmsym{\char'230}}
2887 \def\textpertriqua{\drmsym{\char'230}}
2888 \def\textequals{\drmsym{\char'055}}
2889 \def\textslash{\drmsym{\char'057}}
2890 \def\texttimes{\drmsym{\char'326}}
2891 \def\textdiv{\drmsym{\char'366}}
2892 \def\textradiation{\drmsym{\char'161}}
2893 \def\textradiationnocircle{\drmsym{\char'160}}
2894 \def\textbiohazard{\drmsym{\char'163}}
2895 \def\textbiohazardnocircle{\drmsym{\char'162}}
2896 \def\texthighvoltage{\drmsym{\char'166}}
2897 \def\texthighvoltagenotriangle{\drmsym{\char'165}}
2898 \def\textgeneralwarning{\drmsym{\char'164}}
2899 \def\textuparrow{\drmsym{\char'136}}
2900 \def\textdownarrow{\drmsym{\char'137}}
2901 \def\textleftarrow{\drmsym{\char'030}}
2902 \def\textrightarrow{\drmsym{\char'031}}
2903 \def\textrecipe{\drmsym{\char'223}}
2904 \def\textintbang{\drmsym{\char'224}}
2905 \def\textopenintbang{\drmsym{\char'225}}
2906 \def\textbullet{\drmsym{\char'210}}
2907 \def\textopenbullet{\drmsym{\char'236}}
2908 \def\textheart{\drmsym{\char'174}}
2909 \def\textopenheart{\drmsym{\char'175}}
2910 \def\texteighthnote{\drmsym{\char'156}}
2911 \def\textdiamond{\drmsym{\char'306}}
2912 \def\textopendiamond{\drmsym{\char'307}}
2913 \def\textlozenge{\drmsym{\char'307}}
2914 \def\textdegree{\drmsym{\char'260}}
2915 \def\texttilde{\drmsym{\char'176}}
2916 \def\textasciitilde{\texttilde}
2917 \def\tilde{\texttilde}
2918 \def\textasciicircum{\drmsym{\char'002}}
2919 \def\textdegreec{\drmsym{\char'211}}
2920 \def\textrightupfleuron{\drmsym{\char'016}}
2921 \def\textrightdownfleuron{\drmsym{\char'017}}
2922 \def\textleftupfleuron{\drmsym{\char'020}}
2923 \def\textleftdownfleuron{\drmsym{\char'021}}
2924 \def\textupleftfleuron{\drmsym{\char'050}}
2925 \def\textuprightfleuron{\drmsym{\char'051}}
2926 \def\textdownrightfleuron{\drmsym{\char'077}}
2927 \def\textdownleftfleuron{\drmsym{\char'107}}
2928 \def\textsquaretulip{\drmsym{\char'023}}
2929 \def\textsquaretulipside{\drmsym{\char'046}}
2930 \def\textupdoubletulip{\drmsym{\char'024}}
2931 \def\textdowndoubletulip{\drmsym{\char'027}}
2932 \def\textrightdoubletulip{\drmsym{\char'036}}
2933 \def\textleftdoubletulip{\drmsym{\char'037}}
2934 \def\textupleftcornertulip{\drmsym{\char'053}}
2935 \def\textuprightcornertulip{\drmsym{\char'072}}
2936 \def\textlowleftcornertulip{\drmsym{\char'073}}
2937 \def\textlowrightcornertulip{\drmsym{\char'110}}
2938 \def\textupsingletuliplong{\drmsym{\char'111}}
2939 \def\textdownsingletuliplong{\drmsym{\char'112}}
2940 \def\textleftsingletuliplong{\drmsym{\char'113}}
2941 \def\textrightsingletuliplong{\drmsym{\char'114}}
2942 \def\textupsingletulip{\drmsym{\char'116}}
2943 \def\textdownsingletulip{\drmsym{\char'121}}
2944 \def\textleftsingletulip{\drmsym{\char'122}}
2945 \def\textrightsingletulip{\drmsym{\char'123}}
2946 \def\spearright{\drmsym{\char'124}}
2947 \def\spearleft{\drmsym{\char'125}}
2948 \def\horizspearext{\drmsym{\char'126}}
2949 \def\spearup{\drmsym{\char'132}}
2950 \def\speardown{\drmsym{\char'146}}
2951 \def\vertspearext{\drmsym{\char'147}}
2952 \def\fleurdelis{\drmsym{\char'157}}
2953 \def\fleurdelys{\drmsym{\char'157}}
2954 \def\fleurdelisdown{\drmsym{\char'167}}
2955 \def\fleurdelysdown{\drmsym{\char'167}}
2956 \def\fleurdelisleft{\drmsym{\char'316}}
2957 \def\fleurdelysleft{\drmsym{\char'316}}
2958 \def\fleurdelisright{\drmsym{\char'177}}
2959 \def\fleurdelysright{\drmsym{\char'177}}
2960 \def\woundcordleftext{\drmsym{\char'317}}
2961 \def\woundcordrightext{\drmsym{\char'324}}
2962 \def\woundcordleftend{\drmsym{\char'320}}
2963 \def\woundcordrightend{\drmsym{\char'321}}
2964 \def\woundcordleftendinv{\drmsym{\char'323}}
2965 \def\woundcordrightendinv{\drmsym{\char'322}}
2966 }
2967 \ifnodefault\else\ifnodefaulttext\else
2968 \drmsymbolredef
2969 \fi\fi
2970 \ifsymbolsonly\drmsymbolredef\fi
2971 % \end{macrocode}
2972 % Now, rather than require people to enter the Roman numeral
2973 % macros by hand, we provide a command, |\romanize|, which
2974 % takes as its only argument an Indo-Arabic numeral and
2975 % converts it into a Roman numeral. This macro is a thin
2976 % wrapper around one from the |modroman| package, and in
2977 % fact requires |modroman| to work.
2978 % \begin{macrocode}
2979 \def\romanize#1{%
2980 \RedefineMRmdclxvij{\romthousand}{\romfivehundred}
2981 {\romhundred}{\romfifty}{\romten}{\romfive}{\romone}{\romone}%
2982 \nbshortroman{#1}%
2983 }%
2984 % \end{macrocode}
2985 % We also define a command for producing lining numerals
2986 % rather than old-style figures, so that these long-winded
2987 % command names don't need to be typed if lining numerals
2988 % will be used frequently. It takes the number to be output
2989 % as lining as its only argument.
2990 % \begin{macrocode}
2991 \def\liningnums#1{%
2992 \drmsym{#1}%
2993 }%
2994 % \end{macrocode}
2995 % Now we define the decorative tulip frame macro, as an
2996 % example of the beautiful constructions which are possible
2997 % with fleurons and other textual ornaments.
2998 % \begin{macrocode}
2999 \def\tulipframe#1{%
3000 \vbox{%
3001 \hbox to\linewidth{\hfil%
3002 {\drmsym{\char'053}}%
3003 {\drmsym{\char'111}}%
3004 {\drmsym{\char'024}}%
3005 {\drmsym{\char'111}}%
3006 {\drmsym{\char'072}}\hfil}%
3007 \vskip-0.5\baselineskip%
3008 \hbox to\linewidth{\hfil%
3009 #1%
3010 \hfil%
3011 }%
3012 \vskip-0.5\baselineskip%
3013 \hbox to\linewidth{\hfil%
3014 {\drmsym{\char'073}}%
3015 {\drmsym{\char'112}}%
3016 {\drmsym{\char'027}}%
3017 {\drmsym{\char'112}}%
3018 {\drmsym{\char'110}}\hfil}%
3019 }%
3020 }%
3021 % \end{macrocode}
3022 % Next, we define the macros for the extensible rules. Lots
3023 % of down-and-dirty \TeX\ stuff here.
3024 % \begin{macrocode}
3025 \newcount\counterA
3026 \newcount\counterB
3027 \newcount\iter
3028 \newlength{\extcharwid}
3029 \newlength{\leftcharwid}
3030 \newlength{\rightcharwid}
3031 \newlength{\greaterwid}
3032 \def\extrule#1#2#3#4#5{%
3033 \if#1h%
3034 \settowidth{\extcharwid}{#5}%
3035 \settowidth{\leftcharwid}{#3}%
3036 \settowidth{\rightcharwid}{#4}%
3037 \counterB=\numexpr\dimexpr#2\relax\relax%
3038 \advance\counterB by-\leftcharwid%
3039 \advance\counterB by-\rightcharwid%
3040 \counterA=\dimexpr\extcharwid\relax%
3041 \divide\counterB by\counterA%
3042 \iter=0%
3043 \noindent#3%
3044 \loop%
3045 \ifnum\iter<\counterB%
3046 \advance\iter by 1%
3047 #5%
3048 \repeat%
3049 #4%
3050 \fi%
3051 \if#1v%
3052 \setbox0=\hbox{#3}%
3053 \leftcharwid=\ht0\advance\leftcharwid by\dp0%
3054 \setbox0=\hbox{#4}%
3055 \rightcharwid=\ht0\advance\rightcharwid by\dp0%
3056 \setbox0=\hbox{#5}%
3057 \extcharwid=\ht0\advance\extcharwid by\dp0%
3058 \ifdim\leftcharwid>\rightcharwid%
3059 \greaterwid=\leftcharwid%
3060 \else%
3061 \greaterwid=\rightcharwid%
3062 \fi\if\extcharwid>\greaterwid%
3063 \greaterwid=\extcharwid%
3064 \fi%
3065 \counterB=\numexpr\dimexpr#2\relax\relax%
3066 \advance\counterB by-\leftcharwid%
3067 \advance\counterB by-\rightcharwid%
3068 \counterA=\dimexpr\extcharwid\relax%
3069 \divide\counterB by\counterA%
3070 \iter=0%
3071 \noindent\vbox to\dimexpr#2{\baselineskip=0pt%
3072 \hbox to\greaterwid{\hfil#4\hfil}%
3073 \loop%
3074 \ifnum\iter<\counterB%
3075 \advance\iter by 1%
3076 \vss\hbox to\greaterwid{\hfil#5\hfil}%
3077 \repeat%
3078 \vss\hbox to\greaterwid{\hfil#3\hfil}}%
3079 \fi%
3080 }%
3081 % \end{macrocode}
3082 % Next, we move on to define the unreasonably complex and
3083 % configurable ellipsis commands. First we define the
3084 % |\drmelip|, then the four-dotted |\drmfelip|.
3085 % \begin{macrocode}
3086 \newlength{\drmelipgap}\setlength{\drmelipgap}{2.9pt}
3087 \newlength{\drmelipbef}\setlength{\drmelipbef}{2.4pt}
3088 \newlength{\drmelipaft}\setlength{\drmelipaft}{1.4pt}
3089 \def\drmelipchar{.}
3090 \def\drmelip{%
3091 \hbox{%
3092 \hbox to\the\drmelipbef{\hfil}%
3093 \drmelipchar%
3094 \hbox to\drmelipgap{\hfil}%
3095 \drmelipchar%
3096 \hbox to\drmelipgap{\hfil}%
3097 \drmelipchar%
3098 \hbox to\drmelipaft{\hfil}%
3099 }%
3100 }%
3101 \newlength{\drmfelipbef}\setlength{\drmfelipbef}{0pt}
3102 \newlength{\drmfelipaft}\setlength{\drmfelipaft}{\the\drmelipaft}
3103 \newlength{\drmfelipwid}
3104 \def\drmfelip{%
3105 \hbox{%
3106 \hbox to\the\drmfelipbef{\hfil}%
3107 \drmelipchar%
3108 \hbox to\drmelipgap{\hfil}%
3109 \drmelipchar%
3110 \hbox to\drmelipgap{\hfil}%
3111 \drmelipchar%
3112 \hbox to\drmelipgap{\hfil}%
3113 \drmelipchar%
3114 \hbox to\drmfelipaft{\hfil}%
3115 }%
3116 }%
3117 % \end{macrocode}
3118 % Now, we begin the decorative initials. These are designed
3119 % using a common background written in \MP\ with a DRM
3120 % figure superimposed, so a great deal of the code in this
3121 % section is, in fact, \MP\ rather than \TeX\ or \MF.
3122 %
3123 % We begin by defining |\drmdecinit|, which takes five
3124 % arguments: the width, the height, the color of the
3125 % background, the color of the letter, and the letter
3126 % itself. It includes a \MP\ macro, |along|, derived from
3127 % \url{http://tex.stackexchange.com/questions/176665/define-a-pair-point-along-a-path-length-metapost}.
3128 % \begin{macrocode}
3129 \def\drmdecinitfontdefault{%
3130 \def\drmdecinitfont{%
3131 \unexpanded{\font\drminitfontcom=drm10}
3132 }%
3133 }%
3134 \def\drmdecinitfont{%
3135 \unexpanded{\font\drminitfontcom=drm10} %
3136 }%
3137 \def\drmdecinit#1#2#3#4#5{%
3138 \begin{mpost}
3139 primarydef pct along pat =
3140 (arctime (pct * (arclength pat)) of pat) of pat
3141 enddef;
3142 w=#1; h=#2;
3143 pen thinpen; thinpen = pencircle scaled (w/288);
3144 pen medpen; medpen = pencircle scaled (w/144);
3145 pen thickpen; thickpen = pencircle scaled (w/144 + w/288);
3146 pen ththickpen; ththickpen = pencircle scaled (w/72);
3147 pen thththickpen; thththickpen = pencircle scaled (w/36);
3148 leaflen = w/6.5;
3149 leafletlen = w/20;
3150 leafletwid = w/40;
3151 leafletgap = w/40;
3152 pen leafpen; leafpen = pencircle xscaled leafletlen
3153 yscaled leafletwid;
3154 pen sideleafpen; sideleafpen = pencircle yscaled leafletlen
3155 xscaled leafletwid rotated -35;
3156 def border =
3157 pickup thththickpen;
3158 draw top lft (0,h)--top rt(w,h)--bot rt(w,0)--bot
3159 lft(0,0)--cycle withcolor #3;
3160 pickup ththickpen;
3161 draw (top lft (0,h)--top rt(w,h)--bot rt(w,0)--bot
3162 lft(0,0)--cycle) scaled 0.95 shifted (0.025w,0.025h)
3163 withcolor #3;
3164 enddef;
3165 def leaf(expr p,s,r,t) =
3166 path leafpath;
3167 leafpath = ((p shifted (leafletlen/2,0))..
3168 (p shifted (0,leafletwid/2))..
3169 (p shifted (-leafletlen/2,0))..
3170 (p shifted (0,-leafletwid/2))..cycle)
3171 rotatedaround (p,s);
3172 if t = 0:
3173 fill leafpath withcolor r;
3174 elseif t = 1:
3175 fill leafpath reflectedabout
3176 ((w/2,h),(w/2,0)) withcolor r;
3177 elseif t = 2:
3178 fill leafpath reflectedabout
3179 ((0,h/2),(w,h/2)) withcolor r;
3180 elseif t = 3:
3181 fill leafpath reflectedabout
3182 ((0,h/2),(w,h/2)) reflectedabout ((w/2,h),(w/2,0))
3183 withcolor r;
3184 fi
3185 enddef;
3186 def branch(expr p,s,b) =
3187 pickup thickpen;
3188 pair t; t = p rotatedaround (p,s);
3189 pair u; u = point 1.0 along (t{dir (s+90)}..
3190 t shifted (0.3leaflen,leaflen) rotatedaround (t,s));
3191 pair q; q = (t shifted (1.4leafletwid,0)) rotatedaround (t,s);
3192 pair v; v = (q shifted (0.3leaflen,leaflen)) rotatedaround (q,s);
3193 pair r; r = (t shifted (-1.4leafletwid,0)) rotatedaround (t,s);
3194 pair a; a = (r shifted (0.3leaflen,leaflen)) rotatedaround (r,s);
3195 if b = 0:
3196 draw (t{dir (s+90)}..u) withcolor #3;
3197 elseif b = 1:
3198 draw (t{dir (s+90)}..u) reflectedabout ((w/2,h),(w/2,0))
3199 withcolor #3;
3200 elseif b = 2:
3201 draw (t{dir (s+90)}..u) reflectedabout ((0,h/2),(w,h/2))
3202 withcolor #3;
3203 elseif b = 3:
3204 draw (t{dir (s+90)}..u) reflectedabout ((0,h/2),(w,h/2))
3205 reflectedabout ((w/2,h),(w/2,0)) withcolor #3;
3206 fi
3207 leaf((point 0.15 along (q{dir (s+90)}..v)),s,#3,b);
3208 leaf((point 0.45 along (q{dir (s+90)}..v)),s,#3,b);
3209 leaf((point 0.75 along (q{dir (s+90)}..v)),s,#3,b);
3210 leaf((point 0.15 along (r{dir (s+90)}..a)),s,#3,b);
3211 leaf((point 0.45 along (r{dir (s+90)}..a)),s,#3,b);
3212 leaf((point 0.75 along (r{dir (s+90)}..a)),s,#3,b);
3213 leaf((point 0.98 along (t{dir (s+90)}..u)),s+60,white,b);
3214 leaf((point 1.00 along (t{dir (s+90)}..u)),s+60,#3,b);
3215 enddef;
3216 def football(expr p) =
3217 pickup thinpen;
3218 draw (z26..z30..z31..z26..z32..z33..cycle)
3219 rotatedaround ((w/2,h/2),p) withcolor #3;
3220 pickup ththickpen;
3221 draw (z20..z24..z21) rotatedaround ((w/2,h/2),p)
3222 withcolor white;
3223 draw (z21..z25..z20) rotatedaround ((w/2,h/2),p)
3224 withcolor white;
3225 draw (z20..tension 1.4..z22..z23..tension 1.5..z20)
3226 rotatedaround ((w/2,h/2),p) withcolor white;
3227 draw (z21..tension 1.4..z22..z23..tension 1.5..z21)
3228 rotatedaround ((w/2,h/2),p) withcolor white;
3229 pickup medpen;
3230 draw (z20..z24..z21) rotatedaround ((w/2,h/2),p)
3231 withcolor #3;
3232 draw (z21..z25..z20) rotatedaround ((w/2,h/2),p)
3233 withcolor #3;
3234 draw (z20..tension 1.4..z22..z23..tension 1.5..z20)
3235 rotatedaround ((w/2,h/2),p) withcolor #3;
3236 draw (z21..tension 1.4..z22..z23..tension 1.5..z21)
3237 rotatedaround ((w/2,h/2),p) withcolor #3;
3238 fill (z34..z36..z35..z37..cycle) rotatedaround
3239 ((w/2,h/2),p) withcolor #3;
3240 fill (z38..z40..z39..z41..cycle) rotatedaround
3241 ((w/2,h/2),p) withcolor #3;
3242 fill (z42..z44..z43..z45..cycle) rotatedaround
3243 ((w/2,h/2),p) withcolor #3;
3244 enddef;
3245 border;
3246 z0 = (w-3.3leafletwid-(w/11),h-leaflen-(w/144));
3247 z1 = (w/2,2h/3);%h-leafletwid-2pt);
3248 z2 = z0 reflectedabout ((w/2,h),(w/2,0));
3249 z3 = (2w/3,h/2);%w-leafletwid-2pt,h/2);
3250 z4 = z0 reflectedabout ((w,h/2),(0,h/2));
3251 z5 = z1 reflectedabout ((0,h/2),(w,h/2));
3252 z6 = z4 reflectedabout ((w/2,h),(w/2,0));
3253 z7 = z3 reflectedabout ((w/2,h),(w/2,0));
3254 pickup thickpen;
3255 draw z0{dir -120}..{left}z1{left}..{dir 120}z2 withcolor #3;
3256 draw z0{dir -120}..{down}z3{down}..{dir -60}z4 withcolor #3;
3257 draw z4{dir 120}..{left}z5{left}..{dir -120}z6 withcolor #3;
3258 draw z6{dir 60}..{up}z7{up}..{dir 120}z2 withcolor #3;
3259 branch(z0,-30,0);
3260 branch(z0,-30,1);
3261 branch(z0,-30,2);
3262 branch(z0,-30,3);
3263 z10 = (w/2,h-leafletwid-(w/72));
3264 z11 = z10 rotatedaround ((w/2,h/2),90);
3265 z12 = z10 rotatedaround ((w/2,h/2),180);
3266 z13 = z10 rotatedaround ((w/2,h/2),270);
3267 path greatcirc; greatcirc = z10..z11..z12..z13..cycle;
3268 pickup thththickpen;
3269 draw greatcirc withcolor white;
3270 pickup ththickpen;
3271 draw greatcirc withcolor #3;
3272 z20 = z2 shifted (0,-leafletlen);
3273 z21 = z6 shifted (0,leafletlen);
3274 z22 = z11 shifted (leafletlen,0);
3275 z23 = z7 shifted (-leafletlen,0);
3276 z24 = 0.25[z11,z7];
3277 z25 = 0.75[z11,z7];
3278 z26 = 0.5[z11,z7];
3279 z27 = 0.25[z2,z6];
3280 z28 = 0.5[z2,z6];
3281 z29 = 0.75[z2,z6];
3282 z30 = 0.5[z11,z2];
3283 z31 = 0.5[z7,z2];
3284 z32 = 0.5[z6,z11];
3285 z33 = 0.5[z6,z7];
3286 z34 = z26 shifted (-leafletlen,0);
3287 z35 = z26 shifted (leafletlen,0);
3288 z36 = z26 shifted (0,leafletwid);
3289 z37 = z26 shifted (0,-leafletwid);
3290 z38 = z27 shifted (-0.8leafletwid,0);
3291 z39 = z27 shifted (0.8leafletwid,0);
3292 z40 = z27 shifted (0,0.8leafletlen);
3293 z41 = z27 shifted (0,-0.8leafletlen);
3294 z42 = z29 shifted (-0.8leafletwid,0);
3295 z43 = z29 shifted (0.8leafletwid,0);
3296 z44 = z29 shifted (0,0.8leafletlen);
3297 z45 = z29 shifted (0,-0.8leafletlen);
3298 football(0);
3299 football(90);
3300 football(180);
3301 football(270);
3302 z50 = z1 shifted (0,-leafletwid);
3303 z51 = z3 shifted (-leafletwid,0);
3304 z52 = z5 shifted (0,leafletwid);
3305 z53 = z7 shifted (leafletwid,0);
3306 z54 = 0.4[(w/2,h/2),(0,h)];
3307 z55 = 0.4[(w/2,h/2),(w,h)];
3308 z56 = 0.4[(w/2,h/2),(w,0)];
3309 z57 = 0.4[(w/2,h/2),(0,0)];
3310 pickup thickpen;
3311 draw z50..z51..z52..z53..cycle withcolor #3;
3312 pickup medpen;
3313 draw z50{left}..z54 withcolor #3;
3314 draw z50{right}..z55 withcolor #3;
3315 draw z51{up}..z55 withcolor #3;
3316 draw z51{down}..z56 withcolor #3;
3317 draw z52{right}..z56 withcolor #3;
3318 draw z52{left}..z57 withcolor #3;
3319 draw z53{down}..z57 withcolor #3;
3320 draw z53{up}..z54 withcolor #3;
3321 z60 = z50 shifted (0,-leafletwid);
3322 z61 = z51 shifted (-leafletwid,0);
3323 z62 = z52 shifted (0,leafletwid);
3324 z63 = z53 shifted (leafletwid,0);
3325 z64 = (w/2,h/2) shifted (0,leafletlen);
3326 z65 = (w/2,h/2) shifted (leafletlen,0);
3327 z66 = (w/2,h/2) shifted (0,-leafletlen);
3328 z67 = (w/2,h/2) shifted (-leafletlen,0);
3329 z68 = 0.5[z64,z65];
3330 z69 = 0.5[z65,z66];
3331 z70 = 0.5[z66,z67];
3332 z71 = 0.5[z67,z64];
3333 z72 = 0.5[z60,z61];
3334 z73 = 0.5[z61,z62];
3335 z74 = 0.5[z62,z63];
3336 z75 = 0.5[z63,z60];
3337 z76 = 0.2[z71,z75];
3338 z77 = point 0.4 along (z63{up}..{right}z60);
3339 z78 = point 0.6 along (z63{up}..{right}z60);
3340 z79 = 0.6[z63,z76];
3341 pickup thinpen;
3342 path innerbord; innerbord =
3343 z60{z64-z60}..z71..{z63-z67}z63{up}..{right}z60;
3344 draw innerbord withcolor #3;
3345 draw innerbord rotatedaround ((w/2,h/2),90) withcolor #3;
3346 draw innerbord rotatedaround ((w/2,h/2),180) withcolor #3;
3347 draw innerbord rotatedaround ((w/2,h/2),270) withcolor #3;
3348 label(btex {\drmdecinitfont at#2\unexpanded{\drminitfontcom} #5} etex,(w/2,h/2))
3349 withcolor #4;
3350 \end{mpost}
3351 }
3352 % \end{macrocode}
3353 % And that's the end. Thanks for reading,
3354 % folks; please email me with any suggestions or improvements.
3355 %
3356 % \appendix
3357 %
3358 % \section{The Secret History: Building DRM}
3359 %
3360 % \lettrine{H}{ere you can get all} the answers to questions about DRM
3361 % that you didn't have and never asked. This appendix is
3362 % essentially an exercise in self-gratification, to explain
3363 % a few things about the fonts and why I made some of the
3364 % choices that I did. As such, it'll probably be
3365 % interesting to few, if any; but here it all is anyway.
3366 %
3367 % \subsection{About the Name}
3368 % \label{sub:aboutname}
3369 %
3370 % When I started this font, I was trying to ape an old-style
3371 % Caslon specimen that I'd found on the Internet. (If you
3372 % search for one, you'll doubtlessly find the one I was
3373 % going for; it's littered all over the place.) You can
3374 % still see certain traces of this, particularly in the long
3375 % tail of the Q (there it is!), and in the serifs on the E
3376 % and F. On the other hand, even at the very beginning,
3377 % before the font had taken on a character of its own, I was
3378 % doing a pretty poor job of imitating this other one. My
3379 % serifs were fairly prominent, but only slightly bracketed;
3380 % there was a pretty drastic distinction between thick and
3381 % thin strokes; it had a vertical orientation. Before long,
3382 % it was clear that I had a very different font.
3383 %
3384 % So the name was ``DRM,'' for ``Day Roman Modern.'' But
3385 % this didn't really accurately describe the font, and it
3386 % didn't keep this meaning for long. (Maybe a few days; the
3387 % original files were titled ``dayroman,'' an even more
3388 % inaccurate appellation.) I've since backronymed this to
3389 % ``Don's Revised Modern,'' which still isn't strictly
3390 % correct, but it's pretty well ensconced at the moment.
3391 % There are a limited number of descriptors with those
3392 % initials, and I've grown pretty fond of those initials; it
3393 % would be difficult for me to think of the font with any
3394 % other name. But if somebody has a better backronym, I'd
3395 % love to hear it.
3396 %
3397 % \subsection{Why \MF?}
3398 % \label{sub:whymf}
3399 %
3400 % So why \MF? Isn't \MF\ horribly out of date,
3401 % unconscionably producing nasty, decrepit bitmapped glyphs
3402 % instead of shiny, futuristic outlines? Doesn't it somehow
3403 % involve hatred of mom's apple pie, summertime barbecues,
3404 % and the girl next door?
3405 %
3406 % Well, in some ways \MF\ is certainly out of date. It's
3407 % limited to eight bits (\liningnums{2}$^8$ characters), for example, and
3408 % that limit can't be circumvented by any trivial means.
3409 % Due to the brilliance of its author, it has several
3410 % similar limits which, while seeming arbitrary and
3411 % capricious to us today, were absolutely necessary for
3412 % allowing \MF\ to run on the machines available at the time
3413 % it was produced. There's really no denying this, and I'd
3414 % be the last to try.
3415 %
3416 % On the other hand, \MF\ is not out of date for the reasons
3417 % most people who eloquently pronounce its obsolescence believe
3418 % it is. The bitmapped glyph issue, for example; there
3419 % really is nothing wrong with this. In fact, in some ways
3420 % it's a benefit. Scaling is not really an issue,
3421 % particularly in this age when \MF\ can be run
3422 % automatically when \TeX\ encounters a size that it doesn't
3423 % already have on hand; we can easily acquire fonts of
3424 % whatever size we need. And, much like \MF's eight-bit
3425 % stricture, whatever memory benefits come from storing
3426 % fonts as outlines rather than bitmaps is surely irrelevant
3427 % in this day and age.
3428 %
3429 % Bitmaps are beneficial in that they remind us that optical
3430 % sizing is still important; outline fonts have made us
3431 % lazy, preventing the development of real font families
3432 % with many optical sizes. Too many amateurs (a term I use
3433 % without derision, and proudly apply to myself) think they
3434 % can avoid designing optical sizes because their outlines
3435 % can be automatically scaled. This leads to poor results.
3436 %
3437 % But most importantly, \MF\ makes writing
3438 % parameter-based fonts easy. The \textb{bold} and
3439 % \textl{light} versions of the DRM fonts, for example, were
3440 % produced by modifying only a few parameters of the base
3441 % DRM roman font; the actual letterforms remain the same.
3442 % This is a powerful tool that assists greatly in the
3443 % creation of \emph{families} of fonts.
3444 %
3445 % \MF\ also lends itself quite nicely to customization. As
3446 % a command-line program, I can easily script it to produce
3447 % proofs, or to produce real fonts for inclusion in test
3448 % documents, or to produce font charts, or all of the above.
3449 % For example, your author used scripts to compile proofs as
3450 % well as working fonts to produce this documentation; it
3451 % was relatively trivial to produce a script which would,
3452 % inelegantly but quite effectively, output proof sheets and
3453 % sample texts along with charts of each individual font,
3454 % from simple roman text to quite complex math. Below is an
3455 % example of the (rather messy, but functional) script I
3456 % used to produce font charts and sample texts for the
3457 % fonts:
3458 %
3459 % \begin{verbatim}
3460 % #!/bin/bash
3461 % # +AMDG
3462 %
3463 % re="^drm([m|b|bx|c|sym]*)([n|it|sl|sc]*)([0-9]{1,2})$";
3464 % ifmath="mmi";
3465 % ifmathsym="sy[0-9]";
3466 % font=$1;
3467 % fname="drm";
3468 % fenc="T1";
3469 % commands="\\sample\\bye";
3470 % if [[ $font =~ $ifmath ]]; then
3471 % fenc="OML";
3472 % commands="\\table\\math\\bye";
3473 % fi
3474 % if [[ $font =~ $ifmathsym ]]; then
3475 % fenc="OMS";
3476 % commands="\\table\\math\\bye";
3477 % fi
3478 % [[ $font =~ $re ]] && fweight="${BASH_REMATCH[1]}" &&
3479 % fshape="${BASH_REMATCH[2]}" && fsize="${BASH_REMATCH[3]}";
3480 % if [[ $fshape == "" ]]; then
3481 % fshape="m";
3482 % fi
3483 % if [[ $fweight == "" ]]; then
3484 % fweight="n";
3485 % elif [[ $fweight == "sym" ]]; then
3486 % fweight="n";
3487 % fname="drmsym";
3488 % fi
3489 % #echo "fweight = $fweight; fshape = $fshape; fsize = $fsize";
3490 % nfssfontin=$(cat <<ENDFONTIN
3491 % $font
3492 % $commands
3493 % $fenc
3494 % $fname
3495 % $fweight
3496 % $fshape
3497 % $fsize
3498 % $commands
3499 % ENDFONTIN
3500 % )
3501 % echo $nfssfontin;
3502 %
3503 % rm $1*pk; rm $1*gf;
3504 % mf "\mode=localfont; input $1";
3505 % gftopk $1.600gf $1.pk;
3506 % echo "$nfssfontin" | pdflatex nfssfont;
3507 % \end{verbatim}
3508 %
3509 % This little gem took a single argument, the name of the
3510 % font that I wanted compiled; it then determined the
3511 % appropriate parameters to hand over to |nfssfont|, including
3512 % what type of sample was needed (text or math), and
3513 % compiled it for me, which meant that with a single command
3514 % (|./allcomp fontname|) I could get a complete chart of
3515 % the font I was working on, along with a sample text to
3516 % help judge kerning and general appearance. Doing the same
3517 % with more ``modern'' font programs, particularly GUI ones,
3518 % is doubtlessly more difficult.
3519 %
3520 % Finally, pens. Pens are \emph{endlessly} superior to
3521 % defining points along outlines. The degree to which
3522 % grokking and employing \MF's pen metaphor simplified the
3523 % task of drawing these characters, particularly the more
3524 % calligraphic varieties thereof, simply cannot be
3525 % adequately expressed. Defining points along outlines and
3526 % connecting them with zero-width lines did fine for
3527 % \emph{most} of the roman characters, but would have been
3528 % painfully sluggish with, for example, the italic fonts.
3529 %
3530 % Your author emphasized ``most'' above for good reason:
3531 % while the points-and-outlines approach worked quite
3532 % effectively for the stately forms of roman characters,
3533 % \emph{modifying} those characters was sometimes much more
3534 % difficult. Take, for example, the very basic different
3535 % between ``o'' and ``\o.'' Visually, of course, these are
3536 % almost identical shapes, the latter simply having a line
3537 % drawn through it; however, by outlines these shapes are so
3538 % extremely different that drawing the latter would more
3539 % easily be done from scratch than by a simple modification
3540 % of the former. Using \MF's pen metaphor, though, the
3541 % shape of ``\o'' could be drawn exactly as we would draw it
3542 % on paper: by forming an ``o,'' and then drawing a slash
3543 % through it. And so your author accomplished it.
3544 %
3545 % And though your author put off the development of italic
3546 % until he'd become really proficient with \MF's pens,
3547 % knowing that such intricate shapes as ``\textit{f}'' and
3548 % ``\textit{Q}'' would be quite challenging with
3549 % points-and-outlines, he was able to race through drawing
3550 % the italics with ease, and wound up using \MF's pens much
3551 % more frequently in the development of the remaining fonts
3552 % than points-and-outlines, as drawing shapes with this
3553 % metaphor is much more intuitive and easily visualized, at
3554 % least to him, than the alternatives.
3555 %
3556 % \section{The \LaTeX\ Project Public License, v1.3c}
3557 % \label{lppl}
3558 % \MakePercentComment\input{lppl-1-3c.tex}\MakePercentIgnore
3559 %
3560 % \section{The SIL Open Font License, v1.1}
3561 % \label{sil}
3562 %
3563 % Copyright \textcopyright\ 2014, Donald P. Goodman III
3564 % ([email protected]), with Reserved Font Name Don's
3565 % Revised Modern (DRM).
3566 %
3567 % \input{ofl_v1-1.tex}
3568 %
3569 % \PrintIndex