| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% aunclmfb.dtx |
| 4 |
% |
| 5 |
% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net |
| 6 |
% Copyright 1999--2005 Peter R. Wilson |
| 7 |
% |
| 8 |
% This work may be distributed and/or modified under the |
| 9 |
% conditions of the Latex Project Public License, either |
| 10 |
% version 1.3 of this license or (at your option) any |
| 11 |
% later version. |
| 12 |
% The latest version of the license is in |
| 13 |
% http://www.latex-project.org/lppl.txt |
| 14 |
% and version 1.3 or later is part of all distributions of |
| 15 |
% LaTeX version 2003/06/01 or later. |
| 16 |
% |
| 17 |
% This work has the LPPL maintenance status "author-maintained". |
| 18 |
% |
| 19 |
% This work consists of the files listed in the README file. |
| 20 |
% |
| 21 |
% If you do not have the docmfp package (available from CTAN in |
| 22 |
% tex-archive/macros/latex/contrib/supported), comment out the |
| 23 |
% \usepackage{docmfp} line below and uncomment the line following it. |
| 24 |
% |
| 25 |
%<*driver> |
| 26 |
\documentclass[twoside]{ltxdoc} |
| 27 |
\usepackage{docmfp} |
| 28 |
%%%%%% \providecommand{\DescribeVariable}[1]{} \newenvironment{routine}[1]{}{} |
| 29 |
\usepackage{url} |
| 30 |
\usepackage[draft=false, |
| 31 |
plainpages=false, |
| 32 |
pdfpagelabels, |
| 33 |
bookmarksnumbered, |
| 34 |
hyperindex=false |
| 35 |
]{hyperref} |
| 36 |
\providecommand{\phantomsection}{} |
| 37 |
\OnlyDescription %% comment this out for the full glory |
| 38 |
\EnableCrossrefs |
| 39 |
\CodelineIndex |
| 40 |
\setcounter{StandardModuleDepth}{1} |
| 41 |
\makeatletter |
| 42 |
\@mparswitchfalse |
| 43 |
\makeatother |
| 44 |
\renewcommand{\MakeUppercase}[1]{#1} |
| 45 |
\pagestyle{headings} |
| 46 |
\newenvironment{addtomargins}[1]{% |
| 47 |
\begin{list}{}{% |
| 48 |
\topsep 0pt% |
| 49 |
\addtolength{\leftmargin}{#1}% |
| 50 |
\addtolength{\rightmargin}{#1}% |
| 51 |
\listparindent \parindent |
| 52 |
\itemindent \parindent |
| 53 |
\parsep \parskip}% |
| 54 |
\item[]}{\end{list}} |
| 55 |
\begin{document} |
| 56 |
\raggedbottom |
| 57 |
\DocInput{aunclmfb.dtx} |
| 58 |
\end{document} |
| 59 |
%</driver> |
| 60 |
% |
| 61 |
% \fi |
| 62 |
% |
| 63 |
% \CheckSum{132} |
| 64 |
% |
| 65 |
% \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath} |
| 66 |
% \DoNotIndex{\@centercr,\@cite} |
| 67 |
% \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue} |
| 68 |
% \DoNotIndex{\@input,\@ixpt,\@m} |
| 69 |
% \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint} |
| 70 |
% \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb} |
| 71 |
% \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt} |
| 72 |
% \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt} |
| 73 |
% \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace} |
| 74 |
% \DoNotIndex{\advance,\Alph,\alph} |
| 75 |
% \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box} |
| 76 |
% \DoNotIndex{\bullet} |
| 77 |
% \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption} |
| 78 |
% \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass} |
| 79 |
% \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist} |
| 80 |
% \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup} |
| 81 |
% \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter} |
| 82 |
% \DoNotIndex{\fbox} |
| 83 |
% \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef} |
| 84 |
% \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule} |
| 85 |
% \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi} |
| 86 |
% \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi} |
| 87 |
% \DoNotIndex{\input} |
| 88 |
% \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark} |
| 89 |
% \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright} |
| 90 |
% \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment} |
| 91 |
% \DoNotIndex{\NeedsTeXFormat,\newdimen} |
| 92 |
% \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number} |
| 93 |
% \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@} |
| 94 |
% \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip} |
| 95 |
% \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions} |
| 96 |
% \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright} |
| 97 |
% \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font} |
| 98 |
% \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman} |
| 99 |
% \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength} |
| 100 |
% \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space} |
| 101 |
% \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase} |
| 102 |
% \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt} |
| 103 |
% \DoNotIndex{\viipt,\vipt,\vskip,\vspace} |
| 104 |
% \DoNotIndex{\wd,\xiipt,\year,\z@} |
| 105 |
% |
| 106 |
% \changes{v1.0}{1999/05/22}{First public release} |
| 107 |
% |
| 108 |
% \def\fileversion{v1.0} \def\filedate{1999/05/22} |
| 109 |
% \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package |
| 110 |
% \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option |
| 111 |
% \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file |
| 112 |
% \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter |
| 113 |
% \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle |
| 114 |
% \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment |
| 115 |
% \newcommand*{\AD}{\textsc{ad}} |
| 116 |
% \newcommand*{\thisfont}{Artificial Uncial} |
| 117 |
% |
| 118 |
% \title{\Lpack{Artificial Uncial}: MetaFont base code\thanks{This |
| 119 |
% file has version number \fileversion, last revised |
| 120 |
% \filedate.}} |
| 121 |
% |
| 122 |
% \author{% |
| 123 |
% Peter Wilson\footnote{\texttt{herries dot press at earthlink dot net}}\\ |
| 124 |
% Herries Press } |
| 125 |
% \date{\filedate} |
| 126 |
% \maketitle |
| 127 |
% \begin{abstract} |
| 128 |
% The \Lpack{auncial} bundle provides a PostScript Type1 set of |
| 129 |
% \thisfont{} bookhands |
| 130 |
% as used |
| 131 |
% for manuscripts in the 6th to the 10th century. This is one in a series |
| 132 |
% of manuscript fonts. |
| 133 |
% |
| 134 |
% This document contains the MetaFont base code. |
| 135 |
% \end{abstract} |
| 136 |
% \tableofcontents |
| 137 |
% \listoftables |
| 138 |
% |
| 139 |
% |
| 140 |
% |
| 141 |
% \section{Introduction} |
| 142 |
% |
| 143 |
% The \Lpack{auncial} bundle provides a PostScript Type1 version of a |
| 144 |
% Metafont~\cite{METAFONT} rendition |
| 145 |
% of the \thisfont{} manuscript book-hand that was in use between about the |
| 146 |
% sixth and tenth centuries~\AD. It is part of a project to provide fonts |
| 147 |
% covering the major manuscript hands between the first century~\AD{} and |
| 148 |
% the invention of printing. |
| 149 |
|
| 150 |
% this document contains the MetaFont base code for the font. |
| 151 |
% |
| 152 |
% This manual is typeset according to the conventions of the |
| 153 |
% \LaTeX{} \textsc{docstrip} utility which enables the automatic |
| 154 |
% extraction of the \LaTeX{} macro source files~\cite{GOOSSENS94}. |
| 155 |
% The \Lpack{docmfp} package is used for documenting the MetaFont portions |
| 156 |
% of the distribution~\cite{DOCMFP}. |
| 157 |
% |
| 158 |
% |
| 159 |
% \section{The Metafont code} \label{sec:mf} |
| 160 |
% |
| 161 |
% |
| 162 |
% As previously noted, this work is part of a larger project to provide |
| 163 |
% fonts covering the main manuscript book-hands. As such, one of the |
| 164 |
% aims is to produce a coordinated set of fonts, especially as multiple |
| 165 |
% hands might be used in a single document. |
| 166 |
% |
| 167 |
% Noting that the hands tend to be somewhat larger than the typical 10pt |
| 168 |
% size (where the x-height is approximately 1.5mm) used for modern books, |
| 169 |
% I have also designed the fonts |
| 170 |
% at a larger than normal size, then applied some non-linear factors when reducing |
| 171 |
% them down to a 10pt size. |
| 172 |
% Further, I have used the height of the Carolingian minuscule as a |
| 173 |
% normalising factor when deciding on the absolute height of any particular |
| 174 |
% script. The x-height of the Carolingian font is made equal to the |
| 175 |
% x-height of the Computer Modern Roman (CMR) font. |
| 176 |
% |
| 177 |
% Modern fonts are effectively drawn. That is, the outline of the letter is |
| 178 |
% drawn carefully and the center is filled with ink. This is shown to good |
| 179 |
% effect in the Metafont code for the Computer Modern fonts~\cite{CM}. |
| 180 |
% In contrast, the manuscript letters were inked by single pen strokes in |
| 181 |
% a calligraphic manner. I have tried to repeat this calligraphic style |
| 182 |
% in the Metafont code. |
| 183 |
% |
| 184 |
% As much as possible I have tried to use parameter values from the |
| 185 |
% Computer Modern Roman (CMR) fonts in order to reduce possible |
| 186 |
% infelicities if the CM and manuscript fonts are used together. However, |
| 187 |
% few of the CMR parameters are applicable to the calligraphic style. |
| 188 |
% |
| 189 |
% |
| 190 |
% \StopEventually{ |
| 191 |
% \bibliographystyle{alpha} |
| 192 |
% \renewcommand{\refname}{Bibliography} |
| 193 |
% \begin{thebibliography}{GMS94} |
| 194 |
% \addcontentsline{toc}{section}{\refname} |
| 195 |
% |
| 196 |
% \bibitem[And69]{ANDERSON69} |
| 197 |
% Donald M.~Anderson. |
| 198 |
% \newblock \emph{The Art of Written Forms: The Theory and Practice of Calligraphy}. |
| 199 |
% \newblock Holt, Rinehart and Winston, 1969. |
| 200 |
% |
| 201 |
% \bibitem[Bol95]{BOLOGNA95} |
| 202 |
% Giulia Bologna. |
| 203 |
% \newblock \emph{Illuminated Manuscripts: The Book before Gutenberg}. |
| 204 |
% \newblock Crescent Books, 1995. |
| 205 |
% |
| 206 |
% \bibitem[Day95]{DAY95} |
| 207 |
% Lewis F.~Day. |
| 208 |
% \newblock \emph{Alphabets Old \& New}. |
| 209 |
% \newblock (3rd edition originally published by B.~T.~Batsford, 1910) |
| 210 |
% \newblock Senate, 1995. |
| 211 |
% |
| 212 |
% \bibitem[Dro80]{DROGIN80} |
| 213 |
% Marc Drogin. |
| 214 |
% \newblock \emph{Medieval Calligraphy: Its History and Technique}. |
| 215 |
% \newblock Allenheld, Osmun \& Co., 1980. |
| 216 |
% |
| 217 |
% \bibitem[Dru95]{DRUCKER95} |
| 218 |
% Johanna Drucker. |
| 219 |
% \newblock \emph{The Alphabetic Labyrinth}. |
| 220 |
% \newblock Thames \& Hudson, 1995. |
| 221 |
% |
| 222 |
% \bibitem[Fir93]{FIRMAGE93} |
| 223 |
% Richard A.~Firmage. |
| 224 |
% \newblock \emph{The Alphabet Abecedarium}. |
| 225 |
% \newblock David R~Goodine, 1993. |
| 226 |
% |
| 227 |
% \bibitem[Fli98]{LETTRINE} |
| 228 |
% Daniel Flipo. |
| 229 |
% \newblock \emph{The LETTRINE package}. |
| 230 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 231 |
% \newblock 1998. |
| 232 |
% |
| 233 |
% \bibitem[Har95]{HARRIS95} |
| 234 |
% David Harris. |
| 235 |
% \newblock \emph{The Art of Calligraphy}. |
| 236 |
% \newblock DK Publishing, 1995. |
| 237 |
% |
| 238 |
% \bibitem[Jen95]{BETON} |
| 239 |
% Frank Jensen. |
| 240 |
% \newblock \emph{The BETON package}. |
| 241 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 242 |
% \newblock 1995. |
| 243 |
% |
| 244 |
% \bibitem[Joh71]{JOHNSTON75} |
| 245 |
% Edward Johnston (ed. Heather Child). |
| 246 |
% \newblock \emph{Formal Penship and Other Papers}. |
| 247 |
% \newblock Penthalic, 1971. |
| 248 |
% |
| 249 |
% \bibitem[Knu87]{CM} |
| 250 |
% Donald E.~Knuth. |
| 251 |
% \newblock \emph{Computer Modern Typefaces}. |
| 252 |
% \newblock Addison-Wesley, 1987. |
| 253 |
% |
| 254 |
% \bibitem[Knu92]{METAFONT} |
| 255 |
% Donald E.~Knuth. |
| 256 |
% \newblock \emph{The METAFONTbook}. |
| 257 |
% \newblock Addison-Wesley, 1992. |
| 258 |
% |
| 259 |
% \bibitem[GMS94]{GOOSSENS94} |
| 260 |
% Michel Goossens, Frank Mittelbach, and Alexander Samarin. |
| 261 |
% \newblock \emph{The LaTeX Companion}. |
| 262 |
% \newblock Addison-Wesley Publishing Company, 1994. |
| 263 |
% |
| 264 |
% \bibitem[Tho75]{THOMAS75} |
| 265 |
% Alan G.~Thomas. |
| 266 |
% \newblock \emph{Great Books and Book Collectors}. |
| 267 |
% \newblock Weidenfield and Nichoson, 1975. |
| 268 |
% |
| 269 |
% \bibitem[Wil99]{DOCMFP} |
| 270 |
% Peter R.~Wilson. |
| 271 |
% \newblock \emph{The DOCMFP Package}. |
| 272 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 273 |
% \newblock 1999. |
| 274 |
% |
| 275 |
% \bibitem[Wil99b]{ROMANNUM} |
| 276 |
% Peter R.~Wilson. |
| 277 |
% \newblock \emph{The ROMANNUM Package}. |
| 278 |
% \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}). |
| 279 |
% \newblock 1999. |
| 280 |
% |
| 281 |
% \end{thebibliography} |
| 282 |
% \PrintIndex |
| 283 |
% } |
| 284 |
% |
| 285 |
% |
| 286 |
% \section{The base parameter file} |
| 287 |
% |
| 288 |
% We deal with the parameter files first, and start by announcing |
| 289 |
% what they are for. The \thisfont{} font comes in three sizes and also as a normal |
| 290 |
% and a bold font. |
| 291 |
% \begin{macrocode} |
| 292 |
%<*base7|base10|base17|base7b|base10b|base17b> |
| 293 |
%<base7>%%% AUNCL7.MF Artificial Uncial at 7 point design size. |
| 294 |
%<base10>%%% AUNCL10.MF Artificial Uncial at 10 point design size. |
| 295 |
%<base17>%%% AUNCL17.MF Artificial Uncial at 17 point design size. |
| 296 |
%<base7b>%%% AUNCLB7.MF Artificial Uncial Bold at 7 point design size. |
| 297 |
%<base10b>%%% AUNCLB10.MF Artificial Uncial Bold at 10 point design size. |
| 298 |
%<base17b>%%% AUNCLB17.MF Artificial Uncial Bold at 17 point design size. |
| 299 |
% |
| 300 |
% \end{macrocode} |
| 301 |
% Parameters from CMR are used as much as possible. We also |
| 302 |
% make sure that \Lpack{cmbase} is loaded as well as plain Metafont. |
| 303 |
% \begin{macrocode} |
| 304 |
if unknown cmbase: input cmbase fi |
| 305 |
|
| 306 |
%<base7>font_identifier:="AUNCL"; font_size 7pt#; |
| 307 |
%<base10>font_identifier:="AUNCL"; font_size 10pt#; |
| 308 |
%<base17>font_identifier:="AUNCL"; font_size 17.28pt#; |
| 309 |
%<base7b>font_identifier:="AUNCLB"; font_size 7pt#; |
| 310 |
%<base10b>font_identifier:="AUNCLB"; font_size 10pt#; |
| 311 |
%<base17b>font_identifier:="AUNCLB"; font_size 17.28pt#; |
| 312 |
|
| 313 |
% \end{macrocode} |
| 314 |
% |
| 315 |
% \DescribeVariable{jutstretch} |
| 316 |
% The CMR scaling for lowercase serifs wrt 17pt size. |
| 317 |
% \begin{macrocode} |
| 318 |
%<base7|base7b> jutstretch:=1.19; |
| 319 |
%<base10|base10b> jutstretch:=1.152; |
| 320 |
%<base17|base17b> jutstretch:=1.0; |
| 321 |
% \end{macrocode} |
| 322 |
% |
| 323 |
% \DescribeVariable{stemstretch} |
| 324 |
% The CMR scaling for lowercase stem widths wrt 17pt size. |
| 325 |
% \begin{macrocode} |
| 326 |
%<base7|base7b> stemstretch:=1.50; |
| 327 |
%<base10|base10b> stemstretch:=1.31; |
| 328 |
%<base17|base17b> stemstretch:=1.0; |
| 329 |
% \end{macrocode} |
| 330 |
% |
| 331 |
% \DescribeVariable{caprat} |
| 332 |
% The scaling for `capitals' wrt `lowercase'. This is pretty much a guess. |
| 333 |
% \begin{macrocode} |
| 334 |
caprat:=1.25; % ratio of capital height to minuscule height |
| 335 |
% \end{macrocode} |
| 336 |
% |
| 337 |
% \DescribeVariable{cap_jutstretch} |
| 338 |
% The CMR scaling for uppercase serifs wrt 17pt size. |
| 339 |
% \begin{macrocode} |
| 340 |
%<base7|base7b> cap_jutstretch:=1.3; |
| 341 |
%<base10|base10b> cap_jutstretch:=1.2; |
| 342 |
%<base17|base17b> cap_jutstretch:=1.0; |
| 343 |
% \end{macrocode} |
| 344 |
% |
| 345 |
% \DescribeVariable{cap_stemstretch} |
| 346 |
% The CMR scaling for uppercase stem width wrt 17pt size. |
| 347 |
% \begin{macrocode} |
| 348 |
%<base7|base7b> cap_stemstretch:=1.45; |
| 349 |
%<base10|base10b> cap_stemstretch:=1.31; |
| 350 |
%<base17|base17b> cap_stemstretch:=1.0; |
| 351 |
% \end{macrocode} |
| 352 |
% |
| 353 |
% \DescribeVariable{bfudge} |
| 354 |
% Letter width scaling for bold font wrt normal font. |
| 355 |
% \begin{macrocode} |
| 356 |
%<base7|base10|base17> bfudge:=1.0; |
| 357 |
%<base7b|base10b|base17b> bfudge:=1.2; |
| 358 |
% \end{macrocode} |
| 359 |
% |
| 360 |
% \DescribeVariable{szfudge} |
| 361 |
% Width scaling wrt 17pt letter width. |
| 362 |
% \begin{macrocode} |
| 363 |
%<base7|base7b> szfudge:=1.18; |
| 364 |
%<base10|base10b> szfudge:=1.0; |
| 365 |
%<base17|base17b> szfudge:=1.0; |
| 366 |
% \end{macrocode} |
| 367 |
% |
| 368 |
% \DescribeVariable{hstretch} |
| 369 |
% Horizontal stretching factor wrt 17pt size letter width. |
| 370 |
% \begin{macrocode} |
| 371 |
hstretch:=szfudge*bfudge; |
| 372 |
% \end{macrocode} |
| 373 |
% |
| 374 |
% \DescribeVariable{carol_height} |
| 375 |
% The x-height of the Carolingian minuscule font. |
| 376 |
% \begin{macrocode} |
| 377 |
%<base7|base7b> carol_height#:=108.5/36pt#; |
| 378 |
%<base10|base10b> carol_height#:=155/36pt#; |
| 379 |
%<base17|base17b> carol_height#:=268/36pt#; |
| 380 |
% \end{macrocode} |
| 381 |
% |
| 382 |
% \DescribeVariable{vstretch} |
| 383 |
% The height of this font wrt the Carolingian font. |
| 384 |
% \begin{macrocode} |
| 385 |
vstretch:=1.4; |
| 386 |
|
| 387 |
% \end{macrocode} |
| 388 |
% |
| 389 |
% \DescribeVariable{x_height} |
| 390 |
% The x-height of lower case letters. Scaled from the Carolingian font. |
| 391 |
% \begin{macrocode} |
| 392 |
x_height#:=vstretch*carol_height#; |
| 393 |
% \end{macrocode} |
| 394 |
% |
| 395 |
% \DescribeVariable{u} |
| 396 |
% The unit width. The CMR values are used. |
| 397 |
% \begin{macrocode} |
| 398 |
%<base7> u#:=15.5/36pt#; |
| 399 |
%<base10> u#:=20/36pt#; |
| 400 |
%<base17> u#:=32.5/36pt#; |
| 401 |
%<base7b> u#:=17.9/36pt#; |
| 402 |
%<base10b> u#:=23/36pt#; |
| 403 |
%<base17b> u#:=37/36pt#; |
| 404 |
% \end{macrocode} |
| 405 |
% |
| 406 |
% \DescribeVariable{width_adj} |
| 407 |
% \DescribeVariable{serif_fit} |
| 408 |
% \DescribeVariable{cap_serif_fit} |
| 409 |
% \DescribeVariable{letter_fit} |
| 410 |
% The majority of these parameters and values are constant. |
| 411 |
% They are for fine adjustements of characters. The CM values are used. |
| 412 |
% \begin{macrocode} |
| 413 |
width_adj#:=0pt#; % width adjustment for certain characters |
| 414 |
serif_fit#:=0pt#; % extra sidebar near lowercase serifs |
| 415 |
%<base7|base7b> cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs |
| 416 |
%<base10|base10b> cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs |
| 417 |
%<base17|base17b> cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs |
| 418 |
%<base7|base7b> letter_fit#:=0pt#; % extra space added to all sidebars |
| 419 |
%<base10|base10b> letter_fit#:=0pt#; % extra space added to all sidebars |
| 420 |
%<base17|base17b> letter_fit#:=-0.1pt#; % extra space added to all sidebars |
| 421 |
|
| 422 |
% \end{macrocode} |
| 423 |
% |
| 424 |
% \DescribeVariable{cap_height} |
| 425 |
% The height of capital letters. |
| 426 |
% \begin{macrocode} |
| 427 |
%<base7|base7b> cap_height#:=172.2/36pt#; % height of caps |
| 428 |
%<base10|base10b> cap_height#:=246/36pt#; % height of caps |
| 429 |
%<base17|base17b> cap_height#:=425/36pt#; % height of caps |
| 430 |
% \end{macrocode} |
| 431 |
% |
| 432 |
% \DescribeVariable{thickfudge} |
| 433 |
% The reciprocal of the font height in nib widths. Normal font height |
| 434 |
% is 5 nib widths and the bold font height is 3.5 nib widths. |
| 435 |
% \begin{macrocode} |
| 436 |
%<base7|base10|base17> thickfudge:=1/5; |
| 437 |
%<base7b|base10b|base17b> thickfudge:=1/3.5; |
| 438 |
% \end{macrocode} |
| 439 |
% |
| 440 |
% \DescribeVariable{thinfudge} |
| 441 |
% The nib sharpness. |
| 442 |
% \begin{macrocode} |
| 443 |
thinfudge:=1/6; |
| 444 |
% \end{macrocode} |
| 445 |
% |
| 446 |
% \DescribeVariable{thick} |
| 447 |
% The maximum nib width. |
| 448 |
% That is, the width of the thickest line that can be penned. |
| 449 |
% \begin{macrocode} |
| 450 |
thick#:=stemstretch*thickfudge*x_height#; % max pen breadth |
| 451 |
% \end{macrocode} |
| 452 |
% |
| 453 |
% \DescribeVariable{thin} |
| 454 |
% The nib thinness. |
| 455 |
% That is, the width of the thinnest line that can be penned. |
| 456 |
% \begin{macrocode} |
| 457 |
thin#:=thinfudge*thick#; |
| 458 |
% \end{macrocode} |
| 459 |
% |
| 460 |
% \DescribeVariable{pangle} |
| 461 |
% The pen angle (in degrees). |
| 462 |
% \begin{macrocode} |
| 463 |
pangle:=10; % pen angle |
| 464 |
% \end{macrocode} |
| 465 |
% |
| 466 |
% \DescribeVariable{asc_height} |
| 467 |
% The height of lower case ascenders. |
| 468 |
% \begin{macrocode} |
| 469 |
asc_height#:=4/3x_height#; |
| 470 |
% \end{macrocode} |
| 471 |
% |
| 472 |
% \DescribeVariable{desc_depth} |
| 473 |
% The depth of lower case descenders. |
| 474 |
% \begin{macrocode} |
| 475 |
desc_depth#:=2/3x_height#; |
| 476 |
% \end{macrocode} |
| 477 |
% |
| 478 |
% \DescribeVariable{fig_height} |
| 479 |
% The height of numerals. Make these midway between normal and capital |
| 480 |
% letters. |
| 481 |
% \begin{macrocode} |
| 482 |
fig_height#:=(0.5[1,caprat])*x_height#; |
| 483 |
% \end{macrocode} |
| 484 |
% |
| 485 |
% \DescribeVariable{fig_width} |
| 486 |
% The width of numerals. All numerals are the same width (roughly, an `o'). |
| 487 |
% \begin{macrocode} |
| 488 |
fig_width#:=hstretch*(x_height#); |
| 489 |
% \end{macrocode} |
| 490 |
% |
| 491 |
% \DescribeVariable{body_height} |
| 492 |
% The height of the tallest character. |
| 493 |
% \begin{macrocode} |
| 494 |
body_height#:=caprat*asc_height#; |
| 495 |
% \end{macrocode} |
| 496 |
% |
| 497 |
% \DescribeVariable{body_depth} |
| 498 |
% The depth of the lowest character. |
| 499 |
% \begin{macrocode} |
| 500 |
body_depth#:=caprat*desc_depth#; |
| 501 |
% \end{macrocode} |
| 502 |
% |
| 503 |
% \DescribeVariable{half_height} |
| 504 |
% Half the normal letter height. |
| 505 |
% \begin{macrocode} |
| 506 |
half_height#:=1/2x_height#; % half the height of x height letters |
| 507 |
|
| 508 |
% \end{macrocode} |
| 509 |
% |
| 510 |
% \DescribeVariable{side} |
| 511 |
% We might be using a square for the character design. |
| 512 |
% \begin{macrocode} |
| 513 |
side#:=x_height#; |
| 514 |
% \end{macrocode} |
| 515 |
% |
| 516 |
% \DescribeVariable{rule_thickness} |
| 517 |
% Thickness of rules (in math symbols). The CMR values are used. |
| 518 |
% \begin{macrocode} |
| 519 |
%<base7|base7b> rule_thickness#:=.34pt#; |
| 520 |
%<base10|base10b> rule_thickness#:=.4pt#; |
| 521 |
%<base17|base17b> rule_thickness#:=.6pt#; |
| 522 |
|
| 523 |
% \end{macrocode} |
| 524 |
% |
| 525 |
% \DescribeVariable{jutfudge} |
| 526 |
% Controls the protrusion of serifs. |
| 527 |
% \begin{macrocode} |
| 528 |
jutfudge:= 3/4; |
| 529 |
% \end{macrocode} |
| 530 |
% |
| 531 |
% \DescribeVariable{jut} |
| 532 |
% The lowercase serif protrusion. |
| 533 |
% \begin{macrocode} |
| 534 |
jut#:=jutstretch*jutfudge*thick#; |
| 535 |
% \end{macrocode} |
| 536 |
% |
| 537 |
% \DescribeVariable{srad} |
| 538 |
% |srad| with |0 < srad < 1| controls the serif radius. |
| 539 |
% \begin{macrocode} |
| 540 |
srad:=0.5; |
| 541 |
% \end{macrocode} |
| 542 |
% |
| 543 |
% \DescribeVariable{o} |
| 544 |
% Amount of overshoot for curves (as in an `o'). Use CMR values. |
| 545 |
% \begin{macrocode} |
| 546 |
%<base7|base7b> o#:=5/36pt#; |
| 547 |
%<base10|base10b> o#:=8/36pt#; |
| 548 |
%<base17|base17b> o#:=10/36pt#; |
| 549 |
|
| 550 |
% \end{macrocode} |
| 551 |
% |
| 552 |
% \DescribeVariable{slant} |
| 553 |
% |slant| is the amount the font slopes to the right. |
| 554 |
% \begin{macrocode} |
| 555 |
slant:=0; % tilt ratio $(\Delta x/\Delta y)$ |
| 556 |
|
| 557 |
% \end{macrocode} |
| 558 |
% |
| 559 |
% \DescribeVariable{monospace} |
| 560 |
% We are generating a variable-width font. |
| 561 |
% \begin{macrocode} |
| 562 |
monospace:=false; % should all characters have the same width? |
| 563 |
|
| 564 |
% \end{macrocode} |
| 565 |
% |
| 566 |
% \DescribeVariable{dot_size} |
| 567 |
% The size of (punctuation) dots. |
| 568 |
% \begin{macrocode} |
| 569 |
dot_size#:=5thin#; % size of dots |
| 570 |
% \end{macrocode} |
| 571 |
% |
| 572 |
% \DescribeVariable{comma_width} |
| 573 |
% The horizontal width of a comma. |
| 574 |
% \begin{macrocode} |
| 575 |
comma_width#:=2.5dot_size#; |
| 576 |
|
| 577 |
% \end{macrocode} |
| 578 |
% |
| 579 |
% \DescribeVariable{accent_ysize} |
| 580 |
% \DescribeVariable{accent_thickness} |
| 581 |
% |accent_ysize| is the height/depth of an accent and |accent_thickness| is |
| 582 |
% the width of the pen for drawing accents. |
| 583 |
% \begin{macrocode} |
| 584 |
accent_ysize#:=3/2thick#; |
| 585 |
accent_thickness#:=4/16[thin#,thick#]; |
| 586 |
% \end{macrocode} |
| 587 |
% |
| 588 |
% \DescribeVariable{accent_gap} |
| 589 |
% |accent_gap| is the space between the top of a character and the bottom |
| 590 |
% of a (top) accent. |
| 591 |
% \begin{macrocode} |
| 592 |
accent_gap#:=1/2accent_ysize#; |
| 593 |
|
| 594 |
% \end{macrocode} |
| 595 |
% |
| 596 |
% |
| 597 |
% |
| 598 |
% \DescribeVariable{accent_angle} |
| 599 |
% \DescribeVariable{sin_accent_angle} |
| 600 |
% \DescribeVariable{cos_accent_angle} |
| 601 |
% The angle that an accent makes with the horizontal, with its sin and cosine. |
| 602 |
% \begin{macrocode} |
| 603 |
accent_angle:=45; |
| 604 |
sin_accent_angle:= sind(accent_angle); |
| 605 |
cos_accent_angle:= cosd(accent_angle); |
| 606 |
|
| 607 |
% \end{macrocode} |
| 608 |
% |
| 609 |
% Finally, call the driver file for the font. |
| 610 |
% \begin{macrocode} |
| 611 |
generate auncltitle %% switch to the driver file |
| 612 |
|
| 613 |
% \end{macrocode} |
| 614 |
% |
| 615 |
% The end of this code section. |
| 616 |
% \begin{macrocode} |
| 617 |
%</base7|base10|base17|base7b|base10b|base17b> |
| 618 |
% \end{macrocode} |
| 619 |
% |
| 620 |
% \Finale |
| 621 |
% |
| 622 |
\endinput |
| 623 |
|
| 624 |
%% \CharacterTable |
| 625 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 626 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 627 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 628 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 629 |
%% Dollar \$ Percent \% Ampersand \& |
| 630 |
%% Acute accent \' Left paren \( Right paren \) |
| 631 |
%% Asterisk \* Plus \+ Comma \, |
| 632 |
%% Minus \- Point \. Solidus \/ |
| 633 |
%% Colon \: Semicolon \; Less than \< |
| 634 |
%% Equals \= Greater than \> Question mark \? |
| 635 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 636 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 637 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 638 |
%% Right brace \} Tilde \~} |
| 639 |
|
| 640 |
|