Debian Codegraph @

texmf-dist/source/fonts/bookhands/auncial.dtx

raw
1 % \iffalse meta-comment
2 %
3 % auncial.dtx
4 % Copyright 1999 Peter R. Wilson
5 %
6 % This program is provided under the terms of the
7 % LaTeX Project Public License distributed from CTAN
8 % archives in directory macros/latex/base/lppl.txt.
9 %
10 % Author: Peter Wilson (CUA) (now at: [email protected])
11 %
12 % If you do not have the docmfp package (available from CTAN in
13 % tex-archive/macros/latex/contrib/supported), comment out the
14 % \usepackage{docmfp} line below and uncomment the line following it.
15 %
16 %<*driver>
17 \documentclass{ltxdoc}
18 \usepackage{docmfp}
19 %%%%%% \providecommand{\DescribeVariable}[1]{} \newenvironment{routine}[1]{}{}
20 \EnableCrossrefs
21 \CodelineIndex
22 \setcounter{StandardModuleDepth}{1}
23 \begin{document}
24 \DocInput{auncial.dtx}
25 \end{document}
26 %</driver>
27 %
28 % \fi
29 %
30 % \CheckSum{132}
31 %
32 % \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath}
33 % \DoNotIndex{\@centercr,\@cite}
34 % \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue}
35 % \DoNotIndex{\@input,\@ixpt,\@m}
36 % \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint}
37 % \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb}
38 % \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt}
39 % \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt}
40 % \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace}
41 % \DoNotIndex{\advance,\Alph,\alph}
42 % \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box}
43 % \DoNotIndex{\bullet}
44 % \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption}
45 % \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass}
46 % \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist}
47 % \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup}
48 % \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter}
49 % \DoNotIndex{\fbox}
50 % \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef}
51 % \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule}
52 % \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi}
53 % \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi}
54 % \DoNotIndex{\input}
55 % \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark}
56 % \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright}
57 % \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment}
58 % \DoNotIndex{\NeedsTeXFormat,\newdimen}
59 % \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number}
60 % \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@}
61 % \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip}
62 % \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions}
63 % \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright}
64 % \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font}
65 % \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman}
66 % \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength}
67 % \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space}
68 % \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase}
69 % \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt}
70 % \DoNotIndex{\viipt,\vipt,\vskip,\vspace}
71 % \DoNotIndex{\wd,\xiipt,\year,\z@}
72 %
73 % \changes{v1.0}{1999/05/22}{First public release}
74 % \changes{v1.0a}{2001/01/02}{Fixed missing * in fd files}
75 %
76 % ^^A \def\fileversion{v1.0}
77 % ^^A \def\filedate{1999/05/22}
78 % \def\fileversion{v1.0a}
79 % \def\filedate{2001/01/02}
80 % \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
81 % \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
82 % \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
83 % \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter
84 % \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle
85 % \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment
86 % \newcommand*{\AD}{\textsc{ad}}
87 % \newcommand*{\thisfont}{Artificial Uncial}
88 %
89 % \title{The \Lpack{Artificial Uncial} fonts\thanks{This
90 % file has version number \fileversion, last revised
91 % \filedate.}}
92 %
93 % \author{%
94 % Peter Wilson\\
95 % Catholic University of America \\
96 % Now at \texttt{[email protected]}
97 % }
98 % \date{\filedate}
99 % \maketitle
100 % \begin{abstract}
101 % The \Lpack{auncial} and \Lpack{allauncl} packages provide a set of
102 % Metafont \thisfont{} book-hands
103 % as used
104 % for manuscripts in the 6th to the 10th century. This is one in a series
105 % of manuscript fonts.
106 % \end{abstract}
107 % \tableofcontents
108 % \listoftables
109 %
110 % \StopEventually{}
111 %
112 %
113 %
114 % \section{Introduction}
115 %
116 % The \Lpack{auncial} and \Lpack{allauncl} packages provide a Metafont~\cite{METAFONT} version
117 % of the \thisfont{} manuscript book-hand that was in use between about the
118 % sixth and tenth centuries~\AD. It is part of a project to provide fonts
119 % covering the major manuscript hands between the first century~\AD{} and
120 % the invention of printing. The principal resources used in this project
121 % are listed in the Bibliography.
122 %
123 % This manual is typeset according to the conventions of the
124 % \LaTeX{} \textsc{docstrip} utility which enables the automatic
125 % extraction of the \LaTeX{} macro source files~\cite{GOOSSENS94}.
126 % The \Lpack{docmfp} package is used for documenting the Metafont portions
127 % of the distribution~\cite{DOCMFP}.
128 %
129 % Section~\ref{sec:usc} describes the usage of the package.
130 % Commented code for the fonts is in Sections~\ref{sec:mf} and~\ref{sec:fd}
131 % and source code for the package is in Section~\ref{sec:code}.
132 %
133 % \subsection{Manuscript book-hands}
134 %
135 % Before the invention of printing all books were written by hand. The book-hands
136 % used by the scribes and copyists for the manuscripts changed as time
137 % went on. Table~\ref{tab:1} lists some of the common book-hands which were used
138 % between the 1st and 15th centuries. The later book-hands formed the basis of the
139 % fonts used by the early printers, which in turn form the basis of the printing
140 % fonts in use today.
141 %
142 % The manuscript book-hands were written with a broad nibbed reed or quill
143 % pen. Among the distinguishing characteristics of a hand, apart from the
144 % actual shape of the letters, are the angle of the pen (which controls the
145 % variation between thick and thin strokes) and the height of a letter compared
146 % to the width of the nib. The lower the ratio of the letter height to nib
147 % width, the more condensed is the script. The scripts also varied in their
148 % typical height.
149 %
150 % Table~\ref{tab:1} gives an `average' x-height for each
151 % script, which I obtained by measuring a sample of photographs of
152 % manuscripts written in the various hands. About a dozen examples
153 % of each book-hand were measured. This figure should not be taken too
154 % seriously.
155 %
156 % There was not a sharp division between the use of one hand and another.
157 % Many manuscripts exhibit a variety of hands in the same document. For example,
158 % the scribe writing in an Uncial hand may have used Roman Rustic letters
159 % for capitals. Usually the same pen was used for the two different scripts.
160 %
161 % Generally speaking, as a hand got older it became more embelished, and
162 % therefore took longer to write. As this happened a new hand would appear that
163 % was faster, and which would eventually make the earlier one obsolete.
164 %
165 % Many of the book-hands were single-cased; that is, they did not have an
166 % upper- and lower-case as we do nowadays in Western scripts. On the other
167 % hand, a script might be majuscule or minuscule. A \textit{majuscule} script
168 % is one, like our upper-case, where the letters are drawn between two lines
169 % and are of a uniform height with no ascenders or descenders.
170 % A \textit{minuscule} script, like our lower-case, is drawn between four lines
171 % and has ascenders and descenders.
172 %
173 % \begin{table}
174 % \centering
175 % \caption{The main manuscript book-hands} \label{tab:1}
176 % \begin{tabular}{lccccc} \hline
177 % Name & Century & x-height & Height & Pen & Normalised \\
178 % & & (mm) & (nib widths) & angle & height \\ \hline
179 % Roman Rustic & 1--6 & 5.7 & 4--6 & 45 & 1.90 \\
180 % Uncial & 3--6 & 4.1 & 4--5 & 30 & 1.37 \\
181 % Half Uncial & 3--9 & 3.2 & 3--6 & 20--30 & 1.07 \\
182 % Artificial Uncial & 6--10 & 4.2 & 3--6 & 10 & 1.40 \\
183 % Insular majuscule & 6--9 & 4.2 & 5 & 0--20 & 1.40 \\
184 % Insular minuscule & 6 onward & 4.1 & 5--6 & 45--70 & 1.37 \\
185 % Carolingian minuscule & 8--12 & 3.0 & 3--5 & 45 & 1.00 \\
186 % Early Gothic & 11--12 & 3.8 & 4--6 & 20--45 & 1.27 \\
187 % Gothic Textura & 13--15 & 3.9 & 3--5 & 30--45 & 1.30 \\
188 % Gothic Prescius & 13 onward & 3.3 & 4--5 & 45 & 1.10 \\
189 % Rotunda & 13--15 & 3.2 & 4--6 & 30 & 1.07 \\
190 % Humanist minuscule & 14 onward & 3.0 & 4--5 & 30--40 & 1.00 \\ \hline
191 % \end{tabular}
192 % \end{table}
193 %
194 % During the period under consideration arabic numerals were effectively
195 % not used. At the beginning they were unknown and even though some knew
196 % of them towards the end, the glyphs used for them are not recognisable ---
197 % to me they look somewhat like cryllic letters --- and each locality
198 % and time had its own highly individualistic rendering. The general rule
199 % when using one of these book-hands is to write all numbers using
200 % roman numerals.
201 %
202 % The Roman alphabet consisted of 23 capital letters --- the J, U and W
203 % were absent. The book-hands initially used both a `u' and a `v' interchangeably
204 % but by the 10th century the practice had become to use the `v' before a vowel
205 % and the `u' otherwise. The letter corresponding to the W sound appeared
206 % in England around the 7th century in
207 % the form of the runic \textit{wen} character and by about the 11th century
208 % the `w' chacter was generally used. The `J' is the newest letter of all, not
209 % appearing until about the mid 16th century.
210 %
211 % In the first century punctuation was virtually unknown, and typically
212 % would not even be any additional space between individual words, never
213 % mind denoting ends of sentences. Sometimes a dot at mid-height would be
214 % used as a word seperator, or to mark off the end of a paragraph. Effectively
215 % a text was a continuous stream of letters. By the time that printing was
216 % invented, though, all of our modern punctuation marks were being used.
217 %
218 % Among all these manuscript hands, the Carolingian minuscule is the
219 % most important as our modern fonts are based on its letter shapes, and it is
220 % also at this point in time where the division occured between the black letter
221 % scripts as used even today in Germany, and the lighter fonts used elesewhere.
222 % The Rotunda and Humanist minuscule hands were developed in Italy and were
223 % essentially a rediscovery of the Carolingian minusucle. Guthenberg took the
224 % Gothic scripts as the model for his types. Later printers,
225 % such as Nicholas Jenson of Venice,
226 % took the Humanist scripts as their models.
227 %
228 %
229 % \subsection{The \thisfont{} script}
230 %
231 % The \thisfont{} hand, which is a minuscule script, was in use for some five
232 % centuries and was, in a sense, the sucessor to the Uncial book-hand. It was
233 % a much more calligraphic script, and as time went on it became even more
234 % decorated, until it was too time consuming to use. Usually the
235 % lettering in a manuscript was all one size. If the scribe felt the need
236 % for `capital' letters then, using the same pen, would either write a larger
237 % \thisfont{} letter or a Roman Capital letter. The capitals were only used at
238 % the start of a line, and were either fully or partially in the margin. The
239 % capitals were large, perhaps two to four times the size of a normal letter,
240 % and were the start of versals. As versals for use with other book-hands,
241 % the script lived on until the end of the Middle Ages.
242 %
243 % I have provided a set of `capital' letters that are only a little larger
244 % than the normal letters for use in running text. If you want to typeset
245 % using versals, then I suggest Daniel Flipo's \Lpack{lettrine}
246 % package~\cite{LETTRINE}.
247 % During the time the \thisfont{} script was used the alphabet only had 24
248 % letters. I have included the missing J.
249 %
250 % Arabic numerals were unknown at this time, so all numbers were written
251 % using the roman numbering system. I have provided Uncial versions of
252 % the arabic digits.
253 %
254 % Punctuation was used, but not with the frequency of today.
255 % A sentence might be ended with
256 % a dot at mid-height or a paragraph ended with a colon, also at mid-height.
257 % The start
258 % of a paragraph might be marked with a capital letter (as a versal).
259 % The comma was was a small pointed
260 % slash; the semi-colon was known, as was the single quotation
261 % mark which was represented by a raised comma.
262 %
263 %
264 % \section{The \Lpack{auncial} and \Lpack{allauncl} packages} \label{sec:usc}
265 %
266 % The \thisfont{} font family is called |auncl|. The font is supplied in both
267 % OT1 and T1 encodings.
268 %
269 % \subsection{The \Lpack{auncial} package}
270 %
271 % This is intended for the occasions when some short pieces of text have
272 % to be written in \thisfont{} while the majority of the document is in another
273 % font. The normal baselineskips are used.
274 %
275 % \DescribeMacro{\aunclfamily}
276 % The |\aunclfamily| declaration starts typesetting with the \thisfont{} fonts.
277 % Use of the \thisfont{} font will continue until either there is another |\...family|
278 % declaration or the current group (e.g., environment) is closed.
279 %
280 % \DescribeMacro{\textuncl}
281 % The command |\textuncl{|\meta{text}|}| will typeset \meta{text} using the
282 % \thisfont{} fonts.
283 %
284 % \subsection{The \Lpack{allauncl} package}
285 %
286 %
287 % This package is for when the entire document will be typeset with the
288 % \thisfont font. The baselineskips are set to those appropriate to the
289 % book-hand.
290 %
291 % This is a minimalist package. Apart from declaring \thisfont{} to be the
292 % default font and setting the baselineskips appropriately, it makes no other
293 % alterations.
294 % Vertical spacing
295 % before and after section titles and before and after lists, etc., will be
296 % too small as the \LaTeX{} design assumes a font comparable in size to
297 % normal printing fonts, and the book-hand is much taller.
298 % To capture more of the flavour of the time, all numbers
299 % should be written using roman numerals.
300 % The \Lpack{romannum} package~\cite{ROMANNUM}
301 % can be used so that \LaTeX{} will typeset the numbers that it generates,
302 % like sectioning or caption numbers, using roman numerals instead of arabic
303 % digits.
304 %
305 % \DescribeMacro{\cmrfamily}
306 % \DescribeMacro{\textcmr}
307 % \DescribeMacro{\cmssfamily}
308 % \DescribeMacro{\textcmss}
309 % \DescribeMacro{\cmttfamily}
310 % \DescribeMacro{\textcmtt}
311 % The |...family| declarations start typesetting with the Computer Modern Roman
312 % (|\cmrfamily|), the Computer Modern Sans (|\cmssfamily|), and the Computer
313 % Modern Typewriter (|\cmttfamily|) font families. The |\textcm..{|\meta{text}|}|
314 % commands will typeset \meta{text} in the corresponding Computer Modern font.
315 %
316 % The \Lpack{allauncl} package automatically loads the \Lpack{auncial} package,
317 % so its font commands are available if necessary.
318 %
319 %
320 %
321 % \section{The Metafont code} \label{sec:mf}
322 %
323 %
324 % As previously noted, this work is part of a larger project to provide
325 % fonts covering the main manuscript book-hands. As such, one of the
326 % aims is to produce a coordinated set of fonts, especially as multiple
327 % hands might be used in a single document.
328 %
329 % Noting that the hands tend to be somewhat larger than the typical 10pt
330 % size (where the x-height is approximately 1.5mm) used for modern books,
331 % I have also designed the fonts
332 % at a larger than normal size, then applied some non-linear factors when reducing
333 % them down to a 10pt size.
334 % Further, I have used the height of the Carolingian minuscule as a
335 % normalising factor when deciding on the absolute height of any particular
336 % script. The x-height of the Carolingian font is made equal to the
337 % x-height of the Computer Modern Roman (CMR) font.
338 %
339 % Modern fonts are effectively drawn. That is, the outline of the letter is
340 % drawn carefully and the center is filled with ink. This is shown to good
341 % effect in the Metafont code for the Computer Modern fonts~\cite{CM}.
342 % In contrast, the manuscript letters were inked by single pen strokes in
343 % a calligraphic manner. I have tried to repeat this calligraphic style
344 % in the Metafont code.
345 %
346 % As much as possible I have tried to use parameter values from the
347 % Computer Modern Roman (CMR) fonts in order to reduce possible
348 % infelicities if the CM and manuscript fonts are used together. However,
349 % few of the CMR parameters are applicable to the calligraphic style.
350 %
351 %
352 % \subsection{The parameter file}
353 %
354 % We deal with the parameter files first, and start by announcing
355 % what they are for. The \thisfont{} font comes in three sizes and also as a normal
356 % and a bold font.
357 % \begin{macrocode}
358 %<*base7|base10|base17|base7b|base10b|base17b>
359 %<base7>%%% AUNCL7.MF Artificial Uncial at 7 point design size.
360 %<base10>%%% AUNCL10.MF Artificial Uncial at 10 point design size.
361 %<base17>%%% AUNCL17.MF Artificial Uncial at 17 point design size.
362 %<base7b>%%% AUNCLB7.MF Artificial Uncial Bold at 7 point design size.
363 %<base10b>%%% AUNCLB10.MF Artificial Uncial Bold at 10 point design size.
364 %<base17b>%%% AUNCLB17.MF Artificial Uncial Bold at 17 point design size.
365 %
366 % \end{macrocode}
367 % Parameters from CMR are used as much as possible. We also
368 % make sure that \Lpack{cmbase} is loaded as well as plain Metafont.
369 % \begin{macrocode}
370 if unknown cmbase: input cmbase fi
371
372 %<base7>font_identifier:="AUNCL"; font_size 7pt#;
373 %<base10>font_identifier:="AUNCL"; font_size 10pt#;
374 %<base17>font_identifier:="AUNCL"; font_size 17.28pt#;
375 %<base7b>font_identifier:="AUNCLB"; font_size 7pt#;
376 %<base10b>font_identifier:="AUNCLB"; font_size 10pt#;
377 %<base17b>font_identifier:="AUNCLB"; font_size 17.28pt#;
378
379 % \end{macrocode}
380 %
381 % \DescribeVariable{jutstretch}
382 % The CMR scaling for lowercase serifs wrt 17pt size.
383 % \begin{macrocode}
384 %<base7|base7b> jutstretch:=1.19;
385 %<base10|base10b> jutstretch:=1.152;
386 %<base17|base17b> jutstretch:=1.0;
387 % \end{macrocode}
388 %
389 % \DescribeVariable{stemstretch}
390 % The CMR scaling for lowercase stem widths wrt 17pt size.
391 % \begin{macrocode}
392 %<base7|base7b> stemstretch:=1.50;
393 %<base10|base10b> stemstretch:=1.31;
394 %<base17|base17b> stemstretch:=1.0;
395 % \end{macrocode}
396 %
397 % \DescribeVariable{caprat}
398 % The scaling for `capitals' wrt `lowercase'. This is pretty much a guess.
399 % \begin{macrocode}
400 caprat:=1.25; % ratio of capital height to minuscule height
401 % \end{macrocode}
402 %
403 % \DescribeVariable{cap_jutstretch}
404 % The CMR scaling for uppercase serifs wrt 17pt size.
405 % \begin{macrocode}
406 %<base7|base7b> cap_jutstretch:=1.3;
407 %<base10|base10b> cap_jutstretch:=1.2;
408 %<base17|base17b> cap_jutstretch:=1.0;
409 % \end{macrocode}
410 %
411 % \DescribeVariable{cap_stemstretch}
412 % The CMR scaling for uppercase stem width wrt 17pt size.
413 % \begin{macrocode}
414 %<base7|base7b> cap_stemstretch:=1.45;
415 %<base10|base10b> cap_stemstretch:=1.31;
416 %<base17|base17b> cap_stemstretch:=1.0;
417 % \end{macrocode}
418 %
419 % \DescribeVariable{bfudge}
420 % Letter width scaling for bold font wrt normal font.
421 % \begin{macrocode}
422 %<base7|base10|base17> bfudge:=1.0;
423 %<base7b|base10b|base17b> bfudge:=1.2;
424 % \end{macrocode}
425 %
426 % \DescribeVariable{szfudge}
427 % Width scaling wrt 17pt letter width.
428 % \begin{macrocode}
429 %<base7|base7b> szfudge:=1.18;
430 %<base10|base10b> szfudge:=1.0;
431 %<base17|base17b> szfudge:=1.0;
432 % \end{macrocode}
433 %
434 % \DescribeVariable{hstretch}
435 % Horizontal stretching factor wrt 17pt size letter width.
436 % \begin{macrocode}
437 hstretch:=szfudge*bfudge;
438 % \end{macrocode}
439 %
440 % \DescribeVariable{carol_height}
441 % The x-height of the Carolingian minuscule font.
442 % \begin{macrocode}
443 %<base7|base7b> carol_height#:=108.5/36pt#;
444 %<base10|base10b> carol_height#:=155/36pt#;
445 %<base17|base17b> carol_height#:=268/36pt#;
446 % \end{macrocode}
447 %
448 % \DescribeVariable{vstretch}
449 % The height of this font wrt the Carolingian font.
450 % \begin{macrocode}
451 vstretch:=1.4;
452
453 % \end{macrocode}
454 %
455 % \DescribeVariable{x_height}
456 % The x-height of lower case letters. Scaled from the Carolingian font.
457 % \begin{macrocode}
458 x_height#:=vstretch*carol_height#;
459 % \end{macrocode}
460 %
461 % \DescribeVariable{u}
462 % The unit width. The CMR values are used.
463 % \begin{macrocode}
464 %<base7> u#:=15.5/36pt#;
465 %<base10> u#:=20/36pt#;
466 %<base17> u#:=32.5/36pt#;
467 %<base7b> u#:=17.9/36pt#;
468 %<base10b> u#:=23/36pt#;
469 %<base17b> u#:=37/36pt#;
470 % \end{macrocode}
471 %
472 % \DescribeVariable{width_adj}
473 % \DescribeVariable{serif_fit}
474 % \DescribeVariable{cap_serif_fit}
475 % \DescribeVariable{letter_fit}
476 % The majority of these parameters and values are constant.
477 % They are for fine adjustements of characters. The CM values are used.
478 % \begin{macrocode}
479 width_adj#:=0pt#; % width adjustment for certain characters
480 serif_fit#:=0pt#; % extra sidebar near lowercase serifs
481 %<base7|base7b> cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs
482 %<base10|base10b> cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs
483 %<base17|base17b> cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs
484 %<base7|base7b> letter_fit#:=0pt#; % extra space added to all sidebars
485 %<base10|base10b> letter_fit#:=0pt#; % extra space added to all sidebars
486 %<base17|base17b> letter_fit#:=-0.1pt#; % extra space added to all sidebars
487
488 % \end{macrocode}
489 %
490 % \DescribeVariable{cap_height}
491 % The height of capital letters.
492 % \begin{macrocode}
493 %<base7|base7b> cap_height#:=172.2/36pt#; % height of caps
494 %<base10|base10b> cap_height#:=246/36pt#; % height of caps
495 %<base17|base17b> cap_height#:=425/36pt#; % height of caps
496 % \end{macrocode}
497 %
498 % \DescribeVariable{thickfudge}
499 % The reciprocal of the font height in nib widths. Normal font height
500 % is 5 nib widths and the bold font height is 3.5 nib widths.
501 % \begin{macrocode}
502 %<base7|base10|base17> thickfudge:=1/5;
503 %<base7b|base10b|base17b> thickfudge:=1/3.5;
504 % \end{macrocode}
505 %
506 % \DescribeVariable{thinfudge}
507 % The nib sharpness.
508 % \begin{macrocode}
509 thinfudge:=1/6;
510 % \end{macrocode}
511 %
512 % \DescribeVariable{thick}
513 % The maximum nib width.
514 % That is, the width of the thickest line that can be penned.
515 % \begin{macrocode}
516 thick#:=stemstretch*thickfudge*x_height#; % max pen breadth
517 % \end{macrocode}
518 %
519 % \DescribeVariable{thin}
520 % The nib thinness.
521 % That is, the width of the thinnest line that can be penned.
522 % \begin{macrocode}
523 thin#:=thinfudge*thick#;
524 % \end{macrocode}
525 %
526 % \DescribeVariable{pangle}
527 % The pen angle (in degrees).
528 % \begin{macrocode}
529 pangle:=10; % pen angle
530 % \end{macrocode}
531 %
532 % \DescribeVariable{asc_height}
533 % The height of lower case ascenders.
534 % \begin{macrocode}
535 asc_height#:=4/3x_height#;
536 % \end{macrocode}
537 %
538 % \DescribeVariable{desc_depth}
539 % The depth of lower case descenders.
540 % \begin{macrocode}
541 desc_depth#:=2/3x_height#;
542 % \end{macrocode}
543 %
544 % \DescribeVariable{fig_height}
545 % The height of numerals. Make these midway between normal and capital
546 % letters.
547 % \begin{macrocode}
548 fig_height#:=(0.5[1,caprat])*x_height#;
549 % \end{macrocode}
550 %
551 % \DescribeVariable{fig_width}
552 % The width of numerals. All numerals are the same width (roughly, an `o').
553 % \begin{macrocode}
554 fig_width#:=hstretch*(x_height#);
555 % \end{macrocode}
556 %
557 % \DescribeVariable{body_height}
558 % The height of the tallest character.
559 % \begin{macrocode}
560 body_height#:=caprat*asc_height#;
561 % \end{macrocode}
562 %
563 % \DescribeVariable{body_depth}
564 % The depth of the lowest character.
565 % \begin{macrocode}
566 body_depth#:=caprat*desc_depth#;
567 % \end{macrocode}
568 %
569 % \DescribeVariable{half_height}
570 % Half the normal letter height.
571 % \begin{macrocode}
572 half_height#:=1/2x_height#; % half the height of x height letters
573
574 % \end{macrocode}
575 %
576 % \DescribeVariable{side}
577 % We might be using a square for the character design.
578 % \begin{macrocode}
579 side#:=x_height#;
580 % \end{macrocode}
581 %
582 % \DescribeVariable{rule_thickness}
583 % Thickness of rules (in math symbols). The CMR values are used.
584 % \begin{macrocode}
585 %<base7|base7b> rule_thickness#:=.34pt#;
586 %<base10|base10b> rule_thickness#:=.4pt#;
587 %<base17|base17b> rule_thickness#:=.6pt#;
588
589 % \end{macrocode}
590 %
591 % \DescribeVariable{jutfudge}
592 % Controls the protrusion of serifs.
593 % \begin{macrocode}
594 jutfudge:= 3/4;
595 % \end{macrocode}
596 %
597 % \DescribeVariable{jut}
598 % The lowercase serif protrusion.
599 % \begin{macrocode}
600 jut#:=jutstretch*jutfudge*thick#;
601 % \end{macrocode}
602 %
603 % \DescribeVariable{srad}
604 % |srad| with |0 < srad < 1| controls the serif radius.
605 % \begin{macrocode}
606 srad:=0.5;
607 % \end{macrocode}
608 %
609 % \DescribeVariable{o}
610 % Amount of overshoot for curves (as in an `o'). Use CMR values.
611 % \begin{macrocode}
612 %<base7|base7b> o#:=5/36pt#;
613 %<base10|base10b> o#:=8/36pt#;
614 %<base17|base17b> o#:=10/36pt#;
615
616 % \end{macrocode}
617 %
618 % \DescribeVariable{slant}
619 % |slant| is the amount the font slopes to the right.
620 % \begin{macrocode}
621 slant:=0; % tilt ratio $(\Delta x/\Delta y)$
622
623 % \end{macrocode}
624 %
625 % \DescribeVariable{monospace}
626 % We are generating a variable-width font.
627 % \begin{macrocode}
628 monospace:=false; % should all characters have the same width?
629
630 % \end{macrocode}
631 %
632 % \DescribeVariable{dot_size}
633 % The size of (punctuation) dots.
634 % \begin{macrocode}
635 dot_size#:=5thin#; % size of dots
636 % \end{macrocode}
637 %
638 % \DescribeVariable{comma_width}
639 % The horizontal width of a comma.
640 % \begin{macrocode}
641 comma_width#:=2.5dot_size#;
642
643 % \end{macrocode}
644 %
645 % Finally, call the driver file for the font.
646 % \begin{macrocode}
647 generate auncltitle %% switch to the driver file
648
649 % \end{macrocode}
650 %
651 % The end of this code section.
652 % \begin{macrocode}
653 %</base7|base10|base17|base7b|base10b|base17b>
654 % \end{macrocode}
655 %
656 %
657 % \subsection{The driver file}
658 %
659 % The driver file sets up the font parameters and also contains
660 % the macros used in the definition of the characters.
661 %
662 % \begin{macrocode}
663 %<*mfd>
664 % This is UNCLTITLE.MF for the Artificial Uncial font.
665 % This makes a short font.
666 % This file also contains special macros universally needed in the
667 % font but either not in the cmbase.mf file or modifications of these.
668 %
669 % \end{macrocode}
670 %
671 % \begin{routine}{makebox}
672 % This is a new version of the \Lpack{cmbase.mf} |makebox| macro.
673 % Essentially, as we are only generating a single case font, we don't
674 % need all the horizontals for the CMR characters.
675 %
676 % \begin{macrocode}
677 % A new version of cmbase.mf makebox macro
678 def makebox(text rule) =
679 for y=0,half_height,cap_height,body_height,x_height,-desc_depth,-body_depth:
680 rule((l,y)t_,(r,y)t_); endfor % horizontals
681 for x=l,r: rule((x,-body_depth)t_,(x,body_height)t_); endfor % verticals
682 for x=u*(1+floor(1/u)) step u until r-1:
683 rule((x,-body_depth)t_,(x,body_height)t_); endfor % more verticals
684 if charic<>0:
685 rule((r+charic*pt,h.o_),(r+charic*pt,.5h.o_)); fi % italic correction
686 enddef;
687
688 % \end{macrocode}
689 % \end{routine}
690 %
691 % \begin{routine}{proofpcbb}
692 % The macro |proofpcbb(S, xoff, yoff)| draws crosses at the corners of the
693 % square, and at the bottom and top midpoints, where the point |zS| is at
694 % position |(xoff,yoff)| in the square.
695 % \begin{macrocode}
696
697 % A macro to delineate a letter's bounding square in proof mode.
698 % Point z$ is at (xoff,yoff) in the bounding square.
699 def proofpcbb(suffix $)(expr xoff, yoff) =
700 if proofing > 0:
701 x$bl = x$ - xoff; y$bl = y$ - yoff; % Bottom Left Hand Corner
702 z$br = (x$bl+side, y$bl); % BRHC
703 z$tr = (x$bl+side, y$bl+side); % TRHC
704 z$tl = (x$bl, y$bl+side); % TLHC
705 z$bc = 1/2[z$bl,z$br]; z$tc = 1/2[z$tl,z$tr]; % horizontal mid points
706 pair hc, vc;
707 hc = (2u,0); vc = (0,2u);
708 pickup pensquare scaled 2;
709 for s = z$bl, z$br, z$tr, z$tl, z$bc, z$tc:
710 draw s-hc--s+hc;
711 draw s-vc--s+vc;
712 endfor
713 fi
714 enddef;
715
716 % \end{macrocode}
717 % \end{routine}
718 %
719 %
720 %
721 % \begin{routine}{auncial_font_setup}
722 % This macro contains the set up for the \thisfont{} fonts.
723 % \begin{macrocode}
724
725 def auncial_font_setup= % contains special stuff for auncial fonts
726 define_pixels(side,half_height,carol_height,comma_width);
727 define_pixels(u,dot_size,letter_size,cap_height,width_adj,serif_fit,
728 cap_serif_fit,jut,cap_jut);
729 define_pixels(fig_width);
730 define_whole_pixels(letter_fit);
731 define_whole_vertical_pixels(body_height,asc_height,cap_height,x_height,
732 desc_depth,body_depth,fig_height);
733 define_corrected_pixels(o);
734 define_blacker_pixels(thick,thin);
735 let adjust_fit = normal_adjust_fit;
736 % \end{macrocode}
737 % \DescribeVariable{stylus}
738 % The pen for drawing the thinnest lines is |stylus|.
739 % \begin{macrocode}
740 pickup pencircle scaled thin;
741 stylus:=savepen;
742 % \end{macrocode}
743 % \DescribeVariable{thickstylus}
744 % The pen for drawing lines a bit thicker than the thinnest is |thickstylus|.
745 % \begin{macrocode}
746 pickup pencircle scaled (1.5thin);
747 thickstylus:=savepen;
748 % \end{macrocode}
749 % \DescribeVariable{quill}
750 % The normal calligraphic pen is |quill|.
751 % \begin{macrocode}
752 pickup pencircle xscaled thick yscaled thin rotated pangle;
753 quill:=savepen;
754 numeric pcshiftx#; % x value of LHS of box wrt origin of char box
755 define_pixels(pcshiftx);
756 numeric sqxside#; % x size of the square
757 numeric sqyside#; % y size of the square
758 define_pixels(sqxside,sqyside);
759
760 enddef; % end of auncial_font_setup
761
762 % \end{macrocode}
763 % \end{routine}
764 %
765 %
766 % \DescribeVariable{ductus}
767 % A boolean to control drawing the ductus (TRUE) or the full letter (FALSE).
768 % \begin{macrocode}
769 boolean ductus;
770 ductus:=false;
771 % \end{macrocode}
772 %
773 % \DescribeVariable{qhor}
774 % \DescribeVariable{qvert}
775 % The cosine and sine of the pen angle.
776 % \begin{macrocode}
777 numeric qhor, qvert;
778 qhor:=cosd(pangle); qvert:=sind(pangle);
779 % \end{macrocode}
780 %
781 % \DescribeVariable{pdir}
782 % The vector corresponding to the pen angle.
783 % \begin{macrocode}
784 pair pdir; pdir=dir(pangle);
785 % \end{macrocode}
786 %
787 % \DescribeVariable{ppdir}
788 % The vector that is perpendicular (anticlockwise) to the pen angle.
789 % \begin{macrocode}
790 pair ppdir; ppdir=dir(pangle+90);
791 % \end{macrocode}
792 %
793 % \begin{routine}{draw_serif}
794 % A macro to draw a serif. |draw_serif(1,2,f)| uses the current pen to
795 % draw a serif of extent |jut| at |z1| to the left of the line from |z2|
796 % to |z1|. The
797 % radius is controlled by |f|, where $0<f<1$. The `stem' from |z1| to |z2|
798 % starts at the point |z1a|.
799 % \begin{macrocode}
800
801 def draw_serif(suffix $, $$)(expr fr)=
802 numeric beta, ajut, bjut;
803 % \end{macrocode}
804 % |fr| and |beta| control the serif radius.
805 % \begin{macrocode}
806 beta=1-fr;
807 ajut=fr*jut; bjut=beta*jut;
808 % \end{macrocode}
809 % The points |$c|, |$b| and |$a| define the serif. For a top (bottom) serif
810 % the leftmost (rightmost) point is
811 % |$c| and |$a| is on the stem. |$a| is moved from |$| towards |$$| by the
812 % distance |ajut|, and the other points are calculated from this. If the stem
813 % is not vertical, then we have to rotate |$b| to match.
814 % \begin{macrocode}
815 pair vec[]; vec1=unitvector(z$$-z$);
816 vec2=ajut*vec1;
817 z$a=z$ shifted vec2;
818 z$b=z$a rotatedaround (z$,-90);
819 boolean top_serif;
820 if y$>y$$:
821 top_serif := true;
822 z$c=z$b shifted (-bjut*pdir);
823 else:
824 top_serif:=false;
825 z$c=z$b shifted (bjut*pdir);
826 fi
827 % \end{macrocode}
828 % Draw the parts, and finish off.
829 % \begin{macrocode}
830 if top_serif:
831 draw z$c--z$b{pdir}..{z$$-z$}z$a; % the serif
832 else:
833 draw z$c--z$b{-pdir}..{z$$-z$}z$a;
834 fi
835 labels($a,$b,$c);
836 enddef; % end of draw_serif
837
838 % \end{macrocode}
839 % \end{routine}
840 %
841 % \begin{routine}{draw_istem}
842 % A macro to draw the shape of an i. |draw_istem(1,2,f)| draws a stem whose
843 % top is at |z1| and bottom at |z2|. It draws with the current pen and the serifs
844 % are of extent |jut|. There is a top left and bottom right serif.
845 % The serif radius is controlled by |f|, with $0<f<1$.
846 % \begin{macrocode}
847
848 def draw_istem(suffix $, $$)(expr fr)=
849 draw_serif($, $$, fr); % top serif
850 draw_serif($$, $, fr); % bottom serif
851 draw z$a--z$$a; % the stem
852 enddef; % end of draw_istem
853
854 % \end{macrocode}
855 % \end{routine}
856 %
857 % \begin{routine}{draw_tstem}
858 % A macro to draw the shape of the stem of a `t'. |draw_tstem(1,2,f)| draws a
859 % stem whose
860 % top is at |z1| and bottom at |z2| with a right serif at |z2|. The radius
861 % is controlled by |f|, with $0 < f < 1$.
862 % It draws with the current pen and the serif is of extent |jut|.
863 % \begin{macrocode}
864
865 def draw_tstem(suffix $, $$)(expr fr)=
866 draw_serif($$, $, fr); % the serif
867 draw z$--z$$a; % the stem
868 enddef; % end of draw_tstem
869
870 % \end{macrocode}
871 % \end{routine}
872 %
873 % \begin{routine}{draw_tlserif}
874 % A macro to draw a top left serif. |draw_tlserif(1,2,f)| draws a serif on top
875 % of a stem whose absolute
876 % top is at |z1| and bottom at |z2|. It draws with the current pen and the serif
877 % is of extent |jut|. It also draws the stem to the point |z2|. The serif
878 % radius is controlled by |f|, with $0<f<1$.
879 % \begin{macrocode}
880
881 def draw_tlserif(suffix $, $$)(expr fr)=
882 draw_serif($, $$, fr); % the serif
883 draw z$a--z$$; % the stem
884 enddef; % end of draw_tlserif
885
886 % \end{macrocode}
887 % \end{routine}
888 %
889 %
890 % \begin{routine}{draw_flick}
891 % A macro to draw a flick (like an eyebrow).
892 % |draw_flick(1,rise,fall,fjut)| draws a stroke starting at |z1| rising up by
893 % |rise| and falling down by |fall| wrt |z1|. The overall stroke distance is
894 % |fjut| to the right of |z1|. It is drawn with the current pen.
895 % \begin{macrocode}
896
897 def draw_flick(suffix $)(expr rise, fall, fjut)=
898 % \end{macrocode}
899 % The points |z$a| and |z$b|, together with |z$| make up three points on the
900 % ductus.
901 % \begin{macrocode}
902 rt x$b = x1+fjut; top y$b=y$-fall;
903 x$a=0.5[x$,x$b]; top y$a=y$+rise;
904 % \end{macrocode}
905 % Draw the part, and finish off.
906 % \begin{macrocode}
907 draw z$..z$a..z$b;
908 labels($a,$b);
909 enddef; % end of draw_flick
910
911 % \end{macrocode}
912 % \end{routine}
913 %
914 %
915 % \begin{routine}{draw_wave}
916 % A macro to draw a (horizontal) stroke with a flick at each end
917 % (down at the left and up at the right). |draw_wave(1,2,f)| uses the current
918 % pen to draw from |z1wl| to |z1wr|, where |x1wl=x1|, |y1wl=y1-f|, and
919 % |x1wr=x2|, |y1wr=y2+f|, with |z1| assumed to be at the left of |z2|.
920 % \begin{macrocode}
921
922 def draw_wave(suffix $,$$)(expr f)=
923 x$wl=x$; y$wl=y$-f;
924 x$wr=x$$; y$wr=y$$+f;
925 z$wc=0.5[z$wl,z$wr];
926 draw z$wl{pdir}..z$wc{right}..{pdir}z$wr;
927 labels($wl,$wc,$wr);
928 enddef; % end of draw_wave
929 % \end{macrocode}
930 % \end{routine}
931 %
932 % \begin{routine}{draw_tail}
933 % A macro to draw a tail at the bottom of a (vertical) stem.
934 % |draw_tail(1,fjut)| draws a tail at the bottom of the stem which ends at |z1|.
935 % The depth is controlled by the |desc_depth| value and the jut by |fjut|.
936 % \begin{macrocode}
937
938 def draw_tail(suffix $)(expr fj)=
939 pen oldpen; oldpen:=currentpen;
940 pickup quill;
941 x$tl' = lft x$; y$tl=bot y$;
942 pickup stylus;
943 lft x$tl=x$tl';
944 x$tb=x$tl-fj; bot y$tb=y$tl-1/2desc_depth;
945 filldraw z${down}..{-pdir}z$tb & z$tb{pdir}..{up}z$tl--cycle;
946 pickup oldpen;
947 labels($tb,$tl);
948 enddef; % end of draw_tail
949 % \end{macrocode}
950 % \end{routine}
951 %
952 % \begin{routine}{draw_triangle}
953 % A macro to draw a downward pointing equilateral triangle.
954 % |draw_triangle(1,sz)| draws a triangle of side length with |z1| in the middle
955 % of the base.
956 % \begin{macrocode}
957
958 def draw_triangle(suffix $)(expr sz)=
959 pen oldpen; oldpen:=currentpen;
960 pickup stylus;
961 x$t1=x$-sz/2; x$t3=x$+sz/2;
962 y$t1=y$t3=y$;
963 x$t2=x$; y$t2=y$-0.9sz; % approx sqrt(3)/2
964 filldraw z$t1--z$t2--z$t3--cycle;
965 pickup oldpen;
966 labels($t1,$t2,$t3);
967 enddef; % end of draw_triangle
968 % \end{macrocode}
969 % \end{routine}
970 %
971 % \begin{routine}{draw_rtriangle}
972 % A macro to draw a downward pointing right angled triangle.
973 % |draw_triangle(1,sz)| draws a triangle of side length with |z1| at the
974 % right (where the right angle is).
975 % \begin{macrocode}
976
977 def draw_rtriangle(suffix $)(expr sz)=
978 pen oldpen; oldpen:=currentpen;
979 pickup stylus;
980 x$t1=x$-sz; rt x$t3=x$;
981 y$t1=y$t3=y$;
982 x$t2=x$t3; y$t2=y$-sz;
983 filldraw z$t1--z$t2--z$t3--cycle;
984 pickup oldpen;
985 labels($t1,$t2,$t3);
986 enddef; % end of draw_rtriangle
987 % \end{macrocode}
988 % \end{routine}
989 %
990 % \begin{routine}{draw_rutriangle}
991 % A macro to draw an upward pointing right angled triangle.
992 % |draw_triangle(1,sz)| draws a triangle of side length with |z1| at the
993 % right (where the right angle is).
994 % \begin{macrocode}
995
996 def draw_rutriangle(suffix $)(expr sz)=
997 pen oldpen; oldpen:=currentpen;
998 pickup stylus;
999 x$t1=x$-sz; rt x$t3=x$;
1000 y$t1=y$t3=y$;
1001 x$t2=x$t3; y$t2=y$+sz;
1002 filldraw z$t1--z$t2--z$t3--cycle;
1003 pickup oldpen;
1004 labels($t1,$t2,$t3);
1005 enddef; % end of draw_rutriangle
1006 % \end{macrocode}
1007 % \end{routine}
1008 %
1009 % \begin{routine}{draw_fork}
1010 % A macro to draw a forked line.
1011 % |draw_fork(1,2,sz)| draws a graduated line from |z1| to |z2| with a forked
1012 % end of size |sz|.
1013 % \begin{macrocode}
1014
1015 def draw_fork(suffix $, $$)(expr sz)=
1016 pen oldpen; oldpen:=currentpen;
1017 pickup quill;
1018 x$f1'=lft x$; y$f1'=bot y$;
1019 x$f3'=rt x$; y$f3'=top y$;
1020 pickup stylus;
1021 lft x$f1=x$f1'; bot y$f1=y$f1';
1022 rt x$f3=x$f3'; y$f3-y$=2*(y$-y$f1);
1023 rt x$f2=x$$-sz; bot y$f2=y$$;
1024 rt x$f4= rt x$f5=x$$;
1025 bot y$f5=y$$-sz; top y$f4=y$$+1/2sz;
1026 filldraw z$f1--z$f2--z$f3--cycle; % the line
1027 draw z$f2{right}..z$f4; % upper fork
1028 draw z$f2{right}..z$f5; % lower fork
1029 pickup oldpen;
1030 labels($f1,$f2,$f3,$f4,$f5);
1031 enddef; % end of draw_fork
1032 % \end{macrocode}
1033 % \end{routine}
1034 %
1035 % \begin{routine}{draw_pdot}
1036 % A macro to draw a period dot.
1037 % |draw_pdot(1,sz)| uses |stylus| to draw a dot centered at |z1| of overall size |sz|.
1038 % \begin{macrocode}
1039
1040 def draw_pdot(suffix $)(expr sz)=
1041 % \end{macrocode}
1042 % Draw a square rotated 45 degrees.
1043 % \begin{macrocode}
1044 z$s = z$ shifted (0.5sz*left);
1045 z$t = z$ shifted (0.5sz*up);
1046 z$u = z$s shifted (sz*right);
1047 z$v = z$t shifted (sz*down);
1048 pickup stylus;
1049 filldraw z$s--z$t--z$u--z$v--cycle;
1050 labels($s,$t,$u,$v);
1051 enddef; % end of draw_pdot
1052
1053 % \end{macrocode}
1054 % \end{routine}
1055 %
1056 % \begin{routine}{draw_pcomma}
1057 % A macro to draw a period comma.
1058 % |draw_pcomma(1,t,w)| draws a comma placed at |z1| (the top), line width is |t|
1059 % and bottom of line is |w| horizontally from |z1|. The pen is |stylus|.
1060 % \begin{macrocode}
1061
1062 def draw_pcomma(suffix $)(expr sz, ar)=
1063 % \end{macrocode}
1064 % Draw a line of at |z$| of width |sz| sloping back and down at 45 degrees
1065 % for a total width of |ar|.
1066 % \begin{macrocode}
1067 z$s = z$ shifted (0.5sz*left);
1068 z$t = z$s shifted (sz*right);
1069 x$v=x$s-ar; y$v=y$s-ar;
1070 z$u = z$v shifted (sz*right);
1071 pickup stylus;
1072 %% filldraw z$s--z$t--z$u--z$v--cycle;
1073 filldraw z$s--z$t--z$u--cycle;
1074 labels($s,$t,$u,$v);
1075 enddef; % end of draw_pcomma
1076
1077 % \end{macrocode}
1078 % \end{routine}
1079 %
1080 % \begin{routine}{draw_plq}
1081 % A macro to draw a period left quote.
1082 % |draw_pcomma(1,t,w)| draws a left quote placed at |z1| (the top), line width is |t|
1083 % and bottom of line is |w| horizontally from |z1|.
1084 % \begin{macrocode}
1085
1086 def draw_plq(suffix $)(expr sz, ar)=
1087 % \end{macrocode}
1088 % Draw a line of at |z$| of width |sz| sloping forward and down at 45 degrees
1089 % for a total width of |ar|.
1090 % \begin{macrocode}
1091 z$s = z$ shifted (0.5sz*left);
1092 z$t = z$s shifted (sz*right);
1093 x$v=x$s+ar; y$v=y$s-ar;
1094 z$u = z$v shifted (sz*right);
1095 pickup stylus;
1096 %% filldraw z$s--z$t--z$u--z$v--cycle;
1097 filldraw z$s--z$t--z$v--cycle;
1098 labels($s,$t,$u,$v);
1099 enddef; % end of draw_plq
1100
1101 % \end{macrocode}
1102 % \end{routine}
1103 %
1104 %
1105 % Set the mode and font setup.
1106 % \begin{macrocode}
1107
1108 font_coding_scheme:="ASCII minuscules and punctuation";
1109 mode_setup;
1110 auncial_font_setup;
1111
1112 % \end{macrocode}
1113 %
1114 %
1115 % We generate letters, together with some punctuation and
1116 % analphabetics.
1117 % \begin{macrocode}
1118
1119 input auncll; % minuscules (lower case)
1120 input aunclu; % majuscules (capitals)
1121 input aunclpunct; % punctuation
1122 input auncllig; % the several dashes
1123 input auncldig; % arabic digits
1124 %%%input aunclp; % ampersand and ?mark
1125
1126 % \end{macrocode}
1127 %
1128 % Finally, do the uppercase ligtable.
1129 %
1130 % \begin{macrocode}
1131
1132 font_slant slant; font_x_height x_height#;
1133 if monospace: font_normal_space 9u#; % no stretching or shrinking
1134 font_quad 18u#;
1135 font_extra_space 9u#;
1136 else: font_normal_space 6u#+2letter_fit#;
1137 font_normal_stretch 3u#; font_normal_shrink 2u#;
1138 font_quad 18u#+4letter_fit#;
1139 font_extra_space 2u#;
1140 k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
1141 %% ligtable "P": "T": "Y": "A" kern kk#;
1142 %% ligtable "F": "V": "W": "A" kern if serifs: kkk# else: kk#fi,
1143 %% "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
1144 %% ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
1145 %% "V" kern k#, "Y" kern k#;
1146 %% ligtable "A": if serifs: "R": fi
1147 %% "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#,
1148 %% "L": "T" kern kk#, "Y" kern kkk#, "V" kern kk#, "W" kern kkk#;
1149 %%ligtable "I": "I" kern -k#; % Richard III
1150 fi
1151
1152 bye.
1153
1154 %</mfd>
1155 % \end{macrocode}
1156 %
1157 % \subsection{The code for normal letters}
1158 %
1159 % The following code is for the minuscule characters.
1160 %
1161 % \begin{macrocode}
1162 %<*min>
1163 % AUNCLL.MF Program file for Artificial Uncial minuscules
1164 %
1165
1166
1167 % \end{macrocode}
1168 %
1169 %
1170 % \begin{routine}{a}
1171 % The letter `a'.
1172 % \begin{macrocode}
1173 cmchar "AUncial letter a";
1174 beginchar("a", 2u#+hstretch*(x_height#+jut#), x_height#, 0);
1175 adjust_fit(0,0);
1176 pcshiftx := u;
1177 pickup quill;
1178 lft x1=pcshiftx+2jut; rt x2=w-u-jut;
1179 top y1=h; bot y2=0;
1180 % for the bowl
1181 z3=3/4[z2,z1];
1182 x5=lft x3; y5=bot y3;
1183 z13=1/2[z2,z1];
1184 x15=lft x13; y15=bot y13;
1185 %%ductus:=true;
1186 if ductus:
1187 pickup stylus;
1188 fi
1189 draw_istem(1,2,srad); % the stem
1190 pickup thickstylus; % for the bowl
1191 lft x4=pcshiftx; bot y4=0;
1192 z14=0.2[z4,z5];
1193 draw z14{pdir}...{z5-z4}z15; % bowl bottom
1194 draw z5--z4; % bowl top
1195 ductus:=false;
1196 penlabels(1,2,3,4,5,6,14,15,100);
1197 endchar; % end "a"
1198
1199 % \end{macrocode}
1200 % \end{routine}
1201 %
1202 % \begin{routine}{b}
1203 % The letter `b'.
1204 % \begin{macrocode}
1205 cmchar "AUncial letter b";
1206 beginchar("b", 2u#+hstretch*(x_height#+jut#), x_height#, 0);
1207 adjust_fit(0,0);
1208 pcshiftx := u;
1209 pickup quill;
1210 lft x1=lft x2=pcshiftx+jut;
1211 top y1=h; bot y2=0;
1212 % lower bowl
1213 rt x4=w-pcshiftx; y4=1/3h;
1214 lft x5=rt x1+2thin; y5=2/3h;
1215 z6=z1;
1216 rt x7=0.67[x1,x4]; y7=y6;
1217 x9=rt x7-thin; y9=h-thin;
1218 x8=lft x5+thin; y8=bot y5+thin;
1219 %%ductus:=true;
1220 if ductus:
1221 pickup stylus;
1222 fi
1223 draw_tlserif(1,2,srad); % the stem
1224 draw z2{right}..z4{up}..{left}z5; % bottom bowl
1225 draw z6--z7; % top bowl
1226 pickup stylus;
1227 draw z9--z8;
1228 ductus:=false;
1229 penlabels(1,2,3,4,5,6,7,8,9,100);
1230 endchar; % end "b"
1231
1232 % \end{macrocode}
1233 % \end{routine}
1234 %
1235 %
1236 % \begin{routine}{c}
1237 % The letter `c'.
1238 % \begin{macrocode}
1239 cmchar "AUncial letter c";
1240 beginchar("c", 2u#+hstretch*(x_height#), x_height#, 0);
1241 adjust_fit(0,0);
1242 pcshiftx := u;
1243 pickup quill;
1244 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
1245 x2=x4=w/2; top y2=h; bot y4=0;
1246 x5=x6=x3;
1247 y5=0.1h;
1248 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
1249 % the serif
1250 pickup stylus;
1251 rt x16=w-pcshiftx; top y16=y6';
1252 x17=x6; y17=y16-jut;
1253 lft x18=x6''; bot y18=y6'';
1254 pickup quill;
1255 %%ductus:=true;
1256 if ductus:
1257 pickup stylus;
1258 fi
1259 draw z5{-pdir}..{left}z4..z1..z2..z6;
1260 pickup stylus;
1261 filldraw z17..z18--z16--cycle;
1262 ductus:=false;
1263 penlabels(1,2,3,4,5,6,16,17,18,100);
1264 endchar; % end "c"
1265
1266 % \end{macrocode}
1267 % \end{routine}
1268 %
1269 % \begin{routine}{d}
1270 % The letter `d'.
1271 % \begin{macrocode}
1272 cmchar "AUncial letter d";
1273 beginchar("d", 2u#+hstretch*(4/3x_height#), 4/3x_height#, 0);
1274 adjust_fit(0,0);
1275 pcshiftx := u;
1276 pickup quill;
1277 lft x1=pcshiftx; rt x3=w-pcshiftx;
1278 x2=x4=w/2; top y2=3/4h; bot y4=0;
1279 y1=y3=0.5[y4,y2];
1280 lft x5=pcshiftx; top y5=h;
1281 %%ductus:=true;
1282 if ductus:
1283 pickup stylus;
1284 fi
1285 draw z2{-pdir}..z1{down}..z4{right}..z3{up}..z5;
1286 ductus:=false;
1287 penlabels(0,1,2,3,4,5,6,7,8,100);
1288 endchar; % end "d"
1289
1290 % \end{macrocode}
1291 % \end{routine}
1292 %
1293 % \begin{routine}{e}
1294 % The letter `e'.
1295 % \begin{macrocode}
1296 cmchar "AUncial letter e";
1297 beginchar("e", 2u#+hstretch*(x_height#), x_height#, 0);
1298 adjust_fit(0,0);
1299 pcshiftx := u;
1300 pickup quill;
1301 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
1302 x2=x4=w/2; top y2=h; bot y4=0;
1303 x5=x6=x3;
1304 y5=0.1h;
1305 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
1306 % the serif
1307 pickup stylus;
1308 rt x16=w-pcshiftx; top y16=y6';
1309 x17=x6; y17=y16-jut;
1310 lft x18=x6''; bot y18=y6'';
1311 pickup quill;
1312 % the bar
1313 x7=x1; y7=y1;
1314 x8=w-pcshiftx; y8=y7;
1315 %%ductus:=true;
1316 if ductus:
1317 pickup stylus;
1318 fi
1319 draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl
1320 pickup stylus;
1321 filldraw z17..z18--z16--cycle; % the serif
1322 draw_fork(7,8,jut); % the bar
1323 ductus:=false;
1324 penlabels(1,2,3,4,5,6,7,8,9,10,16,17,18,100);
1325 endchar; % end "e"
1326
1327 % \end{macrocode}
1328 % \end{routine}
1329 %
1330 % \begin{routine}{f}
1331 % The letter `f'.
1332 % \begin{macrocode}
1333 cmchar "AUncial letter f";
1334 beginchar("f", 2u#+hstretch*(x_height#), x_height#, desc_depth#);
1335 adjust_fit(0,0);
1336 pcshiftx := u;
1337 pickup quill;
1338 % stem
1339 lft x1=lft x2=pcshiftx+jut;
1340 top y1=h; bot y2=-d/2;
1341 % bars
1342 x3=x4=x1; y3=y1; bot y4=0;
1343 rt x5= rt x6=w-pcshiftx; y5=y3; y6=y4;
1344 % triangles
1345 x15=x16=rt x5-1/2thin;
1346 y15=y5; y16=y6;
1347 %%ductus:=true;
1348 if ductus:
1349 pickup stylus;
1350 fi
1351 draw_tlserif(1,2,srad); % stem
1352 draw_tail(2,jut);
1353 draw z3--z5; % top bar
1354 draw_rtriangle(15,jut);
1355 draw z4--z6; % bottom bar
1356 draw_rtriangle(16,jut);
1357 ductus:=false;
1358 penlabels(1,2,3,4,5,6,100);
1359 endchar; % end "f"
1360
1361 % \end{macrocode}
1362 % \end{routine}
1363 %
1364 % \begin{routine}{g}
1365 % The letter `g'.
1366 % \begin{macrocode}
1367 cmchar "AUncial letter g";
1368 beginchar("g", 2u#+hstretch*(x_height#), x_height#, desc_depth#);
1369 adjust_fit(0,0);
1370 pcshiftx := u;
1371 pickup quill;
1372 % the bowl
1373 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
1374 x2=x4=w/2; top y2=h; bot y4=0;
1375 x5=x6=x3;
1376 y5=0.1h;
1377 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
1378 % the serif
1379 pickup stylus;
1380 rt x16=w-pcshiftx; top y16=y6';
1381 x17=x6; y17=y16-jut;
1382 lft x18=x6''; bot y18=y6'';
1383 pickup quill;
1384 % the stem
1385 x7=rt x5-1/2thin; y7=top y5-1/2thin;
1386 pickup stylus;
1387 lft x8=w/2; bot y8=-d;
1388 pickup quill;
1389 pair vec[]; vec1:=z7-z8; vec2:=z8-z7;
1390 y21=y8+3/2thick; z21=whatever[z8,z7];
1391 y22=y8+ thick; z22=whatever[z8,z7];
1392 x23=x8-thick; y23=y8;
1393 x24=x23+1/2thick; y24=y23+1/2thick;
1394 %%ductus:=true;
1395 if ductus:
1396 pickup stylus;
1397 fi
1398 draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl
1399 pickup stylus;
1400 filldraw z17..z18--z16--cycle; % the serif
1401 draw z7--z22; % the stem
1402 filldraw z22{vec2}..{left}z23--z24{right}..{vec1}z21--cycle;
1403 ductus:=false;
1404 penlabels(1,2,3,4,5,6,7,8,16,17,18,21,22,23,24,100);
1405 endchar; % end "g"
1406
1407 % \end{macrocode}
1408 % \end{routine}
1409 %
1410 % \begin{routine}{h}
1411 % The letter `h'.
1412 % \begin{macrocode}
1413 cmchar "AUncial letter h";
1414 beginchar("h", 2u#+hstretch*(x_height#+jut#), asc_height#, 0);
1415 adjust_fit(0,0);
1416 pcshiftx := u;
1417 pickup quill;
1418 lft x1=lft x2=pcshiftx+jut;
1419 top y1=h; bot y2=0;
1420 % bowl
1421 rt x5=w-pcshiftx; y5=3/8h;
1422 lft x6=2/3w; bot y6=0;
1423 x4=0.5[x1,x5]; top y4=3/4h;
1424 x4'=0.5[x4,x1]; y4'=y4;
1425 z4''=z4' shifted (-w*pdir);
1426 z3'=whatever[z4',z4'']=whatever[z1,z2];
1427 x3=rt x3'; y3=y3';
1428 %%ductus:=true;
1429 if ductus:
1430 pickup stylus;
1431 fi
1432 draw_istem(1,2,srad); % stem
1433 draw z3{pdir}..z4{right}..z5{down}..z6; % bowl
1434 ductus:=false;
1435 penlabels(1,2,3,4,5,6,100);
1436 endchar; % end "h"
1437
1438 % \end{macrocode}
1439 % \end{routine}
1440 %
1441 % \begin{routine}{i}
1442 % The letter i.
1443 % \begin{macrocode}
1444 cmchar "AUncial letter i";
1445 beginchar("i", 2u#+hstretch*(thick#+jut#), x_height#, 0);
1446 adjust_fit(0,0);
1447 pcshiftx := u;
1448 pickup quill;
1449 lft x1=lft x2=pcshiftx+jut;
1450 top y1=h; bot y2=0;
1451 %%ductus:=true;
1452 draw_tlserif(1,2,srad);
1453 draw_tail(2,jut);
1454 ductus:=false;
1455 penlabels(1,2,100);
1456 endchar; % end "i"
1457
1458 % \end{macrocode}
1459 % \end{routine}
1460 %
1461 % \begin{routine}{j}
1462 % The letter `j'. This letter was not in the script, it being a later invention.
1463 % \begin{macrocode}
1464 cmchar "AUncial letter j";
1465 beginchar("j", 2u#+hstretch*(thick#+jut#), x_height#, desc_depth#);
1466 adjust_fit(0,0);
1467 pcshiftx := u;
1468 pickup quill;
1469 lft x1=lft x2=pcshiftx+jut;
1470 top y1=h; bot y2=-1/2d;
1471 %%ductus:=true;
1472 draw_tlserif(1,2,srad);
1473 draw_tail(2,jut);
1474 ductus:=false;
1475 penlabels(1,2,100);
1476 endchar; % end "j"
1477
1478 % \end{macrocode}
1479 % \end{routine}
1480 %
1481 % \begin{routine}{k}
1482 % The letter `k'.
1483 % \begin{macrocode}
1484 cmchar "AUncial letter k";
1485 beginchar("k", 2u#+hstretch*(4/3x_height#), asc_height#, 0);
1486 adjust_fit(0,0);
1487 pcshiftx := u;
1488 pickup quill;
1489 lft x1=lft x2=pcshiftx+jut;
1490 top y1=h; bot y2=0;
1491 % for the flick
1492 numeric rise,fall,fjut;
1493 x3=rt x1; y3=5/8h;
1494 rise:=1/6h; fall:=-rise/2; fjut:=1/2w;
1495 % for the leg
1496 %%x4=x1; y4=y3;
1497 z4=z3;
1498 x5=w-pcshiftx-jut; y5=0;
1499 %%ductus:=true;
1500 if ductus:
1501 pickup stylus;
1502 fi
1503 draw_tlserif(1,2,srad); % stem
1504 draw_tail(2,jut);
1505 draw_flick(3,rise,fall,fjut); % upper diag
1506 draw_tstem(4,5,srad); % lower diag
1507 ductus:=false;
1508 penlabels(1,2,3,4,5,100);
1509 endchar; % end "k"
1510
1511 % \end{macrocode}
1512 % \end{routine}
1513 %
1514 % \begin{routine}{l}
1515 % The letter `l'.
1516 % \begin{macrocode}
1517 cmchar "AUncial letter l";
1518 beginchar("l", 2u#+hstretch*(x_height#), asc_height#, 0);
1519 adjust_fit(0,0);
1520 pcshiftx := u;
1521 pickup quill;
1522 lft x1=lft x2=pcshiftx+jut;
1523 top y1=h; bot y2=0;
1524 z3=z2;
1525 x4=w-u; y4=0;
1526 %%ductus:=true;
1527 draw_tlserif(1,2,srad); % the stem
1528 draw_fork(3,4,jut); % the foot
1529 ductus:=false;
1530 penlabels(1,2,3,4,100);
1531 endchar; % end "l"
1532
1533 % \end{macrocode}
1534 % \end{routine}
1535 %
1536 % \begin{routine}{m}
1537 % The letter `m'.
1538 % \begin{macrocode}
1539 cmchar "AUncial letter m";
1540 beginchar("m", 2u#+hstretch*(2x_height#), x_height#, 0);
1541 adjust_fit(0,0);
1542 pcshiftx := u;
1543 pickup quill;
1544 rt x1=1/4w; bot y1=0;
1545 lft x2= pcshiftx; y2=h/2;
1546 x4=w/2; y4=2/3h;
1547 x3=0.5[x2,x4]; top y3=h;
1548 x5=x4; y5=y1;
1549 z6=z4;
1550 x7=3/4w; top y7=h;
1551 rt x8=w-pcshiftx; y8=y2;
1552 lft x9=3/4w; y9=y1;
1553 %%ductus:=true;
1554 if ductus:
1555 pickup stylus;
1556 fi
1557 draw z1..z2{up}..z3{right}..{down}z4; % left half
1558 draw_tstem(4,5,srad); % middle stem
1559 draw z6..z7{right}..z8{down}..{-pdir}z9; % right half
1560 ductus:=false;
1561 penlabels(1,2,3,4,5,6,7,8,9,100);
1562 endchar; % end "m"
1563
1564 % \end{macrocode}
1565 % \end{routine}
1566 %
1567 % \begin{routine}{n}
1568 % The letter `n'.
1569 % \begin{macrocode}
1570 cmchar "AUncial letter n";
1571 beginchar("n", 2u#+hstretch*(2jut#+x_height#), x_height#, 0.5desc_depth#);
1572 adjust_fit(0,0);
1573 pcshiftx := u;
1574 pickup quill;
1575 % left stem
1576 lft x1=pcshiftx+jut; top y1=h;
1577 x2=x1; bot y2=0;
1578 % right stem
1579 rt x4=w-pcshiftx-jut; y4=y1;
1580 x3=x4; bot y3=0;
1581 %%ductus:=true;
1582 if ductus:
1583 pickup stylus;
1584 fi
1585 draw_tlserif(1,2,srad); % left stem
1586 draw_tail(2,jut);
1587 draw_istem(4,3,srad); % right stem
1588 draw z1--z3; % diagonal
1589 ductus:=false;
1590 penlabels(1,2,3,4,100);
1591 endchar; % end "n"
1592
1593 % \end{macrocode}
1594 % \end{routine}
1595 %
1596 % \begin{routine}{o}
1597 % The letter `o'.
1598 % \begin{macrocode}
1599 cmchar "AUncial letter o";
1600 beginchar("o", 2u#+hstretch*(7/6x_height#), x_height#, 0);
1601 adjust_fit(0,0);
1602 pcshiftx := u;
1603 pickup quill;
1604 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
1605 x2=x4=w/2; top y2=h+o; bot y4=-o;
1606 %%ductus:=true;
1607 if ductus:
1608 pickup stylus;
1609 fi
1610 draw z1..z2..z3..z4..cycle;
1611 ductus:=false;
1612 penlabels(1,2,3,4,100);
1613 endchar; % end "o"
1614
1615 % \end{macrocode}
1616 % \end{routine}
1617 %
1618 % \begin{routine}{p}
1619 % The letter `p'.
1620 % \begin{macrocode}
1621 cmchar "AUncial letter p";
1622 beginchar("p", 2u#+hstretch*(7/6x_height#), x_height#, desc_depth#);
1623 adjust_fit(0,0);
1624 pcshiftx := u;
1625 pickup quill;
1626 % stem
1627 lft x1=lft x2=pcshiftx+jut; top y1=h; bot y2=-1/2d;
1628 % bowl
1629 z3=z1;
1630 rt x5=w-pcshiftx; y5=1/2h;
1631 lft x7=rt x1; bot y7=0;
1632 %%ductus:=true;
1633 if ductus:
1634 pickup stylus;
1635 fi
1636 draw_tlserif(1,2,srad); % stem
1637 draw_tail(2,jut);
1638 draw z3{pdir}..z5{down}..{-pdir}z7; % bowl
1639 ductus:=false;
1640 penlabels(1,2,3,4,5,6,7,100);
1641 endchar; % end "p"
1642
1643 % \end{macrocode}
1644 % \end{routine}
1645 %
1646 % \begin{routine}{q}
1647 % The letter `q'.
1648 % \begin{macrocode}
1649 cmchar "AUncial letter q";
1650 beginchar("q", 2u#+hstretch*(7/6x_height#), x_height#, desc_depth#);
1651 adjust_fit(0,0);
1652 pcshiftx := u;
1653 pickup quill;
1654 % right stem
1655 rt x1=rt x2=w-pcshiftx; top y1=h; bot y2=-1/2d;
1656 % bowl
1657 z3=z1;
1658 lft x5=pcshiftx; y5=1/2h;
1659 rt x7=lft x1; y7=0.1h;
1660 %%ductus:=true;
1661 if ductus:
1662 pickup stylus;
1663 fi
1664 draw z1--z2; % right stem
1665 draw_tail(2,jut);
1666 draw z3{left}..z5{down}..{pdir}z7; % bowl
1667 ductus:=false;
1668 penlabels(1,2,3,4,5,6,7,100);
1669 endchar; % end "q"
1670
1671 % \end{macrocode}
1672 % \end{routine}
1673 %
1674 % \begin{routine}{r}
1675 % The letter `r'.
1676 % \begin{macrocode}
1677 cmchar "AUncial letter r";
1678 beginchar("r", 2u#+hstretch*(4/3x_height#), x_height#, 1/2desc_depth#);
1679 adjust_fit(0,0);
1680 pcshiftx := u;
1681 pickup quill;
1682 % stem
1683 lft x1=lft x2=pcshiftx+jut; top y1=h; bot y2=0;
1684 % bowl
1685 lft x3=rt x1-thin; y3=y1;
1686 rt x5=3/4w; y5=3/4h;
1687 lft x7=rt x1; bot y7=1/3h;
1688 % leg
1689 z8=z7;
1690 rt x9=w-pcshiftx; bot y9=0;
1691 %%ductus:=true;
1692 if ductus:
1693 pickup stylus;
1694 fi
1695 draw_tlserif(1,2,srad); % stem
1696 draw_tail(2,jut);
1697 draw z3{pdir}..z5{down}..{-pdir}z7; % bowl
1698 draw z8{-ppdir}..{right}z9; % leg
1699 ductus:=false;
1700 penlabels(1,2,3,4,5,6,7,8,9,100);
1701 endchar; % end "r"
1702
1703 % \end{macrocode}
1704 % \end{routine}
1705 %
1706 % \begin{routine}{s}
1707 % The letter `s'.
1708 % \begin{macrocode}
1709 cmchar "AUncial letter s";
1710 beginchar("s", 2u#+hstretch*(x_height#), x_height#, 0);
1711 adjust_fit(0,0);
1712 pcshiftx := u;
1713 pickup quill;
1714 rt x1=w-pcshiftx; top y1=h-thin;
1715 x2=w/2; top y2=h;
1716 lft x3=pcshiftx; y3=0.75h;
1717 x4=w/2; y4=h/2;
1718 rt x5=w-pcshiftx; y5=0.25h;
1719 x6=w/2; bot y6=0;
1720 lft x7= pcshiftx; bot y7 = thin;
1721 path p[];
1722 p1=z1..z2{left}..z3{down}..z4..z5{down}..z6{left}..z7;
1723 pair vec[];
1724 vec1= direction 0 of p1;
1725 vec2= direction (length p1) of p1;
1726 z11=z1 shifted vec1;
1727 z17=z7 shifted -vec2;
1728 y6'=top y1; y6''=bot y1; x6''=lft x1;
1729 % the serif
1730 pickup stylus;
1731 rt x26=w-pcshiftx; top y26=y6';
1732 x27=x1; y27=y26-0.75jut;
1733 lft x28=x6''; bot y28=y6'';
1734 pickup quill;
1735 %%ductus:=true;
1736 if ductus:
1737 pickup stylus;
1738 fi
1739 %%draw_serif(1,11,srad);
1740 %%draw_serif(7,17,srad);
1741 %%draw z1a..z2{left}..z3{down}..z4..z5{down}..z6{left}..z7a;
1742 draw p1; % the curve
1743 pickup stylus;
1744 filldraw z27..z28--z26--cycle; % the serif
1745 ductus:=false;
1746 penlabels(1,2,3,4,5,6,7,11,17,26,27,28,100);
1747 endchar; % end "s"
1748
1749 % \end{macrocode}
1750 % \end{routine}
1751 %
1752 % \begin{routine}{t}
1753 % The letter `t'.
1754 % \begin{macrocode}
1755 cmchar "AUncial letter t";
1756 beginchar("t", 2u#+hstretch*(4/3x_height#), x_height#, 0);
1757 adjust_fit(0,0);
1758 pcshiftx := u;
1759 numeric alpha; alpha:=0.5jut;
1760 pickup quill;
1761 x1=x2=w/2;
1762 top y1=h; bot y2=0;
1763 lft x3=pcshiftx; rt x4=w-pcshiftx; y3=y4=y1;
1764 x5=pcshiftx+alpha; y5=h-1/2thin;
1765 x6=w-pcshiftx-1/2thin; y6=y5;
1766 %%ductus:=true;
1767 if ductus:
1768 pickup stylus;
1769 fi
1770 draw_tstem(1,2,srad); % stem
1771 draw z3--z4; % top bar
1772 draw_triangle(5,2alpha); draw_rtriangle(6,2alpha);
1773 ductus:=false;
1774 penlabels(1,2,3,4,5,100);
1775 endchar; % end "t"
1776
1777 % \end{macrocode}
1778 % \end{routine}
1779 %
1780 % \begin{routine}{u}
1781 % The letter `u'.
1782 % \begin{macrocode}
1783 cmchar "AUncial letter u";
1784 beginchar("u", 2u#+hstretch*(4/3x_height#+jut#), x_height#, 0);
1785 adjust_fit(0,0);
1786 pcshiftx := u;
1787 pickup quill;
1788 % left half first
1789 lft x6=pcshiftx+jut;
1790 top y6=h-2thin;
1791 lft x7=pcshiftx; y7=h/2;
1792 x8=0.5[x6,x1]; bot y8=0;
1793 % the stem
1794 rt x1=w-pcshiftx-jut; top y1=h;
1795 x2=x1; bot y2=0;
1796 % construction points for the curved part
1797 x5=0.5[x8,x1]; y5=y8;
1798 z5'=z5 shifted (w*pdir);
1799 path p[];
1800 p1=z5--z5';
1801 p2=z1--z2;
1802 z9= p2 intersectionpoint p1;
1803 pair vec[];
1804 p3=z6..z7{down}..{right}z8;
1805 vec3 = direction 0 of p3;
1806 z16=z6 shifted vec3;
1807 %%ductus:=true;
1808 if ductus:
1809 pickup stylus;
1810 fi
1811 % draw the serifs, then the bowls
1812 draw_serif(6,16,srad); % left half
1813 draw z6a..z7{down}..z8{right}..{pdir}z9;
1814 draw_istem(1,2,srad); % right stem
1815 ductus:=false;
1816 penlabels(1,2,3,4,5,6,7,8,9,11,16,100);
1817 endchar; % end "u"
1818
1819 % \end{macrocode}
1820 % \end{routine}
1821 %
1822 % \begin{routine}{v}
1823 % The letter `v'. The right half of the `w' is used for the `v' (or vice-versa
1824 % if you prefer).
1825 % \begin{macrocode}
1826 cmchar "AUncial letter v";
1827 beginchar("v", 2u#+hstretch*(7/6x_height#+jut#), x_height#, 0);
1828 adjust_fit(0,0);
1829 pcshiftx := u;
1830 pickup quill;
1831 % right side of W
1832 numeric midx; midx:= pcshiftx;
1833 lft x1=midx+jut; top y1=h;
1834 x2=x1; y2=h/2;
1835 rt x4=w-pcshiftx; y4=y2;
1836 x3=0.5[x2,x4]; bot y3=0;
1837 x5=x4-thick; y5=y1;
1838 %%ductus:=true;
1839 if ductus:
1840 pickup stylus;
1841 fi
1842 % draw the serifs, then the bowls
1843 draw_tlserif(1,2,srad);
1844 draw z2{down}..z3{right}..z4{up}..z5;
1845 ductus:=false;
1846 penlabels(1,2,3,4,5,11,100);
1847 endchar; % end "v"
1848
1849 % \end{macrocode}
1850 % \end{routine}
1851 %
1852 % \begin{routine}{w}
1853 % The letter `w'. This is a modern version as the font did not have a W.
1854 % \begin{macrocode}
1855 cmchar "AUncial letter w";
1856 beginchar("w", 2u#+hstretch*(2x_height#), x_height#, 0);
1857 adjust_fit(0,0);
1858 pcshiftx := u;
1859 pickup quill;
1860 % right side first
1861 numeric midx; midx:= w/2-jut;
1862 lft x1=midx+jut; top y1=h;
1863 x2=x1; y2=h/2;
1864 rt x4=w-pcshiftx; y4=y2;
1865 x3=0.5[x2,x4]; bot y3=0;
1866 x5=x4-thick; y5=y1;
1867 % left side
1868 lft x6=pcshiftx+jut;
1869 top y6=h-2thin;
1870 lft x7=pcshiftx; y7=y2;
1871 x8=0.5[x7,x1]; y8=y3;
1872 % construction points
1873 x15=0.5[x8,x1]; y15=y8;
1874 z15'=z15 shifted (w*pdir);
1875 x2'=x2; y2'=y15;
1876 path p[];
1877 p1=z1--z2';
1878 p2=z15--z15';
1879 z9= p2 intersectionpoint p1;
1880 pair vec[];
1881 p3=z6..z7{down}..{right}z8;
1882 vec3 = direction 0 of p3;
1883 z16=z6 shifted vec3;
1884 %%ductus:=true;
1885 if ductus:
1886 pickup stylus;
1887 fi
1888 % draw the serifs, then the bowls
1889 draw_tlserif(1,2,srad); % right half
1890 draw z2{down}..z3{right}..z4{up}..z5;
1891 draw_serif(6,16,srad); % left half
1892 draw z6a..z7{down}..z8{right}..z9;
1893 ductus:=false;
1894 penlabels(1,2,3,4,5,6,7,8,9,11,16,100);
1895 endchar; % end "w"
1896
1897 % \end{macrocode}
1898 % \end{routine}
1899 %
1900 % \begin{routine}{x}
1901 % The letter `x'.
1902 % \begin{macrocode}
1903 cmchar "AUncial letter x";
1904 beginchar("x", 2u#+hstretch*(4/3x_height#+jut#), x_height#, 1/2desc_depth#);
1905 adjust_fit(0,0);
1906 pcshiftx := u;
1907 pickup quill;
1908 % thick diagonal
1909 lft x1=pcshiftx+jut; rt x2=w-pcshiftx-jut;
1910 y1=h; y2=0;
1911 % thin diagonal
1912 lft x3=pcshiftx; bot y3=-d;
1913 rt x5=w-pcshiftx; top y5=h;
1914 %%ductus:=true;
1915 if ductus:
1916 pickup stylus;
1917 fi
1918 draw_istem(1,2,srad); % thick diagonal
1919 draw z3..{pdir}z5; % thin diagonal
1920 ductus:=false;
1921 penlabels(1,2,3,4,5,6,7,8,100);
1922 endchar; % end "x"
1923
1924 % \end{macrocode}
1925 % \end{routine}
1926 %
1927 % \begin{routine}{y}
1928 % The letter `y'. This has a dot on top!
1929 % \begin{macrocode}
1930 cmchar "AUncial letter y";
1931 beginchar("y", 2u#+hstretch*(4/3x_height#), x_height#, desc_depth#);
1932 adjust_fit(0,0);
1933 pcshiftx := u;
1934 pickup quill;
1935 % left stroke
1936 lft x1=pcshiftx+jut; top y1=h;
1937 rt x2=3/4w; top y2=0;
1938 % right stroke
1939 pickup stylus;
1940 rt x3=w-pcshiftx; top y3=h;
1941 lft x4=pcshiftx; bot y4=-d;
1942 x5=x3-3thin; y5=y3;
1943 x7=x2-3/2thin; y7=y2;
1944 pickup quill;
1945 % the dot
1946 x8=w/2; y8=h+jut;
1947 if ductus:
1948 pickup stylus;
1949 fi
1950 draw_tlserif(1,2,srad); % left stroke
1951 draw_pdot(8,dot_size); % the dot
1952 pickup stylus;
1953 filldraw z3..z2..z4 & z4..z7..z5--cycle; % right stroke
1954 ductus:=false;
1955 penlabels(1,2,3,4,5,6,7,8,9,10,100);
1956 endchar; % end "y"
1957
1958 % \end{macrocode}
1959 % \end{routine}
1960 %
1961 %
1962 % \begin{routine}{z}
1963 % The letter `z'.
1964 % \begin{macrocode}
1965 cmchar "AUncial letter z";
1966 beginchar("z", 2u#+hstretch*(7/6x_height#), x_height#, 0);
1967 adjust_fit(0,0);
1968 pcshiftx := u;
1969 pickup quill;
1970 % bottom stroke
1971 lft x4=pcshiftx; bot y4=0;
1972 x6=w-pcshiftx; y6=0;
1973 % top stroke
1974 x1=x4; top y1=h;
1975 rt x3=6/7w; y3=y1;
1976 x11=pcshiftx+0.5jut; y11=h-thin/2; % y11=h-thin;
1977 %%ductus:=true;
1978 if ductus:
1979 pickup stylus;
1980 fi
1981 draw z1--z3; % top stroke
1982 draw_triangle(11,jut);
1983 draw_fork(4,6,jut);
1984 draw z4--z3; % diagonal
1985 ductus:=false;
1986 penlabels(1,2,3,4,5,6,100);
1987 endchar; % end "z"
1988
1989 % \end{macrocode}
1990 % \end{routine}
1991 %
1992 %
1993 % The end of this file
1994 % \begin{macrocode}
1995 %</min>
1996 % \end{macrocode}
1997 %
1998 %
1999 % \subsection{The code for capital letters}
2000 %
2001 % \thisfont{} `capitals' were drawn with the same pen as for the minuscules,
2002 % and the letters were merely larger versions of the minuscules.
2003 %
2004 % \begin{macrocode}
2005 %<*maj>
2006 % AUNCLU.MF Program file for Artificial Uncial `capitals'
2007 %
2008
2009 % \end{macrocode}
2010 %
2011 %
2012 % \begin{routine}{A}
2013 % The letter `A'.
2014 % \begin{macrocode}
2015 cmchar "AUncial letter A";
2016 beginchar("A", 2u#+hstretch*caprat*(x_height#+jut#), caprat*(x_height#), 0);
2017 adjust_fit(0,0);
2018 pcshiftx := u;
2019 pickup quill;
2020 lft x1=pcshiftx+2jut; rt x2=w-u-jut;
2021 top y1=h; bot y2=0;
2022 % for the bowl
2023 z3=3/4[z2,z1];
2024 x5=lft x3; y5=bot y3;
2025 z13=1/2[z2,z1];
2026 x15=lft x13; y15=bot y13;
2027 %%ductus:=true;
2028 if ductus:
2029 pickup stylus;
2030 fi
2031 draw_istem(1,2,srad); % the stem
2032 pickup thickstylus; % for the bowl
2033 lft x4=pcshiftx; bot y4=0;
2034 z14=0.2[z4,z5];
2035 draw z14{pdir}...{z5-z4}z15; % bowl bottom
2036 draw z5--z4; % bowl top
2037 ductus:=false;
2038 penlabels(1,2,3,4,5,6,14,15,100);
2039 endchar; % end "A"
2040
2041 % \end{macrocode}
2042 % \end{routine}
2043 %
2044 % \begin{routine}{B}
2045 % The letter `B'.
2046 % \begin{macrocode}
2047 cmchar "AUncial letter B";
2048 beginchar("B", 2u#+hstretch*caprat*(x_height#+jut#), caprat*(x_height#), 0);
2049 adjust_fit(0,0);
2050 pcshiftx := u;
2051 pickup quill;
2052 lft x1=lft x2=pcshiftx+jut;
2053 top y1=h; bot y2=0;
2054 % lower bowl
2055 rt x4=w-pcshiftx; y4=1/3h;
2056 lft x5=rt x1+2thin; y5=2/3h;
2057 z6=z1;
2058 rt x7=0.67[x1,x4]; y7=y6;
2059 x9=rt x7-thin; y9=h-thin;
2060 x8=lft x5+thin; y8=bot y5+thin;
2061 %%ductus:=true;
2062 if ductus:
2063 pickup stylus;
2064 fi
2065 draw_tlserif(1,2,srad); % the stem
2066 draw z2{right}..z4{up}..{left}z5; % bottom bowl
2067 draw z6--z7; % top bowl
2068 pickup stylus;
2069 draw z9--z8;
2070 ductus:=false;
2071 penlabels(1,2,3,4,5,6,7,8,9,100);
2072 endchar; % end "B"
2073
2074 % \end{macrocode}
2075 % \end{routine}
2076 %
2077 %
2078 % \begin{routine}{C}
2079 % The letter `C'.
2080 % \begin{macrocode}
2081 cmchar "AUncial letter C";
2082 beginchar("C", 2u#+hstretch*caprat*(x_height#), caprat*(x_height#), 0);
2083 adjust_fit(0,0);
2084 pcshiftx := u;
2085 pickup quill;
2086 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
2087 x2=x4=w/2; top y2=h; bot y4=0;
2088 x5=x6=x3;
2089 y5=0.1h;
2090 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
2091 % the serif
2092 pickup stylus;
2093 rt x16=w-pcshiftx; top y16=y6';
2094 x17=x6; y17=y16-jut;
2095 lft x18=x6''; bot y18=y6'';
2096 pickup quill;
2097 %%ductus:=true;
2098 if ductus:
2099 pickup stylus;
2100 fi
2101 draw z5{-pdir}..{left}z4..z1..z2..z6;
2102 pickup stylus;
2103 filldraw z17..z18--z16--cycle;
2104 ductus:=false;
2105 penlabels(1,2,3,4,5,6,16,17,18,100);
2106 endchar; % end "C"
2107
2108 % \end{macrocode}
2109 % \end{routine}
2110 %
2111 % \begin{routine}{D}
2112 % The letter `D'.
2113 % \begin{macrocode}
2114 cmchar "AUncial letter D";
2115 beginchar("D", 2u#+hstretch*caprat*(4/3x_height#), caprat*(4/3x_height#), 0);
2116 adjust_fit(0,0);
2117 pcshiftx := u;
2118 pickup quill;
2119 lft x1=pcshiftx; rt x3=w-pcshiftx;
2120 x2=x4=w/2; top y2=3/4h; bot y4=0;
2121 y1=y3=0.5[y4,y2];
2122 lft x5=pcshiftx; top y5=h;
2123 %%ductus:=true;
2124 if ductus:
2125 pickup stylus;
2126 fi
2127 draw z2{-pdir}..z1{down}..z4{right}..z3{up}..z5;
2128 ductus:=false;
2129 penlabels(0,1,2,3,4,5,6,7,8,100);
2130 endchar; % end "D"
2131
2132 % \end{macrocode}
2133 % \end{routine}
2134 %
2135 % \begin{routine}{E}
2136 % The letter `E'.
2137 % \begin{macrocode}
2138 cmchar "AUncial letter E";
2139 beginchar("E", 2u#+hstretch*caprat*(x_height#), caprat*(x_height#), 0);
2140 adjust_fit(0,0);
2141 pcshiftx := u;
2142 pickup quill;
2143 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
2144 x2=x4=w/2; top y2=h; bot y4=0;
2145 x5=x6=x3;
2146 y5=0.1h;
2147 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
2148 % the serif
2149 pickup stylus;
2150 rt x16=w-pcshiftx; top y16=y6';
2151 x17=x6; y17=y16-jut;
2152 lft x18=x6''; bot y18=y6'';
2153 pickup quill;
2154 % the bar
2155 x7=x1; y7=y1;
2156 x8=w-pcshiftx; y8=y7;
2157 %%ductus:=true;
2158 if ductus:
2159 pickup stylus;
2160 fi
2161 draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl
2162 pickup stylus;
2163 filldraw z17..z18--z16--cycle; % the serif
2164 draw_fork(7,8,jut); % the bar
2165 ductus:=false;
2166 penlabels(1,2,3,4,5,6,7,8,9,10,16,17,18,100);
2167 endchar; % end "E"
2168
2169 % \end{macrocode}
2170 % \end{routine}
2171 %
2172 % \begin{routine}{F}
2173 % The letter `F'.
2174 % \begin{macrocode}
2175 cmchar "AUncial letter F";
2176 beginchar("F", 2u#+hstretch*caprat*(x_height#), caprat*(x_height#),
2177 caprat*(desc_depth#));
2178 adjust_fit(0,0);
2179 pcshiftx := u;
2180 pickup quill;
2181 % stem
2182 lft x1=lft x2=pcshiftx+jut;
2183 top y1=h; bot y2=-d/2;
2184 % bars
2185 x3=x4=x1; y3=y1; bot y4=0;
2186 rt x5= rt x6=w-pcshiftx; y5=y3; y6=y4;
2187 % triangles
2188 x15=x16=rt x5-1/2thin;
2189 y15=y5; y16=y6;
2190 %%ductus:=true;
2191 if ductus:
2192 pickup stylus;
2193 fi
2194 draw_tlserif(1,2,srad); % stem
2195 draw_tail(2,jut);
2196 draw z3--z5; % top bar
2197 draw_rtriangle(15,jut);
2198 draw z4--z6; % bottom bar
2199 draw_rtriangle(16,jut);
2200 ductus:=false;
2201 penlabels(1,2,3,4,5,6,100);
2202 endchar; % end "F"
2203
2204 % \end{macrocode}
2205 % \end{routine}
2206 %
2207 % \begin{routine}{G}
2208 % The letter `G'.
2209 % \begin{macrocode}
2210 cmchar "AUncial letter G";
2211 beginchar("G", 2u#+hstretch*caprat*(x_height#), caprat*(x_height#),
2212 caprat*(desc_depth#));
2213 adjust_fit(0,0);
2214 pcshiftx := u;
2215 pickup quill;
2216 % the bowl
2217 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
2218 x2=x4=w/2; top y2=h; bot y4=0;
2219 x5=x6=x3;
2220 y5=0.1h;
2221 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
2222 % the serif
2223 pickup stylus;
2224 rt x16=w-pcshiftx; top y16=y6';
2225 x17=x6; y17=y16-jut;
2226 lft x18=x6''; bot y18=y6'';
2227 pickup quill;
2228 % the stem
2229 x7=rt x5-1/2thin; y7=top y5-1/2thin;
2230 pickup stylus;
2231 lft x8=w/2; bot y8=-d;
2232 pickup quill;
2233 pair vec[]; vec1:=z7-z8; vec2:=z8-z7;
2234 y21=y8+3/2thick; z21=whatever[z8,z7];
2235 y22=y8+ thick; z22=whatever[z8,z7];
2236 x23=x8-thick; y23=y8;
2237 x24=x23+1/2thick; y24=y23+1/2thick;
2238 %%ductus:=true;
2239 if ductus:
2240 pickup stylus;
2241 fi
2242 draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl
2243 pickup stylus;
2244 filldraw z17..z18--z16--cycle; % the serif
2245 draw z7--z22; % the stem
2246 filldraw z22{vec2}..{left}z23--z24{right}..{vec1}z21--cycle;
2247 ductus:=false;
2248 penlabels(1,2,3,4,5,6,7,8,16,17,18,21,22,23,24,100);
2249 endchar; % end "G"
2250
2251 % \end{macrocode}
2252 % \end{routine}
2253 %
2254 % \begin{routine}{H}
2255 % The letter `H'.
2256 % \begin{macrocode}
2257 cmchar "AUncial letter H";
2258 beginchar("H", 2u#+hstretch*caprat*(x_height#+jut#), caprat*(asc_height#), 0);
2259 adjust_fit(0,0);
2260 pcshiftx := u;
2261 pickup quill;
2262 lft x1=lft x2=pcshiftx+jut;
2263 top y1=h; bot y2=0;
2264 % bowl
2265 rt x5=w-pcshiftx; y5=3/8h;
2266 lft x6=2/3w; bot y6=0;
2267 x4=0.5[x1,x5]; top y4=3/4h;
2268 x4'=0.5[x4,x1]; y4'=y4;
2269 z4''=z4' shifted (-w*pdir);
2270 z3'=whatever[z4',z4'']=whatever[z1,z2];
2271 x3=rt x3'; y3=y3';
2272 %%ductus:=true;
2273 if ductus:
2274 pickup stylus;
2275 fi
2276 draw_istem(1,2,srad); % stem
2277 draw z3{pdir}..z4{right}..z5{down}..z6; % bowl
2278 ductus:=false;
2279 penlabels(1,2,3,4,5,6,100);
2280 endchar; % end "H"
2281
2282 % \end{macrocode}
2283 % \end{routine}
2284 %
2285 % \begin{routine}{I}
2286 % The letter I.
2287 % \begin{macrocode}
2288 cmchar "AUncial letter I";
2289 beginchar("I", 2u#+hstretch*(thick#+jut#), caprat*(x_height#), 0);
2290 adjust_fit(0,0);
2291 pcshiftx := u;
2292 pickup quill;
2293 lft x1=lft x2=pcshiftx+jut;
2294 top y1=h; bot y2=0;
2295 %%ductus:=true;
2296 draw_tlserif(1,2,srad);
2297 draw_tail(2,jut);
2298 ductus:=false;
2299 penlabels(1,2,100);
2300 endchar; % end "I"
2301
2302 % \end{macrocode}
2303 % \end{routine}
2304 %
2305 % \begin{routine}{J}
2306 % The letter `J'. This letter was not in the script, it being a later invention.
2307 % \begin{macrocode}
2308 cmchar "AUncial letter J";
2309 beginchar("J", 2u#+hstretch*(thick#+jut#), caprat*(x_height#),
2310 caprat*(desc_depth#));
2311 adjust_fit(0,0);
2312 pcshiftx := u;
2313 pickup quill;
2314 lft x1=lft x2=pcshiftx+jut;
2315 top y1=h; bot y2=-1/2d;
2316 %%ductus:=true;
2317 draw_tlserif(1,2,srad);
2318 draw_tail(2,jut);
2319 ductus:=false;
2320 penlabels(1,2,100);
2321 endchar; % end "J"
2322
2323 % \end{macrocode}
2324 % \end{routine}
2325 %
2326 % \begin{routine}{K}
2327 % The letter `K'.
2328 % \begin{macrocode}
2329 cmchar "AUncial letter K";
2330 beginchar("K", 2u#+hstretch*caprat*(4/3x_height#), caprat*(asc_height#), 0);
2331 adjust_fit(0,0);
2332 pcshiftx := u;
2333 pickup quill;
2334 lft x1=lft x2=pcshiftx+jut;
2335 top y1=h; bot y2=0;
2336 % for the flick
2337 numeric rise,fall,fjut;
2338 x3=rt x1; y3=5/8h;
2339 rise:=1/6h; fall:=-rise/2; fjut:=1/2w;
2340 % for the leg
2341 %%x4=x1; y4=y3;
2342 z4=z3;
2343 x5=w-pcshiftx-jut; y5=0;
2344 %%ductus:=true;
2345 if ductus:
2346 pickup stylus;
2347 fi
2348 draw_tlserif(1,2,srad); % stem
2349 draw_tail(2,jut);
2350 draw_flick(3,rise,fall,fjut); % upper diag
2351 draw_tstem(4,5,srad); % lower diag
2352 ductus:=false;
2353 penlabels(1,2,3,4,5,100);
2354 endchar; % end "K"
2355
2356 % \end{macrocode}
2357 % \end{routine}
2358 %
2359 % \begin{routine}{L}
2360 % The letter `L'.
2361 % \begin{macrocode}
2362 cmchar "AUncial letter L";
2363 beginchar("L", 2u#+hstretch*caprat*(x_height#), caprat*(asc_height#), 0);
2364 adjust_fit(0,0);
2365 pcshiftx := u;
2366 pickup quill;
2367 lft x1=lft x2=pcshiftx+jut;
2368 top y1=h; bot y2=0;
2369 z3=z2;
2370 x4=w-u; y4=0;
2371 %%ductus:=true;
2372 draw_tlserif(1,2,srad); % the stem
2373 draw_fork(3,4,jut); % the foot
2374 ductus:=false;
2375 penlabels(1,2,3,4,100);
2376 endchar; % end "L"
2377
2378 % \end{macrocode}
2379 % \end{routine}
2380 %
2381 % \begin{routine}{M}
2382 % The letter `M'.
2383 % \begin{macrocode}
2384 cmchar "AUncial letter M";
2385 beginchar("M", 2u#+hstretch*caprat*(2x_height#), caprat*(x_height#), 0);
2386 adjust_fit(0,0);
2387 pcshiftx := u;
2388 pickup quill;
2389 rt x1=1/4w; bot y1=0;
2390 lft x2= pcshiftx; y2=h/2;
2391 x4=w/2; y4=2/3h;
2392 x3=0.5[x2,x4]; top y3=h;
2393 x5=x4; y5=y1;
2394 z6=z4;
2395 x7=3/4w; top y7=h;
2396 rt x8=w-pcshiftx; y8=y2;
2397 lft x9=3/4w; y9=y1;
2398 %%ductus:=true;
2399 if ductus:
2400 pickup stylus;
2401 fi
2402 draw z1..z2{up}..z3{right}..{down}z4; % left half
2403 draw_tstem(4,5,srad); % middle stem
2404 draw z6..z7{right}..z8{down}..{-pdir}z9; % right half
2405 ductus:=false;
2406 penlabels(1,2,3,4,5,6,7,8,9,100);
2407 endchar; % end "M"
2408
2409 % \end{macrocode}
2410 % \end{routine}
2411 %
2412 % \begin{routine}{N}
2413 % The letter `N'.
2414 % \begin{macrocode}
2415 cmchar "AUncial letter N";
2416 beginchar("N", 2u#+hstretch*caprat*(2jut#+x_height#), caprat*(x_height#),
2417 caprat*(0.5desc_depth#));
2418 adjust_fit(0,0);
2419 pcshiftx := u;
2420 pickup quill;
2421 % left stem
2422 lft x1=pcshiftx+jut; top y1=h;
2423 x2=x1; bot y2=0;
2424 % right stem
2425 rt x4=w-pcshiftx-jut; y4=y1;
2426 x3=x4; bot y3=0;
2427 %%ductus:=true;
2428 if ductus:
2429 pickup stylus;
2430 fi
2431 draw_tlserif(1,2,srad); % left stem
2432 draw_tail(2,jut);
2433 draw_istem(4,3,srad); % right stem
2434 draw z1--z3; % diagonal
2435 ductus:=false;
2436 penlabels(1,2,3,4,100);
2437 endchar; % end "N"
2438
2439 % \end{macrocode}
2440 % \end{routine}
2441 %
2442 % \begin{routine}{O}
2443 % The letter `O'.
2444 % \begin{macrocode}
2445 cmchar "AUncial letter O";
2446 beginchar("O", 2u#+hstretch*caprat*(7/6x_height#), caprat*(x_height#), 0);
2447 adjust_fit(0,0);
2448 pcshiftx := u;
2449 pickup quill;
2450 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
2451 x2=x4=w/2; top y2=h+o; bot y4=-o;
2452 %%ductus:=true;
2453 if ductus:
2454 pickup stylus;
2455 fi
2456 draw z1..z2..z3..z4..cycle;
2457 ductus:=false;
2458 penlabels(1,2,3,4,100);
2459 endchar; % end "O"
2460
2461 % \end{macrocode}
2462 % \end{routine}
2463 %
2464 % \begin{routine}{P}
2465 % The letter `P'.
2466 % \begin{macrocode}
2467 cmchar "AUncial letter P";
2468 beginchar("P", 2u#+hstretch*caprat*(7/6x_height#), caprat*(x_height#),
2469 caprat*(desc_depth#));
2470 adjust_fit(0,0);
2471 pcshiftx := u;
2472 pickup quill;
2473 % stem
2474 lft x1=lft x2=pcshiftx+jut; top y1=h; bot y2=-1/2d;
2475 % bowl
2476 z3=z1;
2477 rt x5=w-pcshiftx; y5=1/2h;
2478 lft x7=rt x1; bot y7=0;
2479 %%ductus:=true;
2480 if ductus:
2481 pickup stylus;
2482 fi
2483 draw_tlserif(1,2,srad); % stem
2484 draw_tail(2,jut);
2485 draw z3{pdir}..z5{down}..{-pdir}z7; % bowl
2486 ductus:=false;
2487 penlabels(1,2,3,4,5,6,7,100);
2488 endchar; % end "P"
2489
2490 % \end{macrocode}
2491 % \end{routine}
2492 %
2493 % \begin{routine}{Q}
2494 % The letter `Q'.
2495 % \begin{macrocode}
2496 cmchar "AUncial letter Q";
2497 beginchar("Q", 2u#+hstretch*caprat*(7/6x_height#), caprat*(x_height#),
2498 caprat*(desc_depth#));
2499 adjust_fit(0,0);
2500 pcshiftx := u;
2501 pickup quill;
2502 % right stem
2503 rt x1=rt x2=w-pcshiftx; top y1=h; bot y2=-1/2d;
2504 % bowl
2505 z3=z1;
2506 lft x5=pcshiftx; y5=1/2h;
2507 rt x7=lft x1; y7=0.1h;
2508 %%ductus:=true;
2509 if ductus:
2510 pickup stylus;
2511 fi
2512 draw z1--z2; % right stem
2513 draw_tail(2,jut);
2514 draw z3{left}..z5{down}..{pdir}z7; % bowl
2515 ductus:=false;
2516 penlabels(1,2,3,4,5,6,7,100);
2517 endchar; % end "Q"
2518
2519 % \end{macrocode}
2520 % \end{routine}
2521 %
2522 % \begin{routine}{R}
2523 % The letter `R'.
2524 % \begin{macrocode}
2525 cmchar "AUncial letter R";
2526 beginchar("R", 2u#+hstretch*caprat*(4/3x_height#), caprat*(x_height#),
2527 caprat*(1/2desc_depth#));
2528 adjust_fit(0,0);
2529 pcshiftx := u;
2530 pickup quill;
2531 % stem
2532 lft x1=lft x2=pcshiftx+jut; top y1=h; bot y2=0;
2533 % bowl
2534 lft x3=rt x1-thin; y3=y1;
2535 rt x5=3/4w; y5=3/4h;
2536 lft x7=rt x1; bot y7=1/3h;
2537 % leg
2538 z8=z7;
2539 rt x9=w-pcshiftx; bot y9=0;
2540 %%ductus:=true;
2541 if ductus:
2542 pickup stylus;
2543 fi
2544 draw_tlserif(1,2,srad); % stem
2545 draw_tail(2,jut);
2546 draw z3{pdir}..z5{down}..{-pdir}z7; % bowl
2547 draw z8{-ppdir}..{right}z9; % leg
2548 ductus:=false;
2549 penlabels(1,2,3,4,5,6,7,8,9,100);
2550 endchar; % end "R"
2551
2552 % \end{macrocode}
2553 % \end{routine}
2554 %
2555 % \begin{routine}{S}
2556 % The letter `S'.
2557 % \begin{macrocode}
2558 cmchar "AUncial letter S";
2559 beginchar("S", 2u#+hstretch*caprat*(x_height#), caprat*(x_height#), 0);
2560 adjust_fit(0,0);
2561 pcshiftx := u;
2562 pickup quill;
2563 rt x1=w-pcshiftx; top y1=h-thin;
2564 x2=w/2; top y2=h;
2565 lft x3=pcshiftx; y3=0.75h;
2566 x4=w/2; y4=h/2;
2567 rt x5=w-pcshiftx; y5=0.25h;
2568 x6=w/2; bot y6=0;
2569 lft x7= pcshiftx; bot y7 = thin;
2570 path p[];
2571 p1=z1..z2{left}..z3{down}..z4..z5{down}..z6{left}..z7;
2572 pair vec[];
2573 vec1= direction 0 of p1;
2574 vec2= direction (length p1) of p1;
2575 z11=z1 shifted vec1;
2576 z17=z7 shifted -vec2;
2577 y6'=top y1; y6''=bot y1; x6''=lft x1;
2578 % the serif
2579 pickup stylus;
2580 rt x26=w-pcshiftx; top y26=y6';
2581 x27=x1; y27=y26-0.75jut;
2582 lft x28=x6''; bot y28=y6'';
2583 pickup quill;
2584 %%ductus:=true;
2585 if ductus:
2586 pickup stylus;
2587 fi
2588 draw p1; % the curve
2589 pickup stylus;
2590 filldraw z27..z28--z26--cycle; % the serif
2591 ductus:=false;
2592 penlabels(1,2,3,4,5,6,7,11,17,26,27,28,100);
2593 endchar; % end "S"
2594
2595 % \end{macrocode}
2596 % \end{routine}
2597 %
2598 % \begin{routine}{T}
2599 % The letter `T'.
2600 % \begin{macrocode}
2601 cmchar "AUncial letter T";
2602 beginchar("T", 2u#+hstretch*caprat*(4/3x_height#), caprat*(x_height#), 0);
2603 adjust_fit(0,0);
2604 pcshiftx := u;
2605 numeric alpha; alpha:=0.5jut;
2606 pickup quill;
2607 x1=x2=w/2;
2608 top y1=h; bot y2=0;
2609 lft x3=pcshiftx; rt x4=w-pcshiftx; y3=y4=y1;
2610 x5=pcshiftx+alpha; y5=h-1/2thin;
2611 x6=w-pcshiftx-1/2thin; y6=y5;
2612 %%ductus:=true;
2613 if ductus:
2614 pickup stylus;
2615 fi
2616 draw_tstem(1,2,srad); % stem
2617 draw z3--z4; % top bar
2618 draw_triangle(5,2alpha); draw_rtriangle(6,2alpha);
2619 ductus:=false;
2620 penlabels(1,2,3,4,5,100);
2621 endchar; % end "T"
2622
2623 % \end{macrocode}
2624 % \end{routine}
2625 %
2626 % \begin{routine}{U}
2627 % The letter `U'.
2628 % \begin{macrocode}
2629 cmchar "AUncial letter U";
2630 beginchar("U", 2u#+hstretch*caprat*(4/3x_height#+jut#), caprat*(x_height#), 0);
2631 adjust_fit(0,0);
2632 pcshiftx := u;
2633 pickup quill;
2634 % left half first
2635 lft x6=pcshiftx+jut;
2636 top y6=h-2thin;
2637 lft x7=pcshiftx; y7=h/2;
2638 x8=0.5[x6,x1]; bot y8=0;
2639 % the stem
2640 rt x1=w-pcshiftx-jut; top y1=h;
2641 x2=x1; bot y2=0;
2642 % construction points for the curved part
2643 x5=0.5[x8,x1]; y5=y8;
2644 z5'=z5 shifted (w*pdir);
2645 path p[];
2646 p1=z5--z5';
2647 p2=z1--z2;
2648 z9= p2 intersectionpoint p1;
2649 pair vec[];
2650 p3=z6..z7{down}..{right}z8;
2651 vec3 = direction 0 of p3;
2652 z16=z6 shifted vec3;
2653 %%ductus:=true;
2654 if ductus:
2655 pickup stylus;
2656 fi
2657 % draw the serifs, then the bowls
2658 draw_serif(6,16,srad); % left half
2659 draw z6a..z7{down}..z8{right}..{pdir}z9;
2660 draw_istem(1,2,srad); % right stem
2661 ductus:=false;
2662 penlabels(1,2,3,4,5,6,7,8,9,11,16,100);
2663 endchar; % end "U"
2664
2665 % \end{macrocode}
2666 % \end{routine}
2667 %
2668 % \begin{routine}{V}
2669 % The letter `V'. The right half of the `w' is used for the `v' (or vice-versa
2670 % if you prefer).
2671 % \begin{macrocode}
2672 cmchar "AUncial letter V";
2673 beginchar("V", 2u#+hstretch*caprat*(7/6x_height#+jut#), caprat*(x_height#), 0);
2674 adjust_fit(0,0);
2675 pcshiftx := u;
2676 pickup quill;
2677 % right side of W
2678 numeric midx; midx:= pcshiftx;
2679 lft x1=midx+jut; top y1=h;
2680 x2=x1; y2=h/2;
2681 rt x4=w-pcshiftx; y4=y2;
2682 x3=0.5[x2,x4]; bot y3=0;
2683 x5=x4-thick; y5=y1;
2684 %%ductus:=true;
2685 if ductus:
2686 pickup stylus;
2687 fi
2688 % draw the serifs, then the bowls
2689 draw_tlserif(1,2,srad);
2690 draw z2{down}..z3{right}..z4{up}..z5;
2691 ductus:=false;
2692 penlabels(1,2,3,4,5,11,100);
2693 endchar; % end "V"
2694
2695 % \end{macrocode}
2696 % \end{routine}
2697 %
2698 % \begin{routine}{W}
2699 % The letter `W'. This is a modern version as the font did not have a W.
2700 % \begin{macrocode}
2701 cmchar "AUncial letter W";
2702 beginchar("W", 2u#+hstretch*caprat*(2x_height#), caprat*(x_height#), 0);
2703 adjust_fit(0,0);
2704 pcshiftx := u;
2705 pickup quill;
2706 % right side first
2707 numeric midx; midx:= w/2-jut;
2708 lft x1=midx+jut; top y1=h;
2709 x2=x1; y2=h/2;
2710 rt x4=w-pcshiftx; y4=y2;
2711 x3=0.5[x2,x4]; bot y3=0;
2712 x5=x4-thick; y5=y1;
2713 % left side
2714 lft x6=pcshiftx+jut;
2715 top y6=h-2thin;
2716 lft x7=pcshiftx; y7=y2;
2717 x8=0.5[x7,x1]; y8=y3;
2718 % construction points
2719 x15=0.5[x8,x1]; y15=y8;
2720 z15'=z15 shifted (w*pdir);
2721 x2'=x2; y2'=y15;
2722 path p[];
2723 p1=z1--z2';
2724 p2=z15--z15';
2725 z9= p2 intersectionpoint p1;
2726 pair vec[];
2727 p3=z6..z7{down}..{right}z8;
2728 vec3 = direction 0 of p3;
2729 z16=z6 shifted vec3;
2730 %%ductus:=true;
2731 if ductus:
2732 pickup stylus;
2733 fi
2734 % draw the serifs, then the bowls
2735 draw_tlserif(1,2,srad); % right half
2736 draw z2{down}..z3{right}..z4{up}..z5;
2737 draw_serif(6,16,srad); % left half
2738 draw z6a..z7{down}..z8{right}..z9;
2739 ductus:=false;
2740 penlabels(1,2,3,4,5,6,7,8,9,11,16,100);
2741 endchar; % end "W"
2742
2743 % \end{macrocode}
2744 % \end{routine}
2745 %
2746 % \begin{routine}{X}
2747 % The letter `X'.
2748 % \begin{macrocode}
2749 cmchar "AUncial letter X";
2750 beginchar("X", 2u#+hstretch*caprat*(4/3x_height#+jut#), caprat*(x_height#),
2751 caprat*(1/2desc_depth#));
2752 adjust_fit(0,0);
2753 pcshiftx := u;
2754 pickup quill;
2755 % thick diagonal
2756 lft x1=pcshiftx+jut; rt x2=w-pcshiftx-jut;
2757 y1=h; y2=0;
2758 % thin diagonal
2759 lft x3=pcshiftx; bot y3=-d;
2760 rt x5=w-pcshiftx; top y5=h;
2761 %%ductus:=true;
2762 if ductus:
2763 pickup stylus;
2764 fi
2765 draw_istem(1,2,srad); % thick diagonal
2766 draw z3..{pdir}z5; % thin diagonal
2767 ductus:=false;
2768 penlabels(1,2,3,4,5,6,7,8,100);
2769 endchar; % end "X"
2770
2771 % \end{macrocode}
2772 % \end{routine}
2773 %
2774 % \begin{routine}{Y}
2775 % The letter `Y'. This has a dot on top!
2776 % \begin{macrocode}
2777 cmchar "AUncial letter Y";
2778 beginchar("Y", 2u#+hstretch*caprat*(4/3x_height#), caprat*(x_height#),
2779 caprat*(desc_depth#));
2780 adjust_fit(0,0);
2781 pcshiftx := u;
2782 pickup quill;
2783 % left stroke
2784 lft x1=pcshiftx+jut; top y1=h;
2785 rt x2=3/4w; top y2=0;
2786 % right stroke
2787 pickup stylus;
2788 rt x3=w-pcshiftx; top y3=h;
2789 lft x4=pcshiftx; bot y4=-d;
2790 x5=x3-3thin; y5=y3;
2791 x7=x2-3/2thin; y7=y2;
2792 pickup quill;
2793 % the dot
2794 x8=w/2; y8=h+jut;
2795 if ductus:
2796 pickup stylus;
2797 fi
2798 draw_tlserif(1,2,srad); % left stroke
2799 draw_pdot(8,dot_size); % the dot
2800 pickup stylus;
2801 filldraw z3..z2..z4 & z4..z7..z5--cycle; % right stroke
2802 ductus:=false;
2803 penlabels(1,2,3,4,5,6,7,8,9,10,100);
2804 endchar; % end "Y"
2805
2806 % \end{macrocode}
2807 % \end{routine}
2808 %
2809 %
2810 % \begin{routine}{Z}
2811 % The letter `Z'.
2812 % \begin{macrocode}
2813 cmchar "AUncial letter Z";
2814 beginchar("Z", 2u#+hstretch*caprat*(7/6x_height#), caprat*(x_height#), 0);
2815 adjust_fit(0,0);
2816 pcshiftx := u;
2817 pickup quill;
2818 % bottom stroke
2819 lft x4=pcshiftx; bot y4=0;
2820 x6=w-pcshiftx; y6=0;
2821 % top stroke
2822 x1=x4; top y1=h;
2823 rt x3=6/7w; y3=y1;
2824 x11=pcshiftx+0.5jut; y11=h-thin/2; % y11=h-thin;
2825 %%ductus:=true;
2826 if ductus:
2827 pickup stylus;
2828 fi
2829 draw z1--z3; % top stroke
2830 draw_triangle(11,jut);
2831 draw_fork(4,6,jut);
2832 draw z4--z3; % diagonal
2833 ductus:=false;
2834 penlabels(1,2,3,4,5,6,100);
2835 endchar; % end "Z"
2836
2837 % \end{macrocode}
2838 % \end{routine}
2839 %
2840 %
2841 %
2842 %
2843 % The end of this file
2844 % \begin{macrocode}
2845 %</maj>
2846 % \end{macrocode}
2847 %
2848 %
2849 %
2850 % \subsection{The punctuation file}
2851 %
2852 % The main punctuation marks are defined in this file.
2853 %
2854 % \begin{macrocode}
2855 %<*punct>
2856 % AUNCLPUNCT.MF This file contains punctuation marks
2857
2858 % \end{macrocode}
2859 %
2860 %
2861 % \begin{routine}{,}
2862 % The `,' character.
2863 % \begin{macrocode}
2864
2865 cmchar "Uncial Comma";
2866 beginchar(",",2u#+hstretch*(comma_width#+dot_size#),x_height#,0);
2867 adjust_fit(0,0);
2868 pcshiftx:=u;
2869 x1=w-pcshiftx-(0.5hstretch*dot_size); y1=h/2;
2870 draw_pcomma(1,dot_size,comma_width);
2871 penlabels(1);
2872 endchar; % end of ","
2873
2874 % \end{macrocode}
2875 % \end{routine}
2876 %
2877 % \begin{routine}{.}
2878 % The `.' character.
2879 % \begin{macrocode}
2880
2881 cmchar "Uncial Period";
2882 beginchar(".",2u#+hstretch*(dot_size#),x_height#,0);
2883 pcshiftx:=u;
2884 x1=w/2; y1=h/2;
2885 draw_pdot(1,dot_size);
2886 penlabels(1);
2887 endchar; % end of "."
2888
2889 % \end{macrocode}
2890 % \end{routine}
2891 %
2892 %
2893 % \begin{routine}{:}
2894 % The `:' character.
2895 % \begin{macrocode}
2896
2897 cmchar "Uncial Colon";
2898 beginchar(":",2u#+hstretch*(dot_size#),x_height#,0);
2899 pcshiftx:=u;
2900 x1=x2=w/2; y1=2/3h; y2=1/3h;
2901 draw_pdot(1,dot_size);
2902 draw_pdot(2,dot_size);
2903 penlabels(1,2);
2904 endchar; % end ":"
2905
2906 % \end{macrocode}
2907 % \end{routine}
2908 %
2909 % \begin{routine}{;}
2910 % The `;' character.
2911 % \begin{macrocode}
2912
2913 cmchar "Uncial Semicolon";
2914 beginchar(";",2u#+hstretch*(comma_width#+dot_size#),x_height#,0);
2915 adjust_fit(0,0);
2916 pcshiftx:=u;
2917 x1=x2=w-pcshiftx-(0.5hstretch*dot_size); y1=2/3h; y2=1/3h;
2918 draw_pdot(1,dot_size);
2919 draw_pcomma(2,dot_size,comma_width);
2920 penlabels(1,2);
2921 endchar; % end of ";"
2922
2923 % \end{macrocode}
2924 % \end{routine}
2925 %
2926 % \begin{routine}{'}
2927 % The `'' character.
2928 % \begin{macrocode}
2929
2930 cmchar "Uncial Apostrophe";
2931 beginchar("'",2u#+hstretch*(comma_width#+dot_size#),4/3x_height#,0);
2932 adjust_fit(0,0);
2933 pcshiftx:=u;
2934 x1=w-pcshiftx-(0.5hstretch*dot_size); y1=h;
2935 draw_pcomma(1,dot_size,comma_width);
2936 penlabels(1);
2937 endchar; % end of "'"
2938
2939 % \end{macrocode}
2940 % \end{routine}
2941 %
2942 % \begin{routine}{`}
2943 % The ``' character.
2944 % \begin{macrocode}
2945
2946 cmchar "Uncial Reverse apostrophe";
2947 beginchar("`",2u#+hstretch*(comma_width#+dot_size#),4/3x_height#,0);
2948 adjust_fit(0,0);
2949 pcshiftx:=u;
2950 x1=pcshiftx+(0.5hstretch*dot_size); y1=h;
2951 draw_plq(1,dot_size,comma_width);
2952 penlabels(1);
2953 endchar; % end of "`"
2954
2955 % \end{macrocode}
2956 % \end{routine}
2957 %
2958 % The end of this file.
2959 % \begin{macrocode}
2960 %</punct>
2961 % \end{macrocode}
2962 %
2963 %
2964 % \subsection{The ligatures and dashes file}
2965 %
2966 % The ligatured punctuation marks and dashes are defined in this file.
2967 % \begin{macrocode}
2968 %<*lig>
2969 % AUNCLLIG.MF Uncial ligatured punctation and dashes
2970
2971 % \end{macrocode}
2972 % First the ligtables.
2973 % \begin{macrocode}
2974
2975 ligtable "`": "`"=:oct"134";
2976 ligtable "'": "'"=:oct"042"; %% , "?" kern 2u#, "!" kern 2u#;
2977
2978 ligtable "-": "-"=:oct"173";
2979 ligtable oct"173": "-"=:oct"174";
2980
2981 % \end{macrocode}
2982 %
2983 % \begin{routine}{''}
2984 % The `''' ligature.
2985 % \begin{macrocode}
2986
2987 cmchar "Uncial closing quotes";
2988 beginchar(oct"042",2u#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0);
2989 adjust_fit(0,0);
2990 pcshiftx:=u;
2991 x1=w-pcshiftx-(0.5hstretch*dot_size); y1=y2=h;
2992 x2=x1-(2hstretch*dot_size);
2993 draw_pcomma(1,dot_size,comma_width); % right
2994 draw_pcomma(2,dot_size,comma_width); % left
2995 penlabels(1,2);
2996 endchar; % end of "''"
2997
2998 % \end{macrocode}
2999 % \end{routine}
3000 %
3001 % \begin{routine}{``}
3002 % The ```' ligature.
3003 % \begin{macrocode}
3004
3005 cmchar "Uncial opening quotes";
3006 beginchar(oct"134",2u#+hstretch*(comma_width#+3dot_size#),4/3x_height#,0);
3007 adjust_fit(0,0);
3008 pcshiftx:=u;
3009 x1=pcshiftx+(0.5hstretch*dot_size); y1=y2=h;
3010 x2=x1+(2hstretch*dot_size);
3011 draw_plq(1,dot_size,comma_width); % left
3012 draw_plq(2,dot_size,comma_width); % right
3013 penlabels(1,2);
3014 endchar; % end of "``"
3015
3016 % \end{macrocode}
3017 % \end{routine}
3018 %
3019 % \begin{routine}{-}
3020 % The `-' character.
3021 % \begin{macrocode}
3022
3023 cmchar "Uncial hyphen";
3024 beginchar("-",u#+hstretch*(0.8x_height#),x_height#,0);
3025 adjust_fit(0,0);
3026 pcshiftx:=u/2;
3027 numeric alpha; alpha:=w/8;
3028 pickup quill;
3029 lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2;
3030 x11=lft x1+alpha/2; y11=top y1-0.5thin;
3031 x12=rt x2; y12=bot y1+0.5thin;
3032 draw z1--z2; % bar
3033 draw_triangle(11,alpha);
3034 draw_rutriangle(12,alpha);
3035 penlabels(1,2);
3036 endchar; % end of "-"
3037
3038 % \end{macrocode}
3039 % \end{routine}
3040 %
3041 % \begin{routine}{--}
3042 % The -- ligature.
3043 % \begin{macrocode}
3044
3045 cmchar "Uncial en dash";
3046 beginchar(oct"173",u#+hstretch*(x_height#),x_height#,0);
3047 adjust_fit(0,0);
3048 pcshiftx:=u/2;
3049 numeric alpha; alpha:=w/8;
3050 pickup quill;
3051 lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2;
3052 x11=lft x1+alpha/2; y11=top y1-0.5thin;
3053 x12=rt x2; y12=bot y1+0.5thin;
3054 draw z1--z2; % bar
3055 draw_triangle(11,alpha);
3056 draw_rutriangle(12,alpha);
3057 penlabels(1,2);
3058 endchar; % end of "--"
3059
3060 % \end{macrocode}
3061 % \end{routine}
3062 %
3063 % \begin{routine}{---}
3064 % The `---' ligature. The em dash is twice the width of the en dash.
3065 % \begin{macrocode}
3066
3067 cmchar "Uncial em dash";
3068 beginchar(oct"174",u#+hstretch*(2x_height#),x_height#,0);
3069 adjust_fit(0,0);
3070 pcshiftx:=u/2;
3071 numeric alpha; alpha:=w/8;
3072 pickup quill;
3073 lft x1 = pcshiftx; rt x2=w-pcshiftx; y1=y2=h/2;
3074 x11=lft x1+alpha/2; y11=top y1-0.5thin;
3075 x12=rt x2; y12=bot y1+0.5thin;
3076 draw z1--z2; % bar
3077 draw_triangle(11,alpha);
3078 draw_rutriangle(12,alpha);
3079 penlabels(1,2);
3080 endchar; % end of "---"
3081
3082 % \end{macrocode}
3083 % \end{routine}
3084 %
3085 % \begin{routine}{&}
3086 % The ampersand (which is really an `et' ligature).
3087 % \begin{macrocode}
3088
3089 cmchar "Uncial ampersand";
3090 beginchar("&", 2u#+hstretch*(7/4x_height#), x_height#, 0.5desc_depth#);
3091 adjust_fit(0,0);
3092 pcshiftx:=u;
3093 numeric alpha; alpha:=4/7w-u;
3094 pickup quill;
3095 % for the e part
3096 lft x1=pcshiftx; rt x3= alpha; y1=y3=h/2;
3097 x2=x4=alpha/2; top y2=h; bot y4=0;
3098 x5=x6=x3;
3099 y5=0.1h;
3100 top y6=0.95h; y6'=top y6; y6''=bot y6; x6''=lft x6;
3101 pickup stylus;
3102 rt x16=alpha; top y16=y6';
3103 x17=x6; y17=y16-jut;
3104 lft x18=x6''; bot y18=y6'';
3105 pickup quill;
3106 % the bar
3107 x7=x1; y7=y1;
3108 x8=w-pcshiftx; y8=y7;
3109 % the t part
3110 lft x31=alpha+2thin; y31=y8;
3111 x32=x31; bot y32=-d;
3112 x33=rt x8-0.5thin; y33=top y31-0.5thin;
3113 %%ductus:=true;
3114 if ductus:
3115 pickup stylus;
3116 fi
3117 draw z5{-pdir}..{left}z4..z1..z2..z6; % the bowl
3118 draw_tstem(31,32,srad); % t stem
3119 draw z7--z8; % the (top) bar
3120 draw_rtriangle(33,jut); % t bar serif
3121 pickup stylus;
3122 filldraw z17..z18--z16--cycle; % e serif
3123 ductus:=false;
3124 penlabels(1,2,3,4,5,6,7,8,9,10,16,17,18,31,32,33);
3125 endchar; % end of "&"
3126
3127 % \end{macrocode}
3128 % \end{routine}
3129 %
3130 %
3131 % The end of this file.
3132 % \begin{macrocode}
3133 %</lig>
3134 % \end{macrocode}
3135 %
3136 % \subsection{The digits file}
3137 %
3138 % These are arabic digits in the style of the book-hand. They are a
3139 % modern invention.
3140 %
3141 % \begin{macrocode}
3142 %<*dig>
3143 % AUNCLDIG.MF Program file for Artificial Uncial digits
3144 %
3145
3146 % \end{macrocode}
3147 %
3148 %
3149 % \begin{routine}{1}
3150 % The digit `1'.
3151 % \begin{macrocode}
3152 cmchar "AUncial digit 1";
3153 beginchar("1", 2u#+fig_width#, fig_height#, 0);
3154 adjust_fit(0,0);
3155 pcshiftx := u;
3156 pickup quill;
3157 x1=x2=w/2;
3158 y1=h; bot y2=0;
3159 %%ductus:=true;
3160 draw_tlserif(1,2,srad);
3161 draw_tail(2,jut);
3162 ductus:=false;
3163 penlabels(1,2,100);
3164 endchar; % end "1"
3165
3166 % \end{macrocode}
3167 % \end{routine}
3168 %
3169 %
3170 % \begin{routine}{2}
3171 % The digit `2'.
3172 % \begin{macrocode}
3173 cmchar "AUncial digit 2";
3174 beginchar("2", 2u#+fig_width#, fig_height#, 0);
3175 adjust_fit(0,0);
3176 pcshiftx := u;
3177 pickup quill;
3178 % stem
3179 lft x1=pcshiftx; y1=3/4h;
3180 x2=1/2w; top y2= h+o;
3181 rt x3=w-pcshiftx; y3=3/4h;
3182 % foot
3183 lft x5=pcshiftx; bot y5=0;
3184 rt x6=w-pcshiftx; y6=y5;
3185 %%ductus:=true;
3186 if ductus:
3187 pickup stylus;
3188 fi
3189 draw_fork(5,6,jut); % foot
3190 draw z1{up}..z2{right}..z3{down}..{down}z5; % curve
3191 ductus:=false;
3192 penlabels(1,2,3,4,5,6,100);
3193 endchar; % end "2"
3194
3195 % \end{macrocode}
3196 % \end{routine}
3197 %
3198 %
3199 % \begin{routine}{3}
3200 % The digit `3'.
3201 % \begin{macrocode}
3202 cmchar "AUncial digit 3";
3203 beginchar("3", 2u#+fig_width#, fig_height#, 0);
3204 adjust_fit(0,0);
3205 pcshiftx := u;
3206 pickup quill;
3207 % x values
3208 lft x3=pcshiftx; x10=x3;
3209 rt x5=w-pcshiftx; x8=x5-3thin;
3210 x4=0.5[x3,x5];
3211 x9=0.5[x10,x8];
3212 lft x6=pcshiftx; x7=x6;
3213 % y values
3214 y3=1/4h; y10=3/4h;
3215 y6=0.5[y3,y10]; y7=y6;
3216 bot y4=-thin; top y9=h+thin;
3217 y5=0.5[y4,y6];
3218 y8=0.5[y7,y9];
3219 %%ductus:=true;
3220 if ductus:
3221 pickup stylus;
3222 fi
3223 draw z3{down}..z4{right}..z5{up}...{left}z6; % bottom bowl
3224 draw z7{right}...z8{up}..z9{left}..{down}z10; % top bowl
3225 ductus:=false;
3226 penlabels(1,2,3,4,5,6,7,8,9,10,100);
3227 endchar; % end "3"
3228
3229 % \end{macrocode}
3230 % \end{routine}
3231 %
3232 % \begin{routine}{4}
3233 % The digit `4'.
3234 % \begin{macrocode}
3235 cmchar "AUncial digit 4";
3236 beginchar("4", 2u#+fig_width#, fig_height#, 0);
3237 adjust_fit(0,0);
3238 pcshiftx := u;
3239 pickup quill;
3240 % the stem
3241 x1=x2=w-pcshiftx-jut;
3242 y1=h; bot y2=0;
3243 % the crossbar
3244 lft x3=pcshiftx; y3=0.33h;
3245 rt x4=w-pcshiftx; y4=y3;
3246 %%ductus:=true;
3247 if ductus:
3248 pickup stylus;
3249 fi
3250 draw_tstem(1,2,srad); % main stem
3251 draw_wave(3,4,thin); % crossbar
3252 draw z3wl--z1; % diagonal
3253 ductus:=false;
3254 penlabels(1,2,3,4,100);
3255 endchar; % end "4"
3256
3257 % \end{macrocode}
3258 % \end{routine}
3259 %
3260 %
3261 %
3262 % \begin{routine}{5}
3263 % The digit `5'.
3264 % \begin{macrocode}
3265 cmchar "AUncial digit 5";
3266 beginchar("5", 2u#+fig_width#, fig_height#, 0);
3267 adjust_fit(0,0);
3268 pcshiftx := u;
3269 pickup quill;
3270 % for the top
3271 rt x1=w-pcshiftx; top y1=h;
3272 lft x2=pcshiftx; y2=y1;
3273 % the S curve
3274 x3=x2; y3=0.5h+thin;
3275 x4=0.5[x1,x3]; y4=0.5[y3,y5];
3276 rt x5=w-pcshiftx; y5=0.3h;
3277 x6=w/2; bot y6=0;
3278 lft x7=pcshiftx; bot y7=2thin;
3279 x8=w-pcshiftx; y8=h-0.5thin;
3280 %%ductus:=true;
3281 if ductus:
3282 pickup stylus;
3283 fi
3284 %%draw_wave(2,1,thin); % top squiggle
3285 draw z2--z1; % top bar
3286 draw_rtriangle(8,3/4jut);
3287 draw z3{pdir}..z5{down}..z6{left}..z7; % curve
3288 draw z2--z3; % vertical
3289 ductus:=false;
3290 penlabels(1,2,3,4,5,6,7,100);
3291 endchar; % end "5"
3292
3293 % \end{macrocode}
3294 % \end{routine}
3295 %
3296 % \begin{routine}{6}
3297 % The digit `6'.
3298 % \begin{macrocode}
3299 cmchar "AUncial digit 6";
3300 beginchar("6", 2u#+fig_width#, fig_height#, 0);
3301 adjust_fit(0,0);
3302 pcshiftx := u;
3303 pickup quill;
3304 rt x1=w-pcshiftx; top y1=h;
3305 x2=1/2w; top y2= h;
3306 lft x3=pcshiftx; y3=1/2h;
3307 x4=x2; bot y4=0;
3308 rt x5=w-pcshiftx; y5=1/4h;
3309 lft x6=rt x3; bot y6=y3;
3310 x8=w-pcshiftx; y8=h-0.5thin;
3311 %%ductus:=true;
3312 if ductus:
3313 pickup stylus;
3314 fi
3315 draw z1{left}..z3{down}..z4{right}..z5{up}..{-pdir}z6;
3316 draw_rtriangle(8,3/4jut);
3317 ductus:=false;
3318 penlabels(1,2,3,4,5,6,8,100);
3319 endchar; % end "6"
3320
3321 % \end{macrocode}
3322 % \end{routine}
3323 %
3324 %
3325 % \begin{routine}{7}
3326 % The digit `7'.
3327 % \begin{macrocode}
3328 cmchar "AUncial digit 7";
3329 beginchar("7", 2u#+fig_width#, fig_height#, 0);
3330 adjust_fit(0,0);
3331 pcshiftx := u;
3332 pickup quill;
3333 % top bar
3334 lft x1=pcshiftx;
3335 rt x2=w-pcshiftx;
3336 top y1=top y2=h;
3337 x8=pcshiftx+3/8jut; y8=h-0.5thin;
3338 % bowed leg
3339 x4=w/2; bot y4=0;
3340 x3=0.5[x2,x4]-3thin; y3=0.5[y2,y4];
3341 %%ductus:=true;
3342 if ductus:
3343 pickup stylus;
3344 fi
3345 draw z1--z2; % top bar
3346 draw_triangle(8,3/4jut);
3347 draw z2..z3..z4; % leg
3348 ductus:=false;
3349 penlabels(1,2,3,4,5,6,7,8,100);
3350 endchar; % end "7"
3351
3352 % \end{macrocode}
3353 % \end{routine}
3354 %
3355 % \begin{routine}{8}
3356 % The digit `8'.
3357 % \begin{macrocode}
3358 cmchar "AUncial digit 8";
3359 beginchar("8", 2u#+fig_width#, fig_height#, 0);
3360 adjust_fit(0,0);
3361 pcshiftx := u;
3362 numeric alpha; alpha:=1;
3363 pickup quill;
3364 lft x1=alpha*pcshiftx+o; rt x3=w-alpha*pcshiftx-o; y1=y3=3/4h;
3365 x2=x4=w/2; top y2=h+o; bot y4=-o;
3366 x5=x2; y5=h/2+2o;
3367 lft x11=pcshiftx; rt x13=w-pcshiftx; y11=y13=1/4h;
3368 %%ductus:=true;
3369 if ductus:
3370 pickup stylus;
3371 fi
3372 draw z1..z2..z3..z5..z11..z4..z13..z5..cycle;
3373 ductus:=false;
3374 penlabels(1,2,3,4,5,11,13,100);
3375 endchar; % end "8"
3376
3377 % \end{macrocode}
3378 % \end{routine}
3379 %
3380 % \begin{routine}{9}
3381 % The digit `9'.
3382 % \begin{macrocode}
3383 cmchar "AUncial digit 9";
3384 beginchar("9", 2u#+fig_width#, fig_height#, 0);
3385 adjust_fit(0,0);
3386 pcshiftx := u;
3387 pickup quill;
3388 lft x1=pcshiftx; bot y1=2thin;
3389 x2=1/2w; bot y2= 0;
3390 rt x3=w-pcshiftx; y3=1/2h;
3391 x4=x2; top y4=h;
3392 lft x5=pcshiftx; y5=3/4h;
3393 rt x6=lft x3; top y6=y3;
3394 %%ductus:=true;
3395 if ductus:
3396 pickup stylus;
3397 fi
3398 draw z1..z2{right}..z3{up}..z4{left}..z5{down}..{pdir}z6;
3399 ductus:=false;
3400 penlabels(1,2,3,4,5,6,100);
3401 endchar; % end "9"
3402
3403 % \end{macrocode}
3404 % \end{routine}
3405 %
3406 %
3407 % \begin{routine}{0}
3408 % The digit `0'.
3409 % \begin{macrocode}
3410 cmchar "Uncial digit 0";
3411 beginchar("0", 2u#+fig_width#, fig_height#, 0);
3412 adjust_fit(0,0);
3413 pcshiftx := u;
3414 y100 = h/2; x100 = pcshiftx+y100; % square center
3415 pickup quill;
3416 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
3417 x2=x4=w/2; top y2=h+o; bot y4=-o;
3418 %%ductus:=true;
3419 if ductus:
3420 pickup stylus;
3421 fi
3422 draw z1..z2..z3..z4..cycle;
3423 ductus:=false;
3424 proofpcbb(100, y100, y100);
3425 penlabels(1,2,3,4,100);
3426 endchar; % end "0"
3427
3428 % \end{macrocode}
3429 % \end{routine}
3430 %
3431 %
3432 %
3433 %
3434 % The end of this file.
3435 % \begin{macrocode}
3436 %</dig>
3437 % \end{macrocode}
3438 %
3439 % \section{The font definition files} \label{sec:fd}
3440 %
3441 % The font comes in normal and bold weights only.
3442 %
3443 % \begin{macrocode}
3444 %<*fdot1>
3445 \DeclareFontFamily{OT1}{auncl}{}
3446 \DeclareFontShape{OT1}{auncl}{m}{n}{ <-8.5> auncl7 <8.5-15> auncl10 <15-> auncl17 }{}
3447 \DeclareFontShape{OT1}{auncl}{m}{sl}{ <-> sub * auncl/m/n }{}
3448 \DeclareFontShape{OT1}{auncl}{m}{it}{ <-> sub * auncl/m/n }{}
3449 \DeclareFontShape{OT1}{auncl}{m}{sc}{ <-> sub * auncl/m/n }{}
3450 \DeclareFontShape{OT1}{auncl}{m}{u}{ <-> sub * auncl/m/n }{}
3451 \DeclareFontShape{OT1}{auncl}{bx}{n}{ <-8.5> aunclb7 <8.5-15> aunclb10 <15-> aunclb17 }{}
3452 \DeclareFontShape{OT1}{auncl}{bx}{it}{ <-> sub * auncl/bx/n }{}
3453 \DeclareFontShape{OT1}{auncl}{bx}{sl}{ <-> sub * auncl/bx/n }{}
3454 \DeclareFontShape{OT1}{auncl}{b}{n}{ <-> sub * auncl/bx/n }{}
3455 %</fdot1>
3456 % \end{macrocode}
3457 %
3458 %
3459 % \begin{macrocode}
3460 %<*fdt1>
3461 \DeclareFontFamily{T1}{auncl}{}
3462 \DeclareFontShape{T1}{auncl}{m}{n}{ <-8.5> auncl7 <8.5-15> auncl10 <15-> auncl17 }{}
3463 \DeclareFontShape{T1}{auncl}{m}{sl}{ <-> sub * auncl/m/n }{}
3464 \DeclareFontShape{T1}{auncl}{m}{it}{ <-> sub * auncl/m/n }{}
3465 \DeclareFontShape{T1}{auncl}{m}{sc}{ <-> sub * auncl/m/n }{}
3466 \DeclareFontShape{T1}{auncl}{m}{u}{ <-> sub * auncl/m/n }{}
3467 \DeclareFontShape{T1}{auncl}{bx}{n}{ <-8.5> aunclb7 <8.5-15> aunclb10 <15-> aunclb17 }{}
3468 \DeclareFontShape{T1}{auncl}{bx}{it}{ <-> sub * auncl/bx/n }{}
3469 \DeclareFontShape{T1}{auncl}{bx}{sl}{ <-> sub * auncl/bx/n }{}
3470 \DeclareFontShape{T1}{auncl}{b}{n}{ <-> sub * auncl/bx/n }{}
3471 %</fdt1>
3472 % \end{macrocode}
3473 %
3474 % \section{The package code} \label{sec:code}
3475 %
3476 % \subsection{The \Lpack{auncial} package}
3477 %
3478 % The \Lpack{auncial} package is for typesetting short pieces of text
3479 % in the \thisfont{} fonts.
3480 %
3481 % Announce the name and version of the package, which requires
3482 % \LaTeXe{}.
3483 % \begin{macrocode}
3484 %<*usc>
3485 \NeedsTeXFormat{LaTeX2e}
3486 \ProvidesPackage{auncial}[1999/05/22 v1.0 package for Artificial Uncial fonts]
3487 % \end{macrocode}
3488 %
3489 % \begin{macro}{\Tienc}
3490 % A macro for testing the value of |\encodingdefault|.
3491 % \begin{macrocode}
3492 \providecommand{\Tienc}{T1}
3493 % \end{macrocode}
3494 % \end{macro}
3495 %
3496 %
3497 % \begin{macro}{\aunclfamily}
3498 % Selects the \thisfont{} font family in the OT1 or T1 encoding.
3499 % \begin{macrocode}
3500 \ifx\Tienc\encodingdefault
3501 \newcommand{\aunclfamily}{\usefont{T1}{auncl}{m}{n}}
3502 \else
3503 \newcommand{\aunclfamily}{\usefont{OT1}{auncl}{m}{n}}
3504 \fi
3505 % \end{macrocode}
3506 % \end{macro}
3507 %
3508 % \begin{macro}{\textuncl}
3509 % Text command for the \thisfont{} font family.
3510 % \begin{macrocode}
3511 \DeclareTextFontCommand{\textauncl}{\aunclfamily}
3512 % \end{macrocode}
3513 % \end{macro}
3514 %
3515 % The end of this package.
3516 % \begin{macrocode}
3517 %</usc>
3518 % \end{macrocode}
3519 %
3520 % \subsection{The \Lpack{allauncl} package}
3521 %
3522 % The \Lpack{allauncl} package is intended for use when the entire document
3523 % will be typeset in the book-hand. This is a minimal package. Because the
3524 % book-hand should not contain arabic digits a fuller package would redefine
3525 % anything numbered in \LaTeX{} to use roman instead of arabic numbering.
3526 % Also, because of the large |\baselineskip| many other aspects of \LaTeX{}
3527 % to do with vertical positioning should also be redefined.
3528 %
3529 %
3530 % Announce the name and version of the package, which requires
3531 % \LaTeXe{}. It also uses the \Lpack{auncial} package.
3532 % \begin{macrocode}
3533 %<*uscall>
3534 \NeedsTeXFormat{LaTeX2e}
3535 \ProvidesPackage{allauncl}[1999/05/22 v1.0 package for all Artificial Uncial fonts]
3536 \RequirePackage{auncial}
3537 % \end{macrocode}
3538 %
3539 % \begin{macro}{\Tienc}
3540 % A macro for testing the value of |\encodingdefault|.
3541 % \begin{macrocode}
3542 \providecommand{\Tienc}{T1}
3543 % \end{macrocode}
3544 % \end{macro}
3545 %
3546 % Redefine the default fonts to be \thisfont, which has only one family
3547 % member.
3548 % \begin{macro}{\rmdefault}
3549 % \begin{macro}{\sfdefault}
3550 % \begin{macro}{\ttdefault}
3551 % \begin{macrocode}
3552 \renewcommand{\rmdefault}{auncl}
3553 \renewcommand{\sfdefault}{auncl}
3554 \renewcommand{\ttdefault}{auncl}
3555 % \end{macrocode}
3556 % \end{macro}
3557 % \end{macro}
3558 % \end{macro}
3559 %
3560 % The `leading' in the book-hand is the same as the |x-height|, which is much
3561 % greater than for the CMR fonts. I have borrowed code from Frank Jensen's
3562 % \Lpack{beton} package~\cite{BETON} to do this. The |x-height| (in points)
3563 % for the CMR
3564 % fonts is given in Table~\ref{tab:cmrx}. Note that the CMR design sizes are
3565 % 5--10, 12, and 17.28 points. The other values given are scaled from these
3566 % figures.
3567 %
3568 % \begin{table}
3569 % \centering
3570 % \caption{The x heights of the CMR and \thisfont{} fonts} \label{tab:cmrx}
3571 % \begin{tabular}{ccc} \hline
3572 % Design & CMR & \thisfont \\
3573 % Size & X Height & X Height \\ \hline
3574 % 5 & 2.14 & 3.00 \\
3575 % 6 & 2.58 & 3.61 \\
3576 % 7 & 3.00 & 4.22 \\
3577 % 8 & 3.44 & 4.82 \\
3578 % 9 & 3.86 & 5.40 \\
3579 % 10 & 4.31 & 6.03 \\
3580 % 11 & 4.74 & 6.64 \\
3581 % 12 & 5.17 & 7.24 \\
3582 % 14 & 6.03 & 8.44 \\
3583 % 17 & 7.44 & 10.42 \\
3584 % 20 & 8.75 & 12.25 \\
3585 % 25 & 10.94 & 15.32 \\ \hline
3586 % \end{tabular}
3587 % \end{table}
3588 %
3589 % \begin{macro}{\auncial@baselineskip@table}
3590 % A table of the normal font sizes and the corresponding baselineskip.
3591 % The distance between baselines for \thisfont{} is over twice
3592 % the |x-height|.
3593 %
3594 % \begin{macrocode}
3595 \newcommand{\auncial@baselineskip@table}{%
3596 <\@vpt>6.6%
3597 <\@vipt>7.9%
3598 <\@viipt>9.3%
3599 <\@viiipt>10.6%
3600 <\@ixpt>11.9%
3601 <\@xpt>13.3%
3602 <\@xipt>14.6%
3603 <\@xiipt>16.5%
3604 <\@xivpt>18.6%
3605 <\@xviipt>22.9%
3606 <\@xxpt>26.9%
3607 <\@xxvpt>33.7}
3608 % \end{macrocode}
3609 % \end{macro}
3610 %
3611 % \begin{macro}{\auncial@new@setfontsize}
3612 % This is a macro that replaces the |\@setfontsize| macro which is called by
3613 % the font size changing commands.
3614 % \begin{macrocode}
3615 \newcommand{\auncial@new@setfontsize}[3]{%
3616 \edef\@tempa{\def\noexpand\@tempb####1<#2}%
3617 \@tempa>##2<##3\@nil{\def\auncial@baselineskip@value{##2}}%
3618 \edef\@tempa{\noexpand\@tempb\auncial@baselineskip@table<#2}%
3619 \@tempa><\@nil
3620 \ifx\auncial@baselineskip@value\@empty
3621 \def\auncial@baselineskip@value{#3}%
3622 \fi
3623 \auncial@old@setfontsize{#1}{#2}\auncial@baselineskip@value}
3624 % \end{macrocode}
3625 % \end{macro}
3626 %
3627 % We had better give an author a means of using The Computer Modern fonts
3628 % if necessary.
3629 %
3630 % \begin{macro}{\cmrfamily}
3631 % \begin{macro}{\cmssfamily}
3632 % \begin{macro}{\cmttfamily}
3633 % These macros select the Computer Modern Roman, Sans, and Typewriter
3634 % font families in either the T1 or OT1 encodings.
3635 % \begin{macrocode}
3636 \ifx\Tienc\encodingdefault
3637 \providecommand{\cmrfamily}{\usefont{T1}{cmr}{m}{n}}
3638 \providecommand{\cmssfamily}{\usefont{T1}{cmss}{m}{n}}
3639 \providecommand{\cmttfamily}{\usefont{T1}{cmtt}{m}{n}}
3640 \else
3641 \providecommand{\cmrfamily}{\usefont{OT1}{cmr}{m}{n}}
3642 \providecommand{\cmssfamily}{\usefont{OT1}{cmss}{m}{n}}
3643 \providecommand{\cmttfamily}{\usefont{OT1}{cmtt}{m}{n}}
3644 \fi
3645 % \end{macrocode}
3646 % \end{macro}
3647 % \end{macro}
3648 % \end{macro}
3649 %
3650 % \begin{macro}{\textcmr}
3651 % Text command for the Computer Modern Roman font family.
3652 % \begin{macrocode}
3653 \DeclareTextFontCommand{\textcmr}{\cmrfamily}
3654 % \end{macrocode}
3655 % \end{macro}
3656 %
3657 % \begin{macro}{\textcmss}
3658 % Text command for the Computer Modern Sans font family.
3659 % \begin{macrocode}
3660 \DeclareTextFontCommand{\textcmss}{\cmssfamily}
3661 % \end{macrocode}
3662 % \end{macro}
3663 %
3664 % \begin{macro}{\textcmtt}
3665 % Text command for the Computer Modern Typewriter font family.
3666 % \begin{macrocode}
3667 \DeclareTextFontCommand{\textcmtt}{\cmttfamily}
3668 % \end{macrocode}
3669 % \end{macro}
3670 %
3671 %
3672 % At the start of the document, change the |\@setfontsize| macro and call
3673 % the normal font to implement the change.
3674 % \begin{macrocode}
3675 \AtBeginDocument{%
3676 \let\auncial@old@setfontsize=\@setfontsize
3677 \let\@setfontsize=\auncial@new@setfontsize}
3678 \AtBeginDocument{\normalsize}
3679 % \end{macrocode}
3680 %
3681 %
3682 % The end of this package.
3683 % \begin{macrocode}
3684 %</uscall>
3685 % \end{macrocode}
3686 %
3687 %
3688 %
3689 % \bibliographystyle{alpha}
3690 % \renewcommand{\refname}{Bibliography}
3691 % \begin{thebibliography}{GMS94}
3692 % \addcontentsline{toc}{section}{\refname}
3693 %
3694 % \bibitem[And69]{ANDERSON69}
3695 % Donald M.~Anderson.
3696 % \newblock {\em The Art of Written Forms: The Theory and Practice of Calligraphy}.
3697 % \newblock Holt, Rinehart and Winston, 1969.
3698 %
3699 % \bibitem[Bol95]{BOLOGNA95}
3700 % Giulia Bologna.
3701 % \newblock {\em Illuminated Manuscripts: The Book before Gutenberg}.
3702 % \newblock Crescent Books, 1995.
3703 %
3704 % \bibitem[Day95]{DAY95}
3705 % Lewis F.~Day.
3706 % \newblock {\em Alphabets Old \& New}.
3707 % \newblock (3rd edition originally published by B.~T.~Batsford, 1910)
3708 % \newblock Senate, 1995.
3709 %
3710 % \bibitem[Dro80]{DROGIN80}
3711 % Marc Drogin.
3712 % \newblock {\em Medieval Calligraphy: Its History and Technique}.
3713 % \newblock Allenheld, Osmun \& Co., 1980.
3714 %
3715 % \bibitem[Dru95]{DRUCKER95}
3716 % Johanna Drucker.
3717 % \newblock {\em The Alphabetic Labyrinth}.
3718 % \newblock Thames \& Hudson, 1995.
3719 %
3720 % \bibitem[Fir93]{FIRMAGE93}
3721 % Richard A.~Firmage.
3722 % \newblock {\em The Alphabet Abecedarium}.
3723 % \newblock David R~Goodine, 1993.
3724 %
3725 % \bibitem[Fli98]{LETTRINE}
3726 % Daniel Flipo.
3727 % \newblock {\em The LETTRINE package}.
3728 % \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}).
3729 % \newblock 1998.
3730 %
3731 % \bibitem[Har95]{HARRIS95}
3732 % David Harris.
3733 % \newblock {\em The Art of Calligraphy}.
3734 % \newblock DK Publishing, 1995.
3735 %
3736 % \bibitem[Jen95]{BETON}
3737 % Frank Jensen.
3738 % \newblock {\em The BETON package}.
3739 % \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}).
3740 % \newblock 1995.
3741 %
3742 % \bibitem[Joh71]{JOHNSTON75}
3743 % Edward Johnston (ed. Heather Child).
3744 % \newblock {\em Formal Penship and Other Papers}.
3745 % \newblock Penthalic, 1971.
3746 %
3747 % \bibitem[Knu87]{CM}
3748 % Donald E.~Knuth.
3749 % \newblock {\em Computer Modern Typefaces}.
3750 % \newblock Addison-Wesley, 1987.
3751 %
3752 % \bibitem[Knu92]{METAFONT}
3753 % Donald E.~Knuth.
3754 % \newblock {\em The METAFONTbook}.
3755 % \newblock Addison-Wesley, 1992.
3756 %
3757 % \bibitem[GMS94]{GOOSSENS94}
3758 % Michel Goossens, Frank Mittelbach, and Alexander Samarin.
3759 % \newblock {\em The LaTeX Companion}.
3760 % \newblock Addison-Wesley Publishing Company, 1994.
3761 %
3762 % \bibitem[Tho75]{THOMAS75}
3763 % Alan G.~Thomas.
3764 % \newblock {\em Great Books and Book Collectors}.
3765 % \newblock Weidenfield and Nichoson, 1975.
3766 %
3767 % \bibitem[Wil99]{DOCMFP}
3768 % Peter R.~Wilson.
3769 % \newblock {\em The DOCMFP Package}.
3770 % \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}).
3771 % \newblock 1999.
3772 %
3773 % \bibitem[Wil99b]{ROMANNUM}
3774 % Peter R.~Wilson.
3775 % \newblock {\em The ROMANNUM Package}.
3776 % \newblock (Available from CTAN in \texttt{macros/latex/contrib/supported}).
3777 % \newblock 1999.
3778 %
3779 % \end{thebibliography}
3780 %
3781 %
3782 % \Finale
3783 % \PrintIndex
3784 %
3785 \endinput
3786
3787 %% \CharacterTable
3788 %% {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
3789 %% 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
3790 %% Digits \0\1\2\3\4\5\6\7\8\9
3791 %% Exclamation \! Double quote \" Hash (number) \#
3792 %% Dollar \$ Percent \% Ampersand \&
3793 %% Acute accent \' Left paren \( Right paren \)
3794 %% Asterisk \* Plus \+ Comma \,
3795 %% Minus \- Point \. Solidus \/
3796 %% Colon \: Semicolon \; Less than \<
3797 %% Equals \= Greater than \> Question mark \?
3798 %% Commercial at \@ Left bracket \[ Backslash \\
3799 %% Right bracket \] Circumflex \^ Underscore \_
3800 %% Grave accent \` Left brace \{ Vertical bar \|
3801 %% Right brace \} Tilde \~}
3802
3803