| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% etruscan.dtx |
| 4 |
% |
| 5 |
% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net |
| 6 |
% Copyright 1999--2005 Peter R. Wilson |
| 7 |
% |
| 8 |
% This work may be distributed and/or modified under the |
| 9 |
% conditions of the Latex Project Public License, either |
| 10 |
% version 1.3 of this license or (at your option) any |
| 11 |
% later version. |
| 12 |
% The latest version of the license is in |
| 13 |
% http://www.latex-project.org/lppl.txt |
| 14 |
% and version 1.3 or later is part of all distributions of |
| 15 |
% LaTeX version 2003/06/01 or later. |
| 16 |
% |
| 17 |
% This work has the LPPL maintenance status "author-maintained". |
| 18 |
% |
| 19 |
% This work consists of the files listed in the README file. |
| 20 |
% |
| 21 |
%<*driver> |
| 22 |
\documentclass[twoside]{ltxdoc} |
| 23 |
\usepackage{url} |
| 24 |
\usepackage[draft=false, |
| 25 |
plainpages=false, |
| 26 |
pdfpagelabels, |
| 27 |
bookmarksnumbered, |
| 28 |
hyperindex=false |
| 29 |
]{hyperref} |
| 30 |
\providecommand{\phantomsection}{} |
| 31 |
\OnlyDescription %% comment this out for the full glory |
| 32 |
\EnableCrossrefs |
| 33 |
\CodelineIndex |
| 34 |
\setcounter{StandardModuleDepth}{1} |
| 35 |
\makeatletter |
| 36 |
\@mparswitchfalse |
| 37 |
\makeatother |
| 38 |
\renewcommand{\MakeUppercase}[1]{#1} |
| 39 |
\pagestyle{headings} |
| 40 |
\newenvironment{addtomargins}[1]{% |
| 41 |
\begin{list}{}{% |
| 42 |
\topsep 0pt% |
| 43 |
\addtolength{\leftmargin}{#1}% |
| 44 |
\addtolength{\rightmargin}{#1}% |
| 45 |
\listparindent \parindent |
| 46 |
\itemindent \parindent |
| 47 |
\parsep \parskip}% |
| 48 |
\item[]}{\end{list}} |
| 49 |
\begin{document} |
| 50 |
\raggedbottom |
| 51 |
\DocInput{etruscan.dtx} |
| 52 |
\end{document} |
| 53 |
%</driver> |
| 54 |
% |
| 55 |
% |
| 56 |
% \fi |
| 57 |
% |
| 58 |
% \CheckSum{329} |
| 59 |
% |
| 60 |
% \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath} |
| 61 |
% \DoNotIndex{\@centercr,\@cite} |
| 62 |
% \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue} |
| 63 |
% \DoNotIndex{\@input,\@ixpt,\@m} |
| 64 |
% \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint} |
| 65 |
% \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb} |
| 66 |
% \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt} |
| 67 |
% \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt} |
| 68 |
% \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace} |
| 69 |
% \DoNotIndex{\advance,\Alph,\alph} |
| 70 |
% \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box} |
| 71 |
% \DoNotIndex{\bullet} |
| 72 |
% \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption} |
| 73 |
% \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass} |
| 74 |
% \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist} |
| 75 |
% \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup} |
| 76 |
% \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter} |
| 77 |
% \DoNotIndex{\fbox} |
| 78 |
% \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef} |
| 79 |
% \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule} |
| 80 |
% \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi} |
| 81 |
% \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi} |
| 82 |
% \DoNotIndex{\input} |
| 83 |
% \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark} |
| 84 |
% \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright} |
| 85 |
% \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment} |
| 86 |
% \DoNotIndex{\NeedsTeXFormat,\newdimen} |
| 87 |
% \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number} |
| 88 |
% \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@} |
| 89 |
% \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip} |
| 90 |
% \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions} |
| 91 |
% \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright} |
| 92 |
% \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font} |
| 93 |
% \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman} |
| 94 |
% \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength} |
| 95 |
% \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space} |
| 96 |
% \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase} |
| 97 |
% \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt} |
| 98 |
% \DoNotIndex{\viipt,\vipt,\vskip,\vspace} |
| 99 |
% \DoNotIndex{\wd,\xiipt,\year,\z@} |
| 100 |
% |
| 101 |
% \changes{v1.0}{1999/03/14}{First public release} |
| 102 |
% \changes{v2.0}{2000/10/01}{Changes to practically everything} |
| 103 |
% \changes{v2.1}{2005/04/11}{Contact changes and additions for Postscript Type1} |
| 104 |
% |
| 105 |
% \def\fileversion{v1.0} \def\filedate{1999/03/14} |
| 106 |
% \def\fileversion{v2.0} \def\filedate{2000/10/01} |
| 107 |
% \def\fileversion{v2.1} \def\filedate{2005/04/11} |
| 108 |
% \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package |
| 109 |
% \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option |
| 110 |
% \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file |
| 111 |
% \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter |
| 112 |
% \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle |
| 113 |
% \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment |
| 114 |
% \newcommand{\BC}{\textsc{bc}} |
| 115 |
% \newcommand{\AD}{\textsc{ad}} |
| 116 |
% \newcommand{\thisfont}{Etruscan} |
| 117 |
% |
| 118 |
% \title{The \Lpack{Etruscan} fonts\thanks{This |
| 119 |
% file has version number \fileversion, last revised |
| 120 |
% \filedate.}} |
| 121 |
% |
| 122 |
% \author{% |
| 123 |
% Peter Wilson\thanks{\texttt{herries dot press at earthlink dot net}}\\ |
| 124 |
% Herries Press |
| 125 |
% } |
| 126 |
% \date{\filedate} |
| 127 |
% \maketitle |
| 128 |
% \begin{abstract} |
| 129 |
% The \Lpack{etruscan} bundle provides a set of fonts for the Etruscan |
| 130 |
% script as used about the eighth century~\BC{} in Italy. |
| 131 |
% \end{abstract} |
| 132 |
% \tableofcontents |
| 133 |
% |
| 134 |
% |
| 135 |
% \section{Introduction} |
| 136 |
% |
| 137 |
% The Etruscan alphabet and characters is a direct ancestor of our modern day |
| 138 |
% Latin alphabet and fonts. Scholars can read Etruscan writing, but they |
| 139 |
% have little understanding of the language itself as, apart from proper names, |
| 140 |
% the meanings of less than a score of words are known. The font presented here |
| 141 |
% is one of a series showing the evolution of the modern Latin alphabet |
| 142 |
% from its original Phoenician source to its modern day appearance. |
| 143 |
% |
| 144 |
% This manual is typeset according to the conventions of the |
| 145 |
% \LaTeX{} \textsc{docstrip} utility which enables the automatic |
| 146 |
% extraction of the \LaTeX{} macro source files~\cite{COMPANION}. |
| 147 |
% |
| 148 |
% Section~\ref{sec:usc} describes the usage of the package. |
| 149 |
% Commented code for the fonts and the package are in later sections. |
| 150 |
% |
| 151 |
% \subsection{An alphabetic tree} |
| 152 |
% |
| 153 |
% Scholars are reasonably agreed that all the world's alphabets are descended |
| 154 |
% from a Semitic alphabet invented about 1600~\BC{} in the Middle |
| 155 |
% East~\cite{DRUCKER95}. The word `Semitic' refers |
| 156 |
% to the family of languages used in the geographical area from |
| 157 |
% Sinai in the south, up the Mediterranean coast to Asia Minor in the north and |
| 158 |
% west to the valley of the Euphrates. |
| 159 |
% |
| 160 |
% The Phoenician alphabet was stable by about 1100~\BC{} and the script was |
| 161 |
% written right to left. In earlier times the writing direction was variable, |
| 162 |
% and so were |
| 163 |
% the shapes and orientation of the characters. The alphabet consisted of |
| 164 |
% 22 letters and they were named after things. For example, their first two |
| 165 |
% letters were called \textit{aleph} (ox), and \textit{beth} (house). |
| 166 |
% The Phoenician script had |
| 167 |
% only one case --- unlike our modern fonts which have both upper- and |
| 168 |
% lower-cases. In modern day terms the Phoenician abecedary was: \\ |
| 169 |
% A B G D E Y Z H $\Theta$ I K L M N O P ts Q R S T \\ |
| 170 |
% where the `Y' (\textit{vau}) character was sometimes written as `F', and |
| 171 |
% `ts' stands for the \textit{tsade} character. |
| 172 |
% |
| 173 |
% The Greek alphabet is one of the descendants of the Phoenician alphabet; |
| 174 |
% another was Aramaic which is the ancestor of the Arabic, Persian and Indian |
| 175 |
% scripts. |
| 176 |
% Initially Greek was written right to left but around the 6th C~\BC{} became |
| 177 |
% \textit{boustrophedron}, meaning that the lines |
| 178 |
% alternated in direction. At about 500~\BC{} the writing direction stabilised |
| 179 |
% as left to |
| 180 |
% right. The Greeks modified the Phoenician alphabet to match the vocalisation |
| 181 |
% of their language. They kept the Phoenician names of the letters, suitably |
| 182 |
% `greekified', so \textit{aleph} became the familar \textit{alpha} and |
| 183 |
% \textit{beth} became \textit{beta}. At this |
| 184 |
% point the names of the letters had no meaning. There were several variants |
| 185 |
% of the Greek character glyphs until they were finally fixed in Athens in |
| 186 |
% 403~\BC. |
| 187 |
% The Greeks did not develop a lower-case |
| 188 |
% script until about 600--700~\AD. |
| 189 |
% |
| 190 |
% The Etruscans based their alphabet on the Greek one, and again modified it. |
| 191 |
% However, the Etruscans wrote right to left, so their borrowed characters are |
| 192 |
% mirror images of the original Greek ones. Like the Phoenicians, the Etruscan |
| 193 |
% script consisted of only one case; they died out before ever needing a |
| 194 |
% lower-case script. The Etruscan script was used up until the first century |
| 195 |
% \AD, even though the Etruscans themselves had dissapeared by that time. |
| 196 |
% |
| 197 |
% |
| 198 |
% In turn, the Romans based their alphabet on the Etruscan one, but as they |
| 199 |
% wrote left to right, the characters were again mirrored (although the early |
| 200 |
% Roman inscriptions are boustrophedron). |
| 201 |
% |
| 202 |
% As the English alphabet is descended from the Roman alphabet |
| 203 |
% it has a pedigree of some three and a half thousand years. |
| 204 |
% |
| 205 |
% \section{The \Lpack{etruscan} package} \label{sec:usc} |
| 206 |
% |
| 207 |
% The Etruscan alphabet originally consisted of 26 letters but by about |
| 208 |
% 450~\BC{} had decreased to only 20. |
| 209 |
% The Etruscan font as provided here consists of 27 letters. The font is |
| 210 |
% mainly based on an 8th C~\BC{} Etruscan abecedary in the Museo Archeologico, |
| 211 |
% Florence, together with one character that looks like our digit 8 as shown |
| 212 |
% by Richard Firmage~\cite{FIRMAGE93}. I also used information from the |
| 213 |
% \textit{Encyclopedia Brittanica}. |
| 214 |
% |
| 215 |
% |
| 216 |
% |
| 217 |
% Table~\ref{tab} lists, in the \thisfont{} alphabetical order, the |
| 218 |
% transliterated value of the characters and the Greek and Phoenician |
| 219 |
% (in parenthesis) |
| 220 |
% names of the character. |
| 221 |
% |
| 222 |
% \begin{table} |
| 223 |
% \centering |
| 224 |
% \caption{The \thisfont{} script and alphabet}\label{tab} |
| 225 |
% \begin{tabular}{clcll} \hline |
| 226 |
% Value & Name & ASCII & Command & Command \\ \hline |
| 227 |
% \textit{A} & |
| 228 |
% alpha (aleph) & |
| 229 |
% a & |\Aalpha| & |
| 230 |
% |\ARalpha| |
| 231 |
% \\ |
| 232 |
% \textit{B} & |
| 233 |
% beta (beth) & |
| 234 |
% b & |\Abeta| & |
| 235 |
% |\ARbeta| |
| 236 |
% \\ |
| 237 |
% \textit{G} & |
| 238 |
% gamma (gimel) & |
| 239 |
% g & |\Agamma| & |
| 240 |
% |\Agamma| |
| 241 |
% \\ |
| 242 |
% \textit{D} & |
| 243 |
% delta (daleth) & |
| 244 |
% d & |\Adelta| & |
| 245 |
% |\Adelta| |
| 246 |
% \\ |
| 247 |
% \textit{E} & |
| 248 |
% epsilon (he) & |
| 249 |
% e & |\Aepsilon| & |
| 250 |
% |\ARepsilon| |
| 251 |
% \\ |
| 252 |
% \textit{F} & |
| 253 |
% digamma (vav) & |
| 254 |
% F & |\Adigamma| & |
| 255 |
% |\ARdigamma| |
| 256 |
% \\ |
| 257 |
% \textit{Z} & |
| 258 |
% zeta (zayin) & |
| 259 |
% z & |\Azeta| & |
| 260 |
% |\ARzeta| |
| 261 |
% \\ |
| 262 |
% \textit{H} & |
| 263 |
% eta (heth) & |
| 264 |
% h & |\Aeta| & |
| 265 |
% |\AReta| |
| 266 |
% \\ |
| 267 |
% $\Theta$ & |
| 268 |
% theta (teth) & |
| 269 |
% T & |\Atheta| & |
| 270 |
% |\ARtheta| |
| 271 |
% \\ |
| 272 |
% \textit{I} & |
| 273 |
% iota (yod) & |
| 274 |
% i & |\Aiota| & |
| 275 |
% |\ARiota| |
| 276 |
% \\ |
| 277 |
% \textit{K} & |
| 278 |
% kappa (kaph) & |
| 279 |
% k & |\Akappa| & |
| 280 |
% |\Akappa| |
| 281 |
% \\ |
| 282 |
% \textit{L} & |
| 283 |
% lambda (lamed) & |
| 284 |
% l & |\Alambda| & |
| 285 |
% |\ARlambda| |
| 286 |
% \\ |
| 287 |
% \textit{M} & |
| 288 |
% mu (mem) & |
| 289 |
% m & |\Amu| & |
| 290 |
% |\ARmu| |
| 291 |
% \\ |
| 292 |
% \textit{N} & |
| 293 |
% nu (nun) & |
| 294 |
% n & |\Anu| & |
| 295 |
% |\ARnu| |
| 296 |
% \\ |
| 297 |
% $\Xi$ & |
| 298 |
% xi (samekh) & |
| 299 |
% x & |\Axi| & |
| 300 |
% |\ARxi| |
| 301 |
% \\ |
| 302 |
% \textit{O} & |
| 303 |
% omicron (ayin) & |
| 304 |
% o & |\Aomicron| & |
| 305 |
% |\ARomicron| |
| 306 |
% \\ |
| 307 |
% \textit{P} & |
| 308 |
% pi (pe) & |
| 309 |
% p & |\Api| & |
| 310 |
% |\ARpi| |
| 311 |
% \\ |
| 312 |
% \textit{S} & |
| 313 |
% (sade) & |
| 314 |
% S & |\Aesade| & |
| 315 |
% |\AResade| |
| 316 |
% \\ |
| 317 |
% \textit{Q} & |
| 318 |
% (qoph) & |
| 319 |
% q & |\Aqoph| & |
| 320 |
% |\ARqoph| |
| 321 |
% \\ |
| 322 |
% \textit{R} & |
| 323 |
% rho (resh) & |
| 324 |
% r & |\Arho| & |
| 325 |
% |\ARrho| |
| 326 |
% \\ |
| 327 |
% \textit{S} & |
| 328 |
% sigma (shin) & |
| 329 |
% S & |\Asigma| & |
| 330 |
% |\ARsigma| |
| 331 |
% \\ |
| 332 |
% \textit{T} & |
| 333 |
% tau (tav) & |
| 334 |
% t & |\Atau| & |
| 335 |
% |\ARtau| |
| 336 |
% \\ |
| 337 |
% \textit{Y} & |
| 338 |
% upsilon (vav) & |
| 339 |
% y & |\Aupsilon| & |
| 340 |
% |\ARupsilon| |
| 341 |
% \\ |
| 342 |
% \textit{X} & |
| 343 |
% chi & |
| 344 |
% X & |\Achi| & |
| 345 |
% |\ARchi| |
| 346 |
% \\ |
| 347 |
% $\Phi$ & |
| 348 |
% phi & |
| 349 |
% f & |\Aphi| & |
| 350 |
% |\ARphi| |
| 351 |
% \\ |
| 352 |
% $\Psi$ & |
| 353 |
% psi & |
| 354 |
% P & |\Apsi| & |
| 355 |
% |\ARpsi| |
| 356 |
% \\ |
| 357 |
% \textit{F} & |
| 358 |
% (vav?) & |
| 359 |
% v & |\Avau| & |
| 360 |
% |\ARvau| |
| 361 |
% \\ |
| 362 |
% \hline |
| 363 |
% \end{tabular} |
| 364 |
% \end{table} |
| 365 |
% |
| 366 |
% |
| 367 |
% \DescribeMacro{\etrfamily} |
| 368 |
% This command selects the Etruscan font family. The family name is |etr|. |
| 369 |
% |
| 370 |
% \DescribeMacro{\textetr} |
| 371 |
% The command |\textetr{|\meta{text}|}| typesets \meta{text} in the |
| 372 |
% Etruscan font. |
| 373 |
% |
| 374 |
% I have provided two ways of accessing the \thisfont{} glyphs: |
| 375 |
% (a) by ASCII characters, and |
| 376 |
% (b) by commands whose names are based on the (Greek or Phoenician) |
| 377 |
% name of the |
| 378 |
% character. |
| 379 |
% These are shown in Table~\ref{tab}. The commands of the form |\ARxxx| |
| 380 |
% access the glyph forms for writing right-to-left, while the forms |
| 381 |
% for writing left-to-right are accessed by either the ASCII characters |
| 382 |
% or the |\Axxx| commands. |
| 383 |
% |
| 384 |
% \DescribeMacro{\translitetr} |
| 385 |
% |\translitetr{|\meta{commands}|}| will typeset a transliterated |
| 386 |
% version of the character \meta{commands} (those in the last two columns |
| 387 |
% of Table~\ref{tab}). A mixture of Latin and Greek uppercase characters |
| 388 |
% are used for the transliteration. |
| 389 |
% |
| 390 |
% \DescribeMacro{\translitetrfont} |
| 391 |
% The font used for the transliteration is defined by this macro, |
| 392 |
% which is initialised as an upright form (i.e., |\mathrm|). |
| 393 |
% |
| 394 |
% \StopEventually{ |
| 395 |
% \bibliographystyle{alpha} |
| 396 |
% \begin{thebibliography}{GMS94} |
| 397 |
% |
| 398 |
% \bibitem[Dru95]{DRUCKER95} |
| 399 |
% Johanna Drucker. |
| 400 |
% \newblock \emph{The Alphabetic Labyrinth}. |
| 401 |
% \newblock Thames and Hudson, 1995. |
| 402 |
% |
| 403 |
% \bibitem[Fir93]{FIRMAGE93} |
| 404 |
% Richard A.~Firmage. |
| 405 |
% \newblock \emph{The Alphabet Abecedarium}. |
| 406 |
% \newblock David R.~Goodine, 1993. |
| 407 |
% |
| 408 |
% \bibitem[MG04]{COMPANION} |
| 409 |
% Frank Mittelbach and Michel Goossens. |
| 410 |
% \newblock \emph{The LaTeX Companion}. |
| 411 |
% \newblock Addison-Wesley Publishing Company, second edition, 2004. |
| 412 |
% |
| 413 |
% \end{thebibliography} |
| 414 |
% \PrintIndex |
| 415 |
% } |
| 416 |
% |
| 417 |
% |
| 418 |
% |
| 419 |
% |
| 420 |
% \section{The Metafont code} \label{sec:mf} |
| 421 |
% |
| 422 |
% \subsection{The parameter file} |
| 423 |
% |
| 424 |
% We deal with the parameter file first, and start by announcing |
| 425 |
% what it is for. |
| 426 |
% \begin{macrocode} |
| 427 |
%<*up> |
| 428 |
%%% ETR10.MF Computer Etruscan font 10 point design size. |
| 429 |
|
| 430 |
% \end{macrocode} |
| 431 |
% Specify the font size. |
| 432 |
% \begin{macrocode} |
| 433 |
|
| 434 |
font_identifier:="etruscan"; font_size 10pt#; |
| 435 |
|
| 436 |
% \end{macrocode} |
| 437 |
% |
| 438 |
% |
| 439 |
% \begin{macro}{u} |
| 440 |
% \begin{macro}{ht} |
| 441 |
% \begin{macro}{s} |
| 442 |
% \begin{macro}{o} |
| 443 |
% \begin{macro}{px} |
| 444 |
% \begin{macro}{font-normal-space} |
| 445 |
% \begin{macro}{font-normal-shrink} |
| 446 |
% \begin{macro}{font-x-height} |
| 447 |
% \begin{macro}{font-quad} |
| 448 |
% Define the very simple font parameters. |
| 449 |
% \begin{macrocode} |
| 450 |
u#:=.2pt#; % unit width |
| 451 |
ht#:=7pt#; % height of characters (CM cap-height is approx 6.8pt) |
| 452 |
s#:=1.5pt#; % width correction (right and left) |
| 453 |
o#:=1/20pt#; % overshoot |
| 454 |
px#:=.7pt#; % horizontal width of pen |
| 455 |
font_normal_space:=7pt#; % width of a blank space |
| 456 |
font_normal_shrink:=.9pt#; % width correction for blank space |
| 457 |
font_x_height:=4.5pt#; % height of one ex |
| 458 |
font_quad:=10pt#; % an em |
| 459 |
|
| 460 |
% \end{macrocode} |
| 461 |
% \end{macro} |
| 462 |
% \end{macro} |
| 463 |
% \end{macro} |
| 464 |
% \end{macro} |
| 465 |
% \end{macro} |
| 466 |
% \end{macro} |
| 467 |
% \end{macro} |
| 468 |
% \end{macro} |
| 469 |
% \end{macro} |
| 470 |
% |
| 471 |
% For a full font the driver file would noramally be called for here. |
| 472 |
% In this case I have embedded it. |
| 473 |
% |
| 474 |
% |
| 475 |
% |
| 476 |
% \subsection{The driver file} |
| 477 |
% |
| 478 |
% If there was a driver file, this would be its contents. |
| 479 |
% |
| 480 |
% \begin{macrocode} |
| 481 |
|
| 482 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 483 |
% end of parameters |
| 484 |
% start of driver code |
| 485 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 486 |
|
| 487 |
font_coding_scheme:="Etruscan glyphs"; |
| 488 |
mode_setup; |
| 489 |
|
| 490 |
% \end{macrocode} |
| 491 |
% |
| 492 |
% \begin{macro}{ho} |
| 493 |
% \begin{macro}{leftloc} |
| 494 |
% \begin{macro}{py} |
| 495 |
% Perform additional setup. |
| 496 |
% \begin{macrocode} |
| 497 |
ho#:=o#; % horizontal overshoot |
| 498 |
leftloc#:=s#; % leftmost xcoord of character |
| 499 |
py#:=.9px#; % vertical thickness of the pen |
| 500 |
|
| 501 |
define_pixels(s,u); |
| 502 |
define_blacker_pixels(px,py); |
| 503 |
define_good_x_pixels(leftloc); |
| 504 |
define_corrected_pixels(o); % turn on overshoot correction |
| 505 |
define_horizontal_corrected_pixels(ho); |
| 506 |
|
| 507 |
% \end{macrocode} |
| 508 |
% \end{macro} |
| 509 |
% \end{macro} |
| 510 |
% \end{macro} |
| 511 |
% |
| 512 |
% \begin{macro}{midloc} |
| 513 |
% \begin{macro}{rightloc} |
| 514 |
% Variables for the middle xcoord and rightmost xcoord of a character. |
| 515 |
% \begin{macrocode} |
| 516 |
numeric midloc, rightloc; |
| 517 |
% \end{macrocode} |
| 518 |
% \end{macro} |
| 519 |
% \end{macro} |
| 520 |
% |
| 521 |
% \begin{macro}{stylus} |
| 522 |
% Define the pen. |
| 523 |
% \begin{macrocode} |
| 524 |
pickup pencircle xscaled px yscaled py; |
| 525 |
stylus:=savepen; |
| 526 |
|
| 527 |
% \end{macrocode} |
| 528 |
% \end{macro} |
| 529 |
% |
| 530 |
% \begin{macro}{beginglyph} |
| 531 |
% A macro to save some typing of beginchar arguments. |
| 532 |
% \begin{macrocode} |
| 533 |
def beginglyph(expr code, unit_width) = |
| 534 |
beginchar(code, unit_width*ht#+2s#, ht#, 0); |
| 535 |
midloc:=1/2w; rightloc:=(w-s); |
| 536 |
pickup stylus enddef; |
| 537 |
|
| 538 |
% \end{macrocode} |
| 539 |
% \end{macro} |
| 540 |
% |
| 541 |
% \begin{macro}{cmchar} |
| 542 |
% |cmchar| should precede each character |
| 543 |
% \begin{macrocode} |
| 544 |
let cmchar=\; |
| 545 |
|
| 546 |
% \end{macrocode} |
| 547 |
% \end{macro} |
| 548 |
% |
| 549 |
% The end of the driver code, except for calling the glyph code. |
| 550 |
% |
| 551 |
% \subsection{The glyph code} |
| 552 |
% |
| 553 |
% The following code generates the glyphs for the Etruscan font. The characters |
| 554 |
% are defined in the Etruscan alphabetic ordering. |
| 555 |
% |
| 556 |
% \begin{macrocode} |
| 557 |
|
| 558 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 559 |
% glyph code |
| 560 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 561 |
|
| 562 |
% \end{macrocode} |
| 563 |
% |
| 564 |
% \begin{macro}{a} |
| 565 |
% The letter A. Much like our modern A, and symmetrical. It corresponds to the |
| 566 |
% Phoenician \textit{alpeh} and the Greek \textit{alpha} ($A$). |
| 567 |
% \begin{macrocode} |
| 568 |
|
| 569 |
cmchar "Etruscan letter A (a)"; |
| 570 |
beginglyph("a",0.6); |
| 571 |
x1=leftloc; x3=rightloc; % base points |
| 572 |
bot y1 = bot y3 = -o; |
| 573 |
x2 = midloc; top y2 = h; % apex |
| 574 |
% draw the legs |
| 575 |
draw z1--z2--z3; |
| 576 |
z4 = 0.4[z1, z2]; z5 = 0.4[z3,z2]; |
| 577 |
% draw the bar |
| 578 |
draw z4--z5; |
| 579 |
labels(1,2,3,4,5); |
| 580 |
endchar; |
| 581 |
|
| 582 |
% \end{macrocode} |
| 583 |
% \end{macro} |
| 584 |
% |
| 585 |
% \begin{macro}{b} |
| 586 |
% The letter B, which is similar to our modern B, and is asymmetric. |
| 587 |
% It corresponds to the Phoenician \textit{beth} and the Greek \textit{beta} ($B$) |
| 588 |
% \begin{macrocode} |
| 589 |
|
| 590 |
cmchar "Etruscan letter B (b)"; |
| 591 |
beginglyph("b",0.6); |
| 592 |
x1=x3=x5=leftloc; |
| 593 |
x2=x4=rightloc; |
| 594 |
bot y1=-o; top y5=h; |
| 595 |
y2=1/4h; y3=1/2h; y4=3/4h; |
| 596 |
draw z1--z5; % the upright |
| 597 |
draw z1{right}..z2..z3{left}; % lower bowl |
| 598 |
draw z3{right}..z4..z5{left}; % upper bowl |
| 599 |
labels(1,2,3,4,5); endchar; |
| 600 |
|
| 601 |
% \end{macrocode} |
| 602 |
% \end{macro} |
| 603 |
% |
| 604 |
% \begin{macro}{g} |
| 605 |
% The letter G. This corresponds to the Phoenician \textit{gimel} and the Greek |
| 606 |
% \textit{gamma} ($\Gamma$). |
| 607 |
% \begin{macrocode} |
| 608 |
|
| 609 |
cmchar "Etruscan letter G (g)"; |
| 610 |
beginglyph("g", 0.6); |
| 611 |
x1=rightloc; |
| 612 |
x2=leftloc; |
| 613 |
x3=0.1[x2,x1]; |
| 614 |
bot y3=-o; y2=h; |
| 615 |
y1=0.8h; |
| 616 |
draw z1...z2{left}--z3; |
| 617 |
labels(1,2,3); endchar; |
| 618 |
|
| 619 |
% \end{macrocode} |
| 620 |
% \end{macro} |
| 621 |
% |
| 622 |
% \begin{macro}{d} |
| 623 |
% The letter D. Our modern D is recognisably present. |
| 624 |
% It corresponds to the Phoenician \textit{daleth} and the Greek \textit{delta} ($\Delta$). |
| 625 |
% \begin{macrocode} |
| 626 |
|
| 627 |
cmchar "Etruscan letter D (d)"; |
| 628 |
beginglyph("d",0.6); |
| 629 |
x1=x3=leftloc; |
| 630 |
x2=rightloc; |
| 631 |
bot y1=-o; y3=h; |
| 632 |
y2=1/2h; |
| 633 |
draw z1--z3; % the upright |
| 634 |
draw z1..z2..z3; % bowl |
| 635 |
labels(1,2,3); endchar; |
| 636 |
|
| 637 |
% \end{macrocode} |
| 638 |
% \end{macro} |
| 639 |
% |
| 640 |
% \begin{macro}{e} |
| 641 |
% The letter E. |
| 642 |
% It corresponds to the Phoenician \textit{he} and the Greek \textit{epsilon} ($E$). |
| 643 |
% \begin{macrocode} |
| 644 |
|
| 645 |
cmchar "Etruscan letter E (e)"; |
| 646 |
beginglyph("e",0.6); |
| 647 |
numeric alpha; |
| 648 |
alpha:=0.1; |
| 649 |
x4=x5=x6=x7=leftloc; |
| 650 |
x1=x2=x3=rightloc; |
| 651 |
bot y4=-o; y7=h; |
| 652 |
y6=.7h; y5=.4h; |
| 653 |
y1=y5-alpha*h; y2=y6-alpha*h; y3=y7-alpha*h; |
| 654 |
draw z4--z7; % the upright |
| 655 |
draw z1--z5; draw z2--z6; draw z3--z7; % the arms |
| 656 |
labels(1,2,3,4,5,6,7); endchar; |
| 657 |
|
| 658 |
% \end{macrocode} |
| 659 |
% \end{macro} |
| 660 |
% |
| 661 |
% \begin{macro}{F} |
| 662 |
% The letter F. This is like a 2-armed E. |
| 663 |
% It corresponds to the Phoenician \textit{vau}. |
| 664 |
% \begin{macrocode} |
| 665 |
|
| 666 |
cmchar "Etruscan letter F (F)"; |
| 667 |
beginglyph("F",0.6); |
| 668 |
numeric alpha; |
| 669 |
alpha:=0.1; |
| 670 |
x4=x5=x6=x7=leftloc; |
| 671 |
x1=x2=x3=rightloc; |
| 672 |
bot y4=-o; y7=h; |
| 673 |
y6=.6h; y5=.4h; |
| 674 |
y1=y5-alpha*h; y2=y6-alpha*h; y3=y7-alpha*h; |
| 675 |
draw z4--z7; % the upright |
| 676 |
draw z2--z6; draw z3--z7; % the arms |
| 677 |
labels(1,2,3,4,5,6,7); endchar; |
| 678 |
|
| 679 |
% \end{macrocode} |
| 680 |
% \end{macro} |
| 681 |
% |
| 682 |
% \begin{macro}{z} |
| 683 |
% The letter Z. This looks like our uppercase letter I. |
| 684 |
% It corresponds to the Phoenician \textit{zayin} and the Greek \textit{zeta} ($Z$). |
| 685 |
% \begin{macrocode} |
| 686 |
|
| 687 |
cmchar "Etruscan letter Z (z)"; |
| 688 |
beginglyph("z",0.2); |
| 689 |
x1=x2=midloc; |
| 690 |
bot y1=-o; top y2=h; |
| 691 |
draw z1--z2; % the upright |
| 692 |
x3=x5=leftloc; x4=x6=rightloc; |
| 693 |
y3=y4=y1; y5=y6=y2; |
| 694 |
draw z3--z4; % lower bar |
| 695 |
draw z5--z6; % upper bar |
| 696 |
labels(1,2); endchar; |
| 697 |
|
| 698 |
% \end{macrocode} |
| 699 |
% \end{macro} |
| 700 |
% |
| 701 |
% |
| 702 |
% |
| 703 |
% |
| 704 |
% \begin{macro}{H} |
| 705 |
% The letter H. It looks like a rectangle with two horizontal internal bars. |
| 706 |
% It corresponds to the Phoenician \textit{heth} and the Greek \textit{eta} ($H$). |
| 707 |
% \begin{macrocode} |
| 708 |
|
| 709 |
cmchar "Etruscan letter H (h)"; |
| 710 |
beginglyph("h", 0.6); |
| 711 |
numeric alpha; |
| 712 |
alpha:=0.1; |
| 713 |
x4=x6=leftloc; |
| 714 |
x1=x3=rightloc; |
| 715 |
bot y1=-o; top y6=h; |
| 716 |
y3=y6-alpha*h; y4=y1+alpha*h; |
| 717 |
z2=0.35[z1,z3]; z5=0.35[z4,z6]; % ends of one bar |
| 718 |
z7=0.65[z1,z3]; z8=0.65[z4,z6]; % other bar |
| 719 |
draw z1--z3--z6--z4--cycle; % outer boundary |
| 720 |
draw z2--z5; draw z7--z8; % the bars |
| 721 |
|
| 722 |
labels(1,2,3,4,5,6); endchar; |
| 723 |
|
| 724 |
% \end{macrocode} |
| 725 |
% \end{macro} |
| 726 |
% |
| 727 |
% \begin{macro}{T} |
| 728 |
% It corresponds to the Phoenician \textit{teth} and the Greek \textit{theta} ($\Theta$). |
| 729 |
% \begin{macrocode} |
| 730 |
|
| 731 |
cmchar "Etruscan letter Theta (T)"; |
| 732 |
beginglyph("T",1.0); |
| 733 |
path p; |
| 734 |
x1=leftloc; |
| 735 |
x3=rightloc; |
| 736 |
y2=h; |
| 737 |
y4=0; |
| 738 |
x2=x4=midloc; |
| 739 |
y1=y3=h/2; |
| 740 |
z100=(x2,y3); % circle center |
| 741 |
p = z1..z2..z3..z4..cycle; |
| 742 |
z11= (z100--(leftloc,h)) intersectionpoint p; |
| 743 |
z12= (z100--(rightloc,h)) intersectionpoint p; |
| 744 |
z13= (z100--(rightloc,0)) intersectionpoint p; |
| 745 |
z14= (z100--(leftloc,0)) intersectionpoint p; |
| 746 |
draw p; |
| 747 |
draw z11--z13; draw z12--z14; % the cross |
| 748 |
labels(1,2,3,4,11,12,13,14); endchar; |
| 749 |
|
| 750 |
% \end{macrocode} |
| 751 |
% \end{macro} |
| 752 |
% |
| 753 |
% |
| 754 |
% \begin{macro}{i} |
| 755 |
% The letter I. |
| 756 |
% It corresponds to the Phoenician \textit{yod}and the Greek \textit{iota} ($I$). |
| 757 |
% \begin{macrocode} |
| 758 |
|
| 759 |
cmchar "Etruscan letter I (i)"; |
| 760 |
beginglyph("i",0.2); |
| 761 |
x1=x2=midloc; |
| 762 |
bot y1=-o; top y2=h; |
| 763 |
draw z1--z2; |
| 764 |
labels(1,2); endchar; |
| 765 |
|
| 766 |
% \end{macrocode} |
| 767 |
% \end{macro} |
| 768 |
% |
| 769 |
% |
| 770 |
% \begin{macro}{k} |
| 771 |
% The letter K. |
| 772 |
% It corresponds to the Phoenician \textit{kaph} and the Greek \textit{kappa} ($K$). |
| 773 |
% \begin{macrocode} |
| 774 |
|
| 775 |
cmchar "Etruscan letter K (k)"; |
| 776 |
beginglyph("k",0.6); |
| 777 |
numeric alpha; |
| 778 |
alpha:=0.1; |
| 779 |
x1=rightloc; |
| 780 |
x2=x1+alpha*(w-s); |
| 781 |
x3=x4=x5=leftloc; |
| 782 |
bot y1= bot y3=-o; |
| 783 |
y2=y5=h; y4=1/2h; |
| 784 |
draw z3--z5; % the upright |
| 785 |
draw z1--z4; draw z4--z2; % the arms |
| 786 |
labels(1,2,3,4,5); endchar; |
| 787 |
|
| 788 |
% \end{macrocode} |
| 789 |
% \end{macro} |
| 790 |
% |
| 791 |
% \begin{macro}{l} |
| 792 |
% The letter L. |
| 793 |
% It corresponds to the Phoenician \textit{lamed} and the Greek \textit{lambda} ($\Lambda$). |
| 794 |
% \begin{macrocode} |
| 795 |
|
| 796 |
cmchar "Etruscan letter L (l)"; |
| 797 |
beginglyph("l",0.4); |
| 798 |
x2=x3=leftloc; |
| 799 |
x1=rightloc; |
| 800 |
bot y2=-o; |
| 801 |
y1=.3h; |
| 802 |
y3=h; |
| 803 |
draw z2--z3; % the upright |
| 804 |
draw z2--z1; % the arms |
| 805 |
labels(1,2,3); endchar; |
| 806 |
|
| 807 |
% \end{macrocode} |
| 808 |
% \end{macro} |
| 809 |
% |
| 810 |
% \begin{macro}{m} |
| 811 |
% The letter M. |
| 812 |
% It corresponds to the Phoenician \textit{mem} and the Greek \textit{mu} ($M$). |
| 813 |
% \begin{macrocode} |
| 814 |
|
| 815 |
cmchar"Etruscan letter M (m)"; |
| 816 |
beginglyph("m",1.0); |
| 817 |
x1=rightloc; |
| 818 |
x5=x6=leftloc; |
| 819 |
x2=3/4[x5,x1]; x3=1/2[x5,x1]; x4=1/4[x5,x1]; |
| 820 |
bot y6= -o; |
| 821 |
top y5= top y3 = h; |
| 822 |
top y1=.8h; |
| 823 |
y2=.6h; |
| 824 |
y4=.7h; |
| 825 |
draw z6--z5; |
| 826 |
draw z1--z2--z3--z4--z5; |
| 827 |
labels(1,2,3,4,5,6); endchar; |
| 828 |
|
| 829 |
% \end{macrocode} |
| 830 |
% \end{macro} |
| 831 |
% |
| 832 |
% \begin{macro}{n} |
| 833 |
% The letter N. |
| 834 |
% It corresponds to the Phoenician \textit{nun} and the Greek \textit{nu} ($N$). |
| 835 |
% \begin{macrocode} |
| 836 |
|
| 837 |
cmchar "Etruscan letter N (n)"; |
| 838 |
beginglyph("n",0.6); |
| 839 |
x1=rightloc; |
| 840 |
x3=midloc; x2=x4=leftloc; |
| 841 |
bot y2=-o; |
| 842 |
top y1= top y4= h; |
| 843 |
y3=.7h; |
| 844 |
draw z2--z4; |
| 845 |
draw z1--z3--z4; |
| 846 |
labels(1,2,3,4); endchar; |
| 847 |
|
| 848 |
% \end{macrocode} |
| 849 |
% \end{macro} |
| 850 |
% |
| 851 |
% |
| 852 |
% \begin{macro}{x} |
| 853 |
% The letter corresponding to the Greek \textit{xi} ($\Xi$). It looks like a `boxed' |
| 854 |
% version of the modern H. |
| 855 |
% It corresponds to the Phoenician \textit{samekh}. |
| 856 |
% \begin{macrocode} |
| 857 |
|
| 858 |
cmchar "Etruscan letter Xi (x)"; |
| 859 |
beginglyph("x", 0.6); |
| 860 |
numeric alpha; |
| 861 |
alpha:=0.1; |
| 862 |
x4=x6=leftloc; |
| 863 |
x1=x3=rightloc; |
| 864 |
bot y1=-o; top y6=h; |
| 865 |
y3=y6-alpha*h; y4=y1+alpha*h; |
| 866 |
z2=0.5[z1,z3]; z5=0.5[z4,z6]; |
| 867 |
draw z1--z3--z6--z4--cycle; % outer boundary |
| 868 |
draw z2--z5; % bar |
| 869 |
labels(1,2,3,4,5,6); endchar; |
| 870 |
|
| 871 |
% \end{macrocode} |
| 872 |
% \end{macro} |
| 873 |
% |
| 874 |
% \begin{macro}{o} |
| 875 |
% The letter O. |
| 876 |
% It corresponds to the Phoenician \textit{ayen} and the Greek \textit{omicron} ($O$). |
| 877 |
% \begin{macrocode} |
| 878 |
|
| 879 |
cmchar "Etruscan letter O (o)"; |
| 880 |
beginglyph("o",1.0); |
| 881 |
x1=leftloc; x3=rightloc; |
| 882 |
y2=h; y4=0; |
| 883 |
x2=x4=midloc; |
| 884 |
y1=y3=h/2; |
| 885 |
draw z1..z2..z3..z4..cycle; |
| 886 |
labels(1,2,3,4); endchar; |
| 887 |
|
| 888 |
% \end{macrocode} |
| 889 |
% \end{macro} |
| 890 |
% |
| 891 |
% \begin{macro}{p} |
| 892 |
% The letter P. |
| 893 |
% It corresponds to the Phoenician \textit{pe} and the Greek \textit{pi} ($\Pi$). |
| 894 |
% \begin{macrocode} |
| 895 |
|
| 896 |
cmchar "Etruscan letter P (p)"; |
| 897 |
beginglyph("p", 0.4); |
| 898 |
x1=rightloc; x2=x3=leftloc; |
| 899 |
bot y3=-o; y2=h; |
| 900 |
y1=0.8h; |
| 901 |
draw z1..z2{left}--z3; |
| 902 |
labels(1,2,3); endchar; |
| 903 |
|
| 904 |
% \end{macrocode} |
| 905 |
% \end{macro} |
| 906 |
% |
| 907 |
% |
| 908 |
% \begin{macro}{S} |
| 909 |
% The Etruscans had a letter that looks like a modern M, and in the same |
| 910 |
% position as the Phoenician \textit{tsade}. |
| 911 |
% \begin{macrocode} |
| 912 |
|
| 913 |
cmchar "Etruscan lookalike M letter (tsade, S)"; |
| 914 |
beginglyph("S",0.8); |
| 915 |
x1=x2=leftloc; |
| 916 |
x4=x5=rightloc; |
| 917 |
x3=midloc; |
| 918 |
top y2= top y5= h; |
| 919 |
bot y1=bot y4= -o; |
| 920 |
y3=.7h; |
| 921 |
draw z1--z2--z3--z5--z4; |
| 922 |
labels(1,2,3,4,5); endchar; |
| 923 |
|
| 924 |
% \end{macrocode} |
| 925 |
% \end{macro} |
| 926 |
% |
| 927 |
% \begin{macro}{q} |
| 928 |
% The letter Q. |
| 929 |
% It corresponds to the Phoenician \textit{qoph}. |
| 930 |
% \begin{macrocode} |
| 931 |
|
| 932 |
cmchar "Etruscan letter Q (q)"; |
| 933 |
beginglyph("q",0.6); |
| 934 |
numeric alpha; |
| 935 |
x1=leftloc; |
| 936 |
x3=rightloc; |
| 937 |
alpha=0.5(x3-x1); % circle radius |
| 938 |
y2=h; |
| 939 |
y4=y2-2alpha; |
| 940 |
bot y5=-o; |
| 941 |
x2=x4=x5=midloc; |
| 942 |
y1=y3=h-alpha; |
| 943 |
draw z1..z2..z3..z4..cycle; % the circle |
| 944 |
draw z5--z4; % the upright |
| 945 |
labels(1,2,3,4,5); endchar; |
| 946 |
|
| 947 |
% \end{macrocode} |
| 948 |
% \end{macro} |
| 949 |
% |
| 950 |
% \begin{macro}{r} |
| 951 |
% The letter R. It looks somewhat like a 4. |
| 952 |
% It corresponds to the Phoenician \textit{resh} and the Greek \textit{rho} ($R$). |
| 953 |
% \begin{macrocode} |
| 954 |
|
| 955 |
cmchar "Etruscan letter R (r)"; |
| 956 |
beginglyph("r", 0.4); |
| 957 |
x1=x2=x3=leftloc; x4=rightloc; |
| 958 |
bot y1=-o; top y2=h; |
| 959 |
y3=y4=0.5h; |
| 960 |
draw z1--z2--z4--z3; |
| 961 |
labels(1,2,3,4); endchar; |
| 962 |
|
| 963 |
% \end{macrocode} |
| 964 |
% \end{macro} |
| 965 |
% |
| 966 |
% \begin{macro}{s} |
| 967 |
% The letter S. |
| 968 |
% It corresponds to the Phoenician \textit{shin} and the Greek \textit{sigma} ($\Sigma$). |
| 969 |
% \begin{macrocode} |
| 970 |
|
| 971 |
cmchar "Etruscan letter S (s)"; |
| 972 |
beginglyph("s", 0.4); |
| 973 |
x1=x2=rightloc; x3=x4=leftloc; x5=midloc; |
| 974 |
bot y1=-o; top y5=h; |
| 975 |
y2=y3=0.4h; y4=0.8h; |
| 976 |
draw z1--z3--z2--z4--z5; |
| 977 |
labels(1,2,3,4,5); endchar; |
| 978 |
|
| 979 |
% \end{macrocode} |
| 980 |
% \end{macro} |
| 981 |
% |
| 982 |
% \begin{macro}{t} |
| 983 |
% The letter T. |
| 984 |
% It corresponds to the Phoenician \textit{tav} and the Greek \textit{tau} ($T$). |
| 985 |
% \begin{macrocode} |
| 986 |
|
| 987 |
cmchar "Etruscan letter T (t)"; |
| 988 |
beginglyph("t", 0.6); |
| 989 |
x1=rightloc; x4=leftloc; |
| 990 |
bot y2=-o; top y4=h; |
| 991 |
y1=.9h; |
| 992 |
z3=0.5[z1,z4]; |
| 993 |
x2=x3; |
| 994 |
draw z2--z3; % the stem |
| 995 |
draw z1--z4; % the bar |
| 996 |
labels(1,2,3,4); endchar; |
| 997 |
|
| 998 |
|
| 999 |
% \end{macrocode} |
| 1000 |
% \end{macro} |
| 1001 |
% |
| 1002 |
% \begin{macro}{y} |
| 1003 |
% The letter Y/U. This comes from the Greek \textit{upsilon} ($\Upsilon$) |
| 1004 |
% and the Phoenician \textit{vau}. |
| 1005 |
% \begin{macrocode} |
| 1006 |
|
| 1007 |
cmchar "Etruscan letter Y/U (y)"; |
| 1008 |
beginglyph("y", 0.6); |
| 1009 |
x1=rightloc; x4=leftloc; |
| 1010 |
bot y2=-o; y1=0.9h; |
| 1011 |
top y4=h; |
| 1012 |
x2=x3=0.6[x4,x1]; |
| 1013 |
y3=.6h; |
| 1014 |
draw z2--z3; % the stem |
| 1015 |
draw z1--z3--z4; % the V |
| 1016 |
labels(1,2,3,4); endchar; |
| 1017 |
|
| 1018 |
|
| 1019 |
% \end{macrocode} |
| 1020 |
% \end{macro} |
| 1021 |
% |
| 1022 |
% \begin{macro}{X} |
| 1023 |
% The letter corresponding to the Greek \textit{chi} ($X$). |
| 1024 |
% \begin{macrocode} |
| 1025 |
|
| 1026 |
cmchar "Etruscan letter X"; |
| 1027 |
beginglyph("X", 0.6); |
| 1028 |
x1=x2=leftloc; x3=x4=rightloc; |
| 1029 |
bot y1= bot y3=-o; top y2= top y4=h; |
| 1030 |
draw z1--z4; draw z2--z3; |
| 1031 |
labels(1,2,3,4); endchar; |
| 1032 |
|
| 1033 |
|
| 1034 |
% \end{macrocode} |
| 1035 |
% \end{macro} |
| 1036 |
% |
| 1037 |
% \begin{macro}{f} |
| 1038 |
% The Etruscan version of the Greek \textit{phi} ($\Phi$). |
| 1039 |
% \begin{macrocode} |
| 1040 |
|
| 1041 |
cmchar "Etruscan letter Phi (f)"; |
| 1042 |
beginglyph("f",0.6); |
| 1043 |
numeric alpha; |
| 1044 |
x1=leftloc; |
| 1045 |
x3=rightloc; |
| 1046 |
alpha=0.5(x3-x1); % circle radius |
| 1047 |
y2=h; |
| 1048 |
y4=y2-2alpha; |
| 1049 |
bot y5=-o; |
| 1050 |
x2=x4=x5=midloc; |
| 1051 |
y1=y3=h-alpha; |
| 1052 |
draw z1..z2..z3..z4..cycle; % the circle |
| 1053 |
draw z5--z2; % the upright |
| 1054 |
labels(1,2,3,4,5); endchar; |
| 1055 |
|
| 1056 |
|
| 1057 |
% \end{macrocode} |
| 1058 |
% \end{macro} |
| 1059 |
% |
| 1060 |
% \begin{macro}{P} |
| 1061 |
% The Etruscans had the Greek \textit{psi} ($\Psi$) letter. |
| 1062 |
% \begin{macrocode} |
| 1063 |
|
| 1064 |
cmchar "Etruscan letter Psi (P)"; |
| 1065 |
beginglyph("P", 0.6); |
| 1066 |
x1=leftloc; x3=rightloc; |
| 1067 |
x2=x4=midloc; |
| 1068 |
bot y2=-o; top y4=h; y1=y3=y4; |
| 1069 |
z5=0.5[z2,z4]; |
| 1070 |
draw z2--z4; % the stem |
| 1071 |
draw z1--z5--z3; % the arms |
| 1072 |
labels(1,2,3,4,5); endchar; |
| 1073 |
|
| 1074 |
|
| 1075 |
% \end{macrocode} |
| 1076 |
% \end{macro} |
| 1077 |
% |
| 1078 |
% \begin{macro}{v} |
| 1079 |
% The Etruscans used a character that looks like the digit 8 for an |
| 1080 |
% `f' sound. |
| 1081 |
% \begin{macrocode} |
| 1082 |
|
| 1083 |
cmchar "Etruscan letter 8 lookalike (v)"; |
| 1084 |
beginglyph("v", 0.6); |
| 1085 |
x2=x6=leftloc; |
| 1086 |
x4=x7=rightloc; |
| 1087 |
x1=x3=x5=midloc; |
| 1088 |
bot y1=-o; top y5=h; y3=0.5h; |
| 1089 |
y2=y7=0.25h; |
| 1090 |
y6=y4=0.75h; |
| 1091 |
draw z1..z2..z3..z4..z5..z6..z3..z7..cycle; |
| 1092 |
labels(1,2,3,4,5,6,7); endchar; |
| 1093 |
|
| 1094 |
% \end{macrocode} |
| 1095 |
% \end{macro} |
| 1096 |
% |
| 1097 |
% |
| 1098 |
% The following characters are for the normal Etruscan writing mode |
| 1099 |
% of right to left. The characters are mirror images of the ASCII uppercase |
| 1100 |
% counterparts. Symmetric characters that are called by \LaTeX{} commands |
| 1101 |
% need not be coded. |
| 1102 |
% |
| 1103 |
% |
| 1104 |
% \begin{macro}{B} |
| 1105 |
% The letter B, which is asymmetrical. |
| 1106 |
% \begin{macrocode} |
| 1107 |
|
| 1108 |
cmchar "Etruscan letter L-R B (B)"; |
| 1109 |
beginglyph("B",0.6); |
| 1110 |
x2=x4=leftloc; x1=x3=x5=rightloc; |
| 1111 |
bot y1=-o; top y5=h; |
| 1112 |
y2=1/4h; y3=1/2h; y4=3/4h; |
| 1113 |
draw z1--z5; % the upright |
| 1114 |
draw z1{left}..z2..z3{right}; % lower bowl |
| 1115 |
draw z3{left}..z4..z5{right}; % upper bowl |
| 1116 |
labels(1,2,3,4,5); endchar; |
| 1117 |
|
| 1118 |
% \end{macrocode} |
| 1119 |
% \end{macro} |
| 1120 |
% |
| 1121 |
% \begin{macro}{G} |
| 1122 |
% The letter G which is asymmetrical. |
| 1123 |
% \begin{macrocode} |
| 1124 |
|
| 1125 |
cmchar "Etruscan letter L-R G (G)"; |
| 1126 |
beginglyph("G", 0.6); |
| 1127 |
x1=leftloc; x2=rightloc; x3=0.9rightloc; |
| 1128 |
bot y3=-o; y2=h; |
| 1129 |
y1=0.8h; |
| 1130 |
draw z1...z2{right}--z3; |
| 1131 |
labels(1,2,3); endchar; |
| 1132 |
|
| 1133 |
% \end{macrocode} |
| 1134 |
% \end{macro} |
| 1135 |
% |
| 1136 |
% \begin{macro}{D} |
| 1137 |
% The letter D which is asymmetrical. |
| 1138 |
% \begin{macrocode} |
| 1139 |
|
| 1140 |
cmchar "Etruscan letter L-R D (D)"; |
| 1141 |
beginglyph("D",0.6); |
| 1142 |
x2=leftloc; x1=x3=rightloc; |
| 1143 |
bot y1=-o; y3=h; |
| 1144 |
y2=1/2h; |
| 1145 |
draw z1--z3; % the upright |
| 1146 |
draw z1..z2..z3; % bowl |
| 1147 |
labels(1,2,3); endchar; |
| 1148 |
|
| 1149 |
% \end{macrocode} |
| 1150 |
% \end{macro} |
| 1151 |
% |
| 1152 |
% \begin{macro}{E} |
| 1153 |
% The letter E which is asymmetrical. |
| 1154 |
% \begin{macrocode} |
| 1155 |
|
| 1156 |
cmchar "Etruscan letter L-R E (E)"; |
| 1157 |
beginglyph("E",0.6); |
| 1158 |
numeric alpha; |
| 1159 |
alpha:=0.1; |
| 1160 |
x1=x2=x3=leftloc; x4=x5=x6=x7=rightloc; |
| 1161 |
bot y4=-o; y7=h; |
| 1162 |
y6=.7h; y5=.4h; |
| 1163 |
y1=y5-alpha*h; y2=y6-alpha*h; y3=y7-alpha*h; |
| 1164 |
draw z4--z7; % the upright |
| 1165 |
draw z1--z5; draw z2--z6; draw z3--z7; % the arms |
| 1166 |
labels(1,2,3,4,5,6,7); endchar; |
| 1167 |
|
| 1168 |
% \end{macrocode} |
| 1169 |
% \end{macro} |
| 1170 |
% |
| 1171 |
% \begin{macro}{U} |
| 1172 |
% The letter F which is asymmetrical. |
| 1173 |
% \begin{macrocode} |
| 1174 |
|
| 1175 |
cmchar "Etruscan letter L-R F (U)"; |
| 1176 |
beginglyph("U",0.6); |
| 1177 |
numeric alpha; |
| 1178 |
alpha:=0.1; |
| 1179 |
x1=x2=x3=leftloc; x4=x5=x6=x7=rightloc; |
| 1180 |
bot y4=-o; y7=h; |
| 1181 |
y6=.6h; y5=.4h; |
| 1182 |
y1=y5-alpha*h; y2=y6-alpha*h; y3=y7-alpha*h; |
| 1183 |
draw z4--z7; % the upright |
| 1184 |
draw z2--z6; draw z3--z7; % the arms |
| 1185 |
labels(1,2,3,4,5,6,7); endchar; |
| 1186 |
|
| 1187 |
% \end{macrocode} |
| 1188 |
% \end{macro} |
| 1189 |
% |
| 1190 |
% |
| 1191 |
% \begin{macro}{H} |
| 1192 |
% The letter H which is asymmetrical. |
| 1193 |
% \changes{v2.1}{2005/04/11}{Changed H glyph} |
| 1194 |
% \begin{macrocode} |
| 1195 |
|
| 1196 |
cmchar "Etruscan letter L-R H (H)"; |
| 1197 |
beginglyph("H", 0.6); |
| 1198 |
numeric alpha; |
| 1199 |
alpha:=0.1; |
| 1200 |
%%%% x4=x6=leftloc; x1=x3=rightloc; |
| 1201 |
x4=x6=rightloc; x1=x3=leftloc; |
| 1202 |
bot y1=-o; top y6=h; |
| 1203 |
y3=y6-alpha*h; y4=y1+alpha*h; |
| 1204 |
z2=0.35[z1,z3]; z5=0.35[z4,z6]; % ends of one bar |
| 1205 |
z7=0.65[z1,z3]; z8=0.65[z4,z6]; % other bar |
| 1206 |
draw z1--z3--z6--z4--cycle; % outer boundary |
| 1207 |
draw z2--z5; draw z7--z8; % the bars |
| 1208 |
labels(1,2,3,4,5,6); endchar; |
| 1209 |
|
| 1210 |
% \end{macrocode} |
| 1211 |
% \end{macro} |
| 1212 |
% |
| 1213 |
% |
| 1214 |
% \begin{macro}{C} |
| 1215 |
% The letter x which is asymmetrical. |
| 1216 |
% \changes{v2.1}{2005/04./11}{Added C glyph} |
| 1217 |
% \begin{macrocode} |
| 1218 |
|
| 1219 |
cmchar "Etruscan letter L-R x (C)"; |
| 1220 |
beginglyph("C", 0.6); |
| 1221 |
numeric alpha; |
| 1222 |
alpha:=0.1; |
| 1223 |
%%%%x1=x3=rightloc; x4=x6=leftloc; |
| 1224 |
x1=x3=leftloc; x4=x6=rightloc; |
| 1225 |
bot y1=-o; top y6=h; |
| 1226 |
y3=y6-alpha*h; y4=y1+alpha*h; |
| 1227 |
z2=0.5[z1,z3]; z5=0.5[z4,z6]; |
| 1228 |
draw z1--z3--z6--z4--cycle; % outer boundary |
| 1229 |
draw z2--z5; % bar |
| 1230 |
labels(1,2,3,4,5,6); endchar; |
| 1231 |
|
| 1232 |
% \end{macrocode} |
| 1233 |
% \end{macro} |
| 1234 |
% |
| 1235 |
% |
| 1236 |
% \begin{macro}{K} |
| 1237 |
% The letter K which is asymmetrical. |
| 1238 |
% \begin{macrocode} |
| 1239 |
|
| 1240 |
cmchar "Etruscan letter L-R K (K)"; |
| 1241 |
beginglyph("K",0.6); |
| 1242 |
numeric alpha; |
| 1243 |
alpha:=0.1; |
| 1244 |
x1=leftloc; x2=x1+alpha*(w-s); x3=x4=x5=rightloc; |
| 1245 |
bot y1= bot y3=-o; |
| 1246 |
y2=y5=h; y4=1/2h; |
| 1247 |
draw z3--z5; % the upright |
| 1248 |
draw z1--z4; draw z4--z2; % the arms |
| 1249 |
labels(1,2,3,4,5); endchar; |
| 1250 |
|
| 1251 |
% \end{macrocode} |
| 1252 |
% \end{macro} |
| 1253 |
% |
| 1254 |
% \begin{macro}{L} |
| 1255 |
% The letter L which is asymmetrical. |
| 1256 |
% \begin{macrocode} |
| 1257 |
|
| 1258 |
cmchar "Etruscan letter L-R L (L)"; |
| 1259 |
beginglyph("L",0.4); |
| 1260 |
x1=leftloc; x2=x3=rightloc; |
| 1261 |
bot y2=-o; |
| 1262 |
y1=.3h; |
| 1263 |
y3=h; |
| 1264 |
draw z2--z3; % the upright |
| 1265 |
draw z2--z1; % the arms |
| 1266 |
labels(1,2,3); endchar; |
| 1267 |
|
| 1268 |
% \end{macrocode} |
| 1269 |
% \end{macro} |
| 1270 |
% |
| 1271 |
% \begin{macro}{M} |
| 1272 |
% The letter M which is asymmetrical. |
| 1273 |
% \begin{macrocode} |
| 1274 |
|
| 1275 |
cmchar"Etruscan letter L-R M (M)"; |
| 1276 |
beginglyph("M",1.0); |
| 1277 |
x1=leftloc; |
| 1278 |
x5=x6=rightloc; |
| 1279 |
x2=1/4[x1,x5]; x3=1/2[x1,x5]; x4=3/4[x1,x5]; |
| 1280 |
bot y6= -o; |
| 1281 |
top y5= top y3 = h; |
| 1282 |
top y1=.8h; |
| 1283 |
y2=.6h; |
| 1284 |
y4=.7h; |
| 1285 |
draw z6--z5; |
| 1286 |
draw z1--z2--z3--z4--z5; |
| 1287 |
labels(1,2,3,4,5,6); endchar; |
| 1288 |
|
| 1289 |
% \end{macrocode} |
| 1290 |
% \end{macro} |
| 1291 |
% |
| 1292 |
% \begin{macro}{N} |
| 1293 |
% The letter N which is asymmetrical. |
| 1294 |
% \begin{macrocode} |
| 1295 |
|
| 1296 |
cmchar "Etruscan letter L-R N (N)"; |
| 1297 |
beginglyph("N",0.6); |
| 1298 |
x1=leftloc; |
| 1299 |
x3=midloc; x2=x4=rightloc; |
| 1300 |
bot y2=-o; |
| 1301 |
top y1= top y4= h; |
| 1302 |
y3=.7h; |
| 1303 |
draw z2--z4; |
| 1304 |
draw z1--z3--z4; |
| 1305 |
labels(1,2,3,4); endchar; |
| 1306 |
|
| 1307 |
% \end{macrocode} |
| 1308 |
% \end{macro} |
| 1309 |
% |
| 1310 |
% |
| 1311 |
% \begin{macro}{Q} |
| 1312 |
% The letter P which is asymmetrical. |
| 1313 |
% \begin{macrocode} |
| 1314 |
|
| 1315 |
cmchar "Etruscan letter L-R P (Q)"; |
| 1316 |
beginglyph("Q", 0.4); |
| 1317 |
x1=leftloc; x2=x3=rightloc; |
| 1318 |
bot y3=-o; y2=h; |
| 1319 |
y1=0.8h; |
| 1320 |
draw z1..z2{right}--z3; |
| 1321 |
labels(1,2,3); endchar; |
| 1322 |
|
| 1323 |
% \end{macrocode} |
| 1324 |
% \end{macro} |
| 1325 |
% |
| 1326 |
% |
| 1327 |
% |
| 1328 |
% \begin{macro}{R} |
| 1329 |
% The letter R which is asymmetrical. |
| 1330 |
% \begin{macrocode} |
| 1331 |
cmchar "Etruscan letter L-R R (R)"; |
| 1332 |
beginglyph("R", 0.4); |
| 1333 |
x1=x2=x3=rightloc; x4=leftloc; |
| 1334 |
bot y1=-o; top y2=h; |
| 1335 |
y3=y4=0.5h; |
| 1336 |
draw z1--z2--z4--z3; |
| 1337 |
labels(1,2,3,4); endchar; |
| 1338 |
|
| 1339 |
% \end{macrocode} |
| 1340 |
% \end{macro} |
| 1341 |
% |
| 1342 |
% \begin{macro}{Z} |
| 1343 |
% The letter S which is asymmetrical. |
| 1344 |
% \begin{macrocode} |
| 1345 |
|
| 1346 |
cmchar "Etruscan letter L-R S (Z)"; |
| 1347 |
beginglyph("Z", 0.4); |
| 1348 |
x1=x2=leftloc; x3=x4=rightloc; x5=midloc; |
| 1349 |
bot y1=-o; top y5=h; |
| 1350 |
y2=y3=0.4h; y4=0.8h; |
| 1351 |
draw z1--z3--z2--z4--z5; |
| 1352 |
labels(1,2,3,4,5); endchar; |
| 1353 |
|
| 1354 |
% \end{macrocode} |
| 1355 |
% \end{macro} |
| 1356 |
% |
| 1357 |
% \begin{macro}{J} |
| 1358 |
% The letter T which is asymmetrical. |
| 1359 |
% \begin{macrocode} |
| 1360 |
|
| 1361 |
cmchar "Etruscan letter L-R T (J)"; |
| 1362 |
beginglyph("J", 0.6); |
| 1363 |
x1=leftloc; x4=rightloc; |
| 1364 |
bot y2=-o; top y4=h; |
| 1365 |
y1=.9h; |
| 1366 |
z3=0.5[z1,z4]; |
| 1367 |
x2=x3; |
| 1368 |
draw z2--z3; % the stem |
| 1369 |
draw z1--z4; % the bar |
| 1370 |
labels(1,2,3,4); endchar; |
| 1371 |
|
| 1372 |
|
| 1373 |
% \end{macrocode} |
| 1374 |
% \end{macro} |
| 1375 |
% |
| 1376 |
% \begin{macro}{Y} |
| 1377 |
% The letter Y/U which is asymmetrical. |
| 1378 |
% \begin{macrocode} |
| 1379 |
|
| 1380 |
cmchar "Etruscan letter L-R U (Y)"; |
| 1381 |
beginglyph("Y", 0.6); |
| 1382 |
x1=leftloc; x4=rightloc; |
| 1383 |
bot y2=-o; top y4=h; |
| 1384 |
y1=.9h; |
| 1385 |
x2=x3=0.4(w-s); |
| 1386 |
y3=.6h; |
| 1387 |
draw z2--z3; % the stem |
| 1388 |
draw z1--z3--z4; % the V |
| 1389 |
labels(1,2,3,4); endchar; |
| 1390 |
|
| 1391 |
% \end{macrocode} |
| 1392 |
% \end{macro} |
| 1393 |
% |
| 1394 |
% |
| 1395 |
% The end of the glyph code, and the file. |
| 1396 |
% \begin{macrocode} |
| 1397 |
|
| 1398 |
end |
| 1399 |
|
| 1400 |
%</up> |
| 1401 |
% \end{macrocode} |
| 1402 |
% |
| 1403 |
% |
| 1404 |
% |
| 1405 |
% \section{The font definition files} \label{sec:fd} |
| 1406 |
% |
| 1407 |
% \begin{macrocode} |
| 1408 |
%<*fdot1> |
| 1409 |
\DeclareFontFamily{OT1}{etr}{} |
| 1410 |
\DeclareFontShape{OT1}{etr}{m}{n}{ <-> etr10 }{} |
| 1411 |
\DeclareFontShape{OT1}{etr}{bx}{n}{ <-> sub etr/m/n }{} |
| 1412 |
\DeclareFontShape{OT1}{etr}{b}{n}{ <-> sub etr/m/n }{} |
| 1413 |
\DeclareFontShape{OT1}{etr}{m}{sl}{ <-> sub etr/m/n }{} |
| 1414 |
\DeclareFontShape{OT1}{etr}{m}{it}{ <-> sub etr/m/n }{} |
| 1415 |
%</fdot1> |
| 1416 |
% \end{macrocode} |
| 1417 |
% |
| 1418 |
% |
| 1419 |
% \begin{macrocode} |
| 1420 |
%<*fdt1> |
| 1421 |
\DeclareFontFamily{T1}{etr}{} |
| 1422 |
\DeclareFontShape{T1}{etr}{m}{n}{ <-> etr10 }{} |
| 1423 |
\DeclareFontShape{T1}{etr}{bx}{n}{ <-> sub etr/m/n }{} |
| 1424 |
\DeclareFontShape{T1}{etr}{b}{n}{ <-> sub etr/m/n }{} |
| 1425 |
\DeclareFontShape{T1}{etr}{m}{sl}{ <-> sub etr/m/n }{} |
| 1426 |
\DeclareFontShape{T1}{etr}{m}{it}{ <-> sub etr/m/n }{} |
| 1427 |
%</fdt1> |
| 1428 |
% \end{macrocode} |
| 1429 |
% |
| 1430 |
% \section{The \Lpack{etruscan} package code} \label{sec:code} |
| 1431 |
% |
| 1432 |
% Announce the name and version of the package, which requires |
| 1433 |
% \LaTeXe{}. |
| 1434 |
% \begin{macrocode} |
| 1435 |
%<*usc> |
| 1436 |
\NeedsTeXFormat{LaTeX2e} |
| 1437 |
\ProvidesPackage{etruscan}[2000/10/01 v2.0 package for Etruscan fonts] |
| 1438 |
% \end{macrocode} |
| 1439 |
% |
| 1440 |
% |
| 1441 |
% \begin{macro}{\etrfamily} |
| 1442 |
% Selects the Etruscan font family in the T1 encoding. |
| 1443 |
% \begin{macrocode} |
| 1444 |
\newcommand{\etrfamily}{\usefont{T1}{etr}{m}{n}} |
| 1445 |
% \end{macrocode} |
| 1446 |
% \end{macro} |
| 1447 |
% |
| 1448 |
% \begin{macro}{\textetr} |
| 1449 |
% Text command for the Etruscan font family. |
| 1450 |
% \begin{macrocode} |
| 1451 |
\DeclareTextFontCommand{\textetr}{\etrfamily} |
| 1452 |
% \end{macrocode} |
| 1453 |
% \end{macro} |
| 1454 |
% |
| 1455 |
% The commands for the signs. |
| 1456 |
% |
| 1457 |
% \begin{macrocode} |
| 1458 |
|
| 1459 |
\chardef\Aalpha=`a |
| 1460 |
\chardef\Abeta=`b |
| 1461 |
\chardef\Agamma=`g |
| 1462 |
\chardef\Adelta=`d |
| 1463 |
\chardef\Aepsilon=`e |
| 1464 |
\chardef\Adigamma=`F |
| 1465 |
\chardef\Azeta=`z |
| 1466 |
\chardef\Aeta=`h |
| 1467 |
\chardef\Atheta=`T |
| 1468 |
\chardef\Aiota=`i |
| 1469 |
\chardef\Akappa=`k |
| 1470 |
\chardef\Alambda=`l |
| 1471 |
\chardef\Amu=`m |
| 1472 |
\chardef\Anu=`n |
| 1473 |
\chardef\Axi=`x |
| 1474 |
\chardef\Aomicron=`o |
| 1475 |
\chardef\Api=`p |
| 1476 |
\chardef\Aesade=`S |
| 1477 |
\chardef\Aqoph=`q |
| 1478 |
\chardef\Arho=`r |
| 1479 |
\chardef\Asigma=`s |
| 1480 |
\chardef\Atau=`t |
| 1481 |
\chardef\Aupsilon=`y |
| 1482 |
\chardef\Achi=`X |
| 1483 |
\chardef\Aphi=`f |
| 1484 |
\chardef\Apsi=`P |
| 1485 |
\chardef\Avau=`v |
| 1486 |
|
| 1487 |
\chardef\ARalpha=`a |
| 1488 |
\chardef\ARbeta=`B |
| 1489 |
\chardef\ARgamma=`G |
| 1490 |
\chardef\ARdelta=`D |
| 1491 |
\chardef\ARepsilon=`E |
| 1492 |
\chardef\ARdigamma=`U |
| 1493 |
\chardef\ARzeta=`z |
| 1494 |
\chardef\AReta=`H |
| 1495 |
\chardef\ARtheta=`T |
| 1496 |
\chardef\ARiota=`i |
| 1497 |
\chardef\ARkappa=`K |
| 1498 |
\chardef\ARlambda=`L |
| 1499 |
\chardef\ARmu=`M |
| 1500 |
\chardef\ARnu=`N |
| 1501 |
%%%%\chardef\ARxi=`x |
| 1502 |
\chardef\ARxi=`C |
| 1503 |
\chardef\ARomicron=`o |
| 1504 |
\chardef\ARpi=`Q |
| 1505 |
\chardef\AResade=`S |
| 1506 |
\chardef\ARqoph=`q |
| 1507 |
\chardef\ARrho=`R |
| 1508 |
\chardef\ARsigma=`Z |
| 1509 |
\chardef\ARtau=`J |
| 1510 |
\chardef\ARupsilon=`y |
| 1511 |
\chardef\ARchi=`X |
| 1512 |
\chardef\ARphi=`f |
| 1513 |
\chardef\ARpsi=`P |
| 1514 |
\chardef\ARvau=`v |
| 1515 |
|
| 1516 |
% \end{macrocode} |
| 1517 |
% |
| 1518 |
% \begin{macro}{\translitetr} |
| 1519 |
% \begin{macro}{\translitetrfont} |
| 1520 |
% |\translitetr{|\meta{commands}|}| transliterates \meta{commands} using |
| 1521 |
% the |\translitetrfont| font. |
| 1522 |
% \begin{macrocode} |
| 1523 |
\newcommand{\translitetr}[1]{{% |
| 1524 |
\@translitETR #1}} |
| 1525 |
\newcommand{\translitetrfont}{\mathrm} |
| 1526 |
|
| 1527 |
% \end{macrocode} |
| 1528 |
% \end{macro} |
| 1529 |
% \end{macro} |
| 1530 |
% |
| 1531 |
% \begin{macro}{\@translitETR} |
| 1532 |
% This macro redefines all character commands to produce the transliterated |
| 1533 |
% version instead of the glyphs. There must be no spaces in the definition. |
| 1534 |
% \begin{macrocode} |
| 1535 |
\newcommand{\@translitETR}{% |
| 1536 |
\def\Aalpha{\ensuremath{\translitetrfont{A}}}\def\ARalpha{\Aalpha}% |
| 1537 |
\def\Abeta{\ensuremath{\translitetrfont{B}}}\def\ARbeta{\Abeta}% |
| 1538 |
\def\Agamma{\ensuremath{\translitetrfont{G}}}\def\ARgamma{\Agamma}% |
| 1539 |
\def\Adelta{\ensuremath{\translitetrfont{D}}}\def\ARdelta{\Adelta}% |
| 1540 |
\def\Aepsilon{\ensuremath{\translitetrfont{E}}}\def\ARepsilon{\Aepsilon}% |
| 1541 |
\def\Aupsilon{\ensuremath{\translitetrfont{Y}}}\def\ARupsilon{\Aupsilon}% |
| 1542 |
\def\Adigamma{\ensuremath{\translitetrfont{F}}}\def\ARdigamma{\Adigamma}% |
| 1543 |
\def\Azeta{\ensuremath{\translitetrfont{Z}}}\def\ARzeta{\Azeta}% |
| 1544 |
\def\Aeta{\ensuremath{\translitetrfont{H}}}\def\AReta{\Aeta}% |
| 1545 |
\def\Atheta{\ensuremath{\translitetrfont{\Theta}}}\def\ARtheta{\Atheta}% |
| 1546 |
\def\Aiota{\ensuremath{\translitetrfont{I}}}\def\ARiota{\Aiota}% |
| 1547 |
\def\Akappa{\ensuremath{\translitetrfont{K}}}\def\ARkappa{\Akappa}% |
| 1548 |
\def\Alambda{\ensuremath{\translitetrfont{L}}}\def\ARlambda{\Alambda}% |
| 1549 |
\def\Amu{\ensuremath{\translitetrfont{M}}}\def\ARmu{\Amu}% |
| 1550 |
\def\Anu{\ensuremath{\translitetrfont{N}}}\def\ARnu{\Anu}% |
| 1551 |
\def\Axi{\ensuremath{\translitetrfont{\Xi}}}\def\ARxi{\Axi}% |
| 1552 |
\def\Aomicron{\ensuremath{\translitetrfont{O}}}\def\ARomicron{\Aomicron}% |
| 1553 |
\def\Api{\ensuremath{\translitetrfont{P}}}\def\ARpi{\Api}% |
| 1554 |
\def\Aesade{\ensuremath{\translitetrfont{S}}}\def\AResade{\Aesade}% |
| 1555 |
\def\Aqoph{\ensuremath{\translitetrfont{Q}}}\def\ARqoph{\Aqoph}% |
| 1556 |
\def\Arho{\ensuremath{\translitetrfont{R}}}\def\ARrho{\Arho}% |
| 1557 |
\def\Asigma{\ensuremath{\translitetrfont{S}}}\def\ARsigma{\Asigma}% |
| 1558 |
\def\Atau{\ensuremath{\translitetrfont{T}}}\def\ARtau{\Atau}% |
| 1559 |
\def\Achi{\ensuremath{\translitetrfont{X}}}\def\ARchi{\Achi}% |
| 1560 |
\def\Aphi{\ensuremath{\translitetrfont{\Phi}}}\def\ARphi{\Aphi}% |
| 1561 |
\def\Apsi{\ensuremath{\translitetrfont{\Psi}}}\def\ARpsi{\Apsi}% |
| 1562 |
\def\Avau{\ensuremath{\translitetrfont{F}}}\def\ARvau{\Avau}% |
| 1563 |
} |
| 1564 |
|
| 1565 |
% \end{macrocode} |
| 1566 |
% \end{macro} |
| 1567 |
% |
| 1568 |
% |
| 1569 |
% The end of this package. |
| 1570 |
% \begin{macrocode} |
| 1571 |
%</usc> |
| 1572 |
% \end{macrocode} |
| 1573 |
% |
| 1574 |
% |
| 1575 |
% |
| 1576 |
% |
| 1577 |
% \Finale |
| 1578 |
% |
| 1579 |
\endinput |
| 1580 |
|
| 1581 |
%% \CharacterTable |
| 1582 |
%% {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 |
| 1583 |
%% 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 |
| 1584 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 1585 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 1586 |
%% Dollar \$ Percent \% Ampersand \& |
| 1587 |
%% Acute accent \' Left paren \( Right paren \) |
| 1588 |
%% Asterisk \* Plus \+ Comma \, |
| 1589 |
%% Minus \- Point \. Solidus \/ |
| 1590 |
%% Colon \: Semicolon \; Less than \< |
| 1591 |
%% Equals \= Greater than \> Question mark \? |
| 1592 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 1593 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 1594 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 1595 |
%% Right brace \} Tilde \~} |
| 1596 |
|
| 1597 |
|