Debian Codegraph @

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

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