<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% This implements the Tengwar font
\def\fileversion{1.0}
\def\filedate{1999/04/19}
\def\docdate{1999/04/19}
\NeedsTeXFormat{LaTeX2e}[1998/06/01]
\ProvidesPackage{tengwar}[1999/04/19 Tengwar font]
\RequirePackage[OT1]{fontenc}
%\renewcommand{\rmdefault}{ztg}
\def\rmfontfamilyname{Tengwar}
%
%\input{ot1ztg.fd}
\newcommand{\tengwar}{%
%	\renewcommand{\baselinestretch}{1.2}%
	\fontencoding{OT1}\fontfamily{ztg}%
		\fontseries{m}\fontshape{n}\selectfont%
	\def\a##1{\accent"5E ##1}%
	\def\sh{C}%
	\def\z{\ae}%
	\let\@i\u%
	\def\i##1{\setbox0=\hbox{##1}\dimen0=\ht0% 
		\advance\dimen0 by\dp0% 
		\advance\dimen0 by1ex%
		\raise.47ex\hbox{\begin{tabular}{@{}c@{}}%
			\@i{}\\[-\dimen0 ]##1\end{tabular}}}%
	\let\u\v%
	\let\uu\=%
	\def\m##1{\accent"1E ##1}%
}%
\newcommand{\teng}[1]{{\tengwar#1}}
% eof
</pre></body></html>