% \iffalse meta-comment
% 
% Copyright (C) 2009, 2010 by Nico Schlömer
% 
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.2 of this license or (at your option) any later
% version. The latest version of this license is in:
% 
%    http://www.latex-project.org/lppl.txt
% 
% and version 1.2 or later is part of all distributions of
% LaTeX version 1999/12/01 or later.
%
% \fi
%
% \iffalse
%<style>\NeedsTeXFormat{LaTeX2e}
%<style>\ProvidesPackage{Auto1}
%<style>   [2010/05/11 v0.2 Auto 1 support for LaTeX]
%
%<LY1-LF> \ProvidesFile{LY1Auto1-LF.fd}  [2010/05/11 v0.2 font definitions for LY1/Auto1-LF]
%<LY1-OsF>  \ProvidesFile{LY1Auto1-Osf.fd}   [2010/05/11 v0.2 font definitions for LY1/Auto1-OsF]
%<OT1-LF>\ProvidesFile{OT1Auto1-LF.fd}  [2010/05/11 v0.2 font definitions for OT1/Auto1-LF]
%<OT1-OsF> \ProvidesFile{OT1Auto1-Osf.fd}   [2010/05/11 v0.2 font definitions for OT1/Auto1-OsF]
%<T1-LF> \ProvidesFile{T1Auto1-LF.fd}  [2010/05/11 v0.2 font definitions for T1/Auto1-LF]
%<T1-OsF>  \ProvidesFile{T1Auto1-Osf.fd}   [2010/05/11 v0.2 font definitions for T1/Auto1-OsF]
%
%
%<*driver>
\documentclass{ltxdoc}
\usepackage{Auto1}
%\usepackage{lmodern}
\usepackage{MinionPro}
\usepackage[LY1]{fontenc}
\usepackage[a4paper]{geometry}
\usepackage[expansion=false]{microtype}
% \usepackage[toc,enum,lineno]{tabfigures}
\usepackage[british]{babel}
\usepackage{booktabs,paralist,calc}
\usepackage[unicode,bookmarks]{hyperref}
% \usepackage{fontaxes}
\hypersetup{
  bookmarksnumbered,
  colorlinks=false,
  pdfborder={0 0 0},
  pdftitle={Auto 1 for LaTeX},
  pdfauthor={Nico Schloemer},
  pdfkeywords={LaTeX, font, Auto 1}
}

\IfFileExists{lmodern.sty}{%
\renewcommand{\sfdefault}{lmss}%
\renewcommand{\ttdefault}{lmtt}%
\DeclareMathAlphabet\mathsf{T1}{lmss}{m}{n}%
}{}

\usepackage{csquotes}

\usepackage[%
bibtex8=true,
hyperref=auto
]{biblatex}
\bibliography{Auto1}

\newcommand*\pkg[1]{\mbox{\textsf{#1}}}
\newcommand*\file[1]{\textsf{#1}}
\newcommand*\acro[1]{\textsc{\MakeLowercase{#1}}}
\newcommand\pdfTeX{pdf\TeX}
\pdfstringdefDisableCommands{%
  \renewcommand*\acro[1]{#1}%
}

\makeatletter
\newcommand*\option{\@ifstar\option@default\option@}
\newcommand*\option@default[1]{\option@{#1}*}
\newcommand*\option@[1]{\textsf{#1}}
\makeatother

\setlength{\leftmargini}{1em}
\setlength{\parindent}{1em}
\newcommand\tabindent{\noindent\hspace{\leftmargini}}
\newlength\optionswidth
\providecommand\newblock{}
\newenvironment{options}[1][{\makebox[\optionswidth]{}}]{%
  \settowidth{\optionswidth}{#1}%
  \global\optionswidth=\optionswidth
  \list{}{%
    \setlength{\labelwidth}{\optionswidth}%
    \setlength{\labelsep}{2\tabcolsep}%
    \setlength{\leftmargin}{\leftmargini+\labelwidth+\labelsep}%
    \setlength{\rightmargin}{0pt}%
    \setlength{\topsep}{\medskipamount}%
    \setlength{\parsep}{0pt}%
    \setlength{\itemsep}{0pt}%
    \renewcommand*\makelabel[1]{%
      \parbox[t]{\labelwidth}{\raggedright\hspace{0pt}##1}}%
    \renewcommand\newblock{\medskip}%
    \raggedright
  }%
}{%
  \endlist
}

% redeclare default weights to standard values as the auto package
% might actually change that to non-standard values
\renewcommand\mddefault{m}
\renewcommand\bfdefault{bx}

\newcommand\autoi{Auto~1\texttrademark}

\newcommand{\changefont}[4][LY1]{%
  \fontencoding{#1}\fontfamily{#2}\fontseries{#3}\fontshape{#4}\selectfont%
}

\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}

\EnableCrossrefs
\CodelineIndex
\RecordChanges
% \AtBeginDocument{\OnlyDescription}
\begin{document}
  \DocInput{Auto1.dtx}
  \PrintChanges
\end{document}
%</driver>
% \fi
%
% \changes{v0.2}{2010/05/11}{Adde LY1 encoding, scaling}
% \changes{v0.1}{2009/06/15}{Initial version}
%
% \GetFileInfo{Auto1.sty}
%
% \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ }
% \DoNotIndex{\@ne}
% \DoNotIndex{\advance,\begingroup,\catcode,\closein}
% \DoNotIndex{\closeout,\day,\def,\edef,\else,\empty,\endgroup}
%
% \title{Auto~1 support for \LaTeX}
% \author{Nico~Schl\"omer}
% \date{\fileversion\ -- \filedate}
%
% \maketitle
%
% \tableofcontents
%
% \section{Overview}
% The \pkg{Auto1} package provides support for the \autoi{} font family by Underware
% \cite{Underware::ATI}. You can use
% this font in a \LaTeX{} document by adding the command
% \begin{quote}
%   |\usepackage{Auto1}|
% \end{quote}
% to the preamble. This will change both the sans-serif text font and the sans-serif math font to \autoi. If
% you prefer another math font, use the option \option{onlytext} as explained
% in Section~\ref{sec:Options}.
% You can set \LaTeX{} to use the standard sans-serif font (|\sfdefault|, being \autoi{} after loading \pkg{Auto1}) as standard font throughout
% the whole document by
% \begin{quote}
%   |\renewcommand\familydefault{\sfdefault}|
% \end{quote}
%
% Samples of the \autoi{} can be found in appendix~\ref{app:sec:fontsamples}.
%
% \subsubsection{Encoding and kerning}
% Note that, as usual with \acro{OT1} encoded fonts, kerning (and ligatures) with accented characters are treated poorly, if at all. Note difference in kerning between
% \begin{quote}
% \begin{tabular}{l@{\:}l}
% \acro{OT1}-encoded: &{\changefont[OT1]{Auto1-LF}{m}{n}To Ta T\'e},\\
% \acro{LY1}-encoded: &{\changefont[LY1]{Auto1-LF}{m}{n}To Ta T\'e}.
% \end{tabular}
% \end{quote}
% It is therefore advised to always use the \pkg{Auto1} package in either \acro{LY1} or \acro{T1} encoding. This is the default configuration. Also note that certain common symbols such as |\texteuro| ({\changefont[LY1]{Auto1-LF}{m}{n}\texteuro}) and |\textyen| ({\changefont[LY1]{Auto1-LF}{m}{n}\textyen}) are only available in \acro{LY1} encoding.
%
% \section{Interference with other fonts}
% \label{sec:Interferences}
%
% In its \option{light} variant (see options below), the package redefines \LaTeX{} default weights for regular and bold text |\mddefault|, |\bfdefault| to |l|, |b|, which differs from the default |m|, |bx|. When \autoi{} is used in conjuction with other fonts, their weights will hence also be adjusted. If the other font does \emph{not} include a |b| weight, for example, \LaTeX{} may fall back to a non-bold alternative.
%
% In the \option{regular} variant of \autoi{}, the default weights are employed.
%
%
% \section{Options}\label{sec:Options}
%
% The default settings are marked with an asterisk*.
%
% \subsubsection*{Font selection}
%
% The following options specify which version of the font you prefer to use.
% 
% \begin{options}[\option{proportional}, \option{prop}]
% \item[\option*{regular}]  use regular face
% \item[\option{light}]    use light face
% \end{options}
% The package also provides a way to only change the text fonts or only the math fonts.
% \begin{options}[\option{proportional}, \option{prop}]
% \item[\option{onlytext}]  only change the text fonts
% \item[\option{onlymath}]  only change the math fonts
% \end{options}
%
%
% \subsubsection*{Figure selection}
%
% \autoi{} offers two different figure versions. A detailed description is given in
% Section~\ref{sec:fig}.
% The default version can be selected by the following options:
% 
% \begin{options}
% \item[\option{textosf}]     use text figures in text mode
% \item[\option{mathosf}]     use text figures in math mode
% \item[\option*{osf}]        use text figures in text and math mode
% \newblock
% \item[\option{textlf}]      use lining figures in text mode
% \item[\option{mathlf}]      use lining figures in math mode
% \item[\option{lf}]          use lining figures in text and math mode
% \end{options}
%
%
% \subsubsection*{Font scaling}
%
% The font can be up- and downscaled by any factor. This can be used to make \autoi{} more friendly when used in company with other type faces, e.g., to adapt the the x-height.
%
% \begin{options}
% \item[\option*{scaled=1.0}]  scale the font by a factor 1.0 (any positive real number permitted)
% \end{options}
% To preserve the characteristics of the font, it is recommended to downscale by no less than a factor of 0.95, and upscale by no more than a factor of 1.05.
%
% \section{Figure selection}\label{sec:fig}
%
% \autoi{} offers two different figure versions. One can choose between
% \emph{text figures} (lowercase figures) and \emph{lining figures} (uppercase figures); both variants ship only in their proportional variants,
% tabular variants are \emph{not} provided.
%
% \medskip\tabindent
% \begin{tabular}{@{}lll@{}}
% \toprule
%                & text figures & lining figures\\
% \midrule
%   proportional & {\fontfamily{Auto1-LF}\selectfont\figureversion{osf}0123456789 \texteuro\$\textyen}   & {\fontfamily{Auto1-LF}\selectfont\figureversion{lf}0123456789 \texteuro\$\textyen}\\
% \bottomrule
% \end{tabular}
%
% \medskip\noindent
% The |\figureversion| command of the \pkg{fontaxes} package (part of the \pkg{MinionPro} package) can be used to switch between
% different figure versions. Possible parameters are:
%
% \begin{options}
% \item[\option{text}, \option{osf}]          text figures
% \item[\option{lining}, \option{lf}]         lining figures
% \end{options}
%
%
% \section{\acro{NFSS} classification}
%
% Parenthesised combinations are provided via substitutions.
%
% \nobreak\medskip\noindent
% \begingroup
% \centering\let\>=\\%
% \begin{tabular}{@{}p{7.5em}p{7em}lp{9em}@{}}
%   \toprule
%   encoding & family & series & shape \\
%   \midrule
%   \raggedright \acro{OT1}, \acro{T1}, \acro{LY1} &
%   |Auto1-LF|, |Auto1-OsF| &
%   m, eb (bx), l, b &
%   n, it (sl), sc, si\\
%   \bottomrule
% \end{tabular}\par
% \endgroup
%
%
% \section{Version history}
%
% Version 0.2: Added \acro{LY1} encoding, scaling\\[\medskipamount]
% Version 0.1: Initial release\\
%
%
% \StopEventually{\PrintIndex}
%
%
% \clearpage
% \appendix
% \section{Font samples}\label{app:sec:fontsamples}
%
% See table~\ref{tab:fontsamples} for samples of all weights and variants of \autoi.
%
% \begin{table}
% \centering
% \newcommand\quickfox{The quick brown fox jumps over the lazy dog. 0123456789}
% \newcommand\ligatures{ff fl fi To AV \'e \`a \"a \"o \"u \"{i} \oe{} \ae{} \ss{} \texteuro{} \${} \textyen{} - -- --- ?`? \% \& @}
% \begin{tabular}{lll}\toprule
% weight  & shape  & sample\\\midrule
% light   & upright           & {\changefont{Auto1-LF}{l}{n}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{l}{n}\ligatures}\\
%         & italic            & {\changefont{Auto1-LF}{l}{it}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{l}{it}\ligatures}\\
%         & small caps        & {\changefont{Auto1-LF}{l}{sc}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{l}{sc}\ligatures}\\
%         & italic small caps & {\changefont{Auto1-LF}{l}{si}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{l}{si}\ligatures}\\\midrule
% regular & upright           & {\changefont{Auto1-LF}{m}{n}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{m}{n}\ligatures}\\
%         & italic            & {\changefont{Auto1-LF}{m}{it}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{m}{it}\ligatures}\\
%         & small caps        & {\changefont{Auto1-LF}{m}{sc}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{m}{sc}\ligatures}\\
%         & italic small caps & {\changefont{Auto1-LF}{m}{si}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{m}{si}\ligatures}\\\midrule
% bold    & upright           & {\changefont{Auto1-LF}{bx}{n}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{b}{n}\ligatures}\\
%         & italic            & {\changefont{Auto1-LF}{b}{it}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{b}{it}\ligatures}\\
%         & small caps        & {\changefont{Auto1-LF}{b}{sc}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{b}{sc}\ligatures}\\
%         & italic small caps & {\changefont{Auto1-LF}{b}{si}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{b}{si}\ligatures}\\\midrule
% black   & upright           & {\changefont{Auto1-LF}{eb}{n}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{eb}{n}\ligatures}\\
%         & italic            & {\changefont{Auto1-LF}{eb}{it}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{eb}{it}\ligatures}\\
%         & small caps        & {\changefont{Auto1-LF}{eb}{sc}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{eb}{sc}\ligatures}\\
%         & italic small caps & {\changefont{Auto1-LF}{eb}{si}\quickfox}\\
%         &                   & {\changefont{Auto1-LF}{eb}{si}\ligatures}\\\bottomrule
% \end{tabular}
% 
% \caption{Samples of all the available weights. Note that all regular and italic versions are
%  available with old-style figures as well.}
% \label{tab:fontsamples}
% \end{table}
%
% \subsubsection{Regular weight with black highlight}
% \begin{quote}
%   \fontfamily{Auto1-LF}\selectfont
% Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat
% ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac {\changefont{Auto1-LF}{eb}{n}turpis egestas}. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor
% gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem
% vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac,
% nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accum-
% san eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.
% \end{quote}
%
% \subsubsection{Light weight with bold highlight}
% \begin{quote}
%   \fontfamily{Auto1-LF}\fontseries{l}\selectfont
% Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat
% ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac {\changefont{Auto1-LF}{b}{n}turpis egestas}. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor
% gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem
% vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac,
% nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accum-
% san eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.
% \end{quote}
%
%
% \clearpage
% \section{Implementation}
%
% \subsection{The main style file}
%
%    \begin{macrocode}
%<*style>

\RequirePackage[T1,LY1]{fontenc}

%    \end{macrocode}
% \subsubsection{Options}
% If possible, pull in the \textsf{xkeyval} package for handling of the |scaling| argument. Using |\DeclareOptionX| instead of |\DeclareOption| makes it possible to pass values to options.
%    \begin{macrocode}
\IfFileExists{xkeyval.sty}{
    \newcommand*{\AutoOne@scale}{1}
    \RequirePackage{xkeyval}
    \DeclareOptionX{scaled}{\renewcommand*{\AutoOne@scale}{##1}}
}{
    \let\DeclareOptionX\DeclareOption
    \let\ExecuteOptionsX\ExecuteOptions
    \let\ProcessOptionsX\ProcessOptions
}

%    \end{macrocode}
%
%    \begin{macrocode}
\newif\if@AutoOne@Text@
\newif\if@AutoOne@Math@
\@AutoOne@Text@true
\@AutoOne@Math@true
\DeclareOptionX{onlytext}{\@AutoOne@Text@true\@AutoOne@Math@false}
\DeclareOptionX{onlymath}{\@AutoOne@Text@false\@AutoOne@Math@true}

%    \end{macrocode}
%
%
% \paragraph{Figure style}
%
% Define options for lining figures (|lf|) and old-style figures (|osf|), and
% offer more fine-grained control over figure styles in text vs. math mode.
%
%    \begin{macrocode}
\DeclareOptionX{textlf}{\def\AutoOne@Text@Fig{-LF}}
\DeclareOptionX{mathlf}{\def\AutoOne@Math@Fig{-LF}}
\DeclareOptionX{lf}{\ExecuteOptionsX{textlf,mathlf}}
%    \end{macrocode}
% Options for old-style figures:
%    \begin{macrocode}
\DeclareOptionX{textosf}{\def\AutoOne@Text@Fig{-OsF}}
\DeclareOptionX{mathosf}{\def\AutoOne@Math@Fig{-OsF}}
\DeclareOptionX{osf}{\ExecuteOptionsX{textosf,mathosf}}
%    \end{macrocode}
% Use old-style figures (|osf|) by default.
%    \begin{macrocode}
\ExecuteOptionsX{osf}

%    \end{macrocode}
% Define variables for text and math family.
%    \begin{macrocode}
\newcommand\AutoOne@Text@Family{Auto1\AutoOne@Text@Fig}
\newcommand\AutoOne@Math@Family{Auto1\AutoOne@Math@Fig}

%    \end{macrocode}
%
% \paragraph{Weight options}
% Declare options. Regular weights go with `black' (|eb|) as bold variant (see \cite{Underware::AWC}); |eb| is however |ssub|ed to |bx| to enhance compatibility with other fonts; |bx| is the default bold font, so redefining the |\bfdefault| family will do nothing unexpected here.
%    \begin{macrocode}
\DeclareOptionX{regular}{
  \def\AutoOne@Text@Regular{m}
  \def\AutoOne@Text@Bold{bx}
}
%    \end{macrocode}
% Declare options. Lights weights go with `bold extended' as bold variant (see \cite{Underware::AWC}).
%    \begin{macrocode}
\DeclareOptionX{light}{
  \def\AutoOne@Text@Regular{l}
  \def\AutoOne@Text@Bold{b}
}
%    \end{macrocode}
% Use the regular weight variant as default.
%    \begin{macrocode}
\ExecuteOptionsX{regular}

%    \end{macrocode}
%
% \paragraph{Defaults}
% It is actually somewhat disputable to redeclare |\mddefault| and |\bfdefault| here, as when \autoi{} is used together with other fonts that might not have the |\AutoOne@Text@Regular| and |\AutoOne@Text@Bold| shapes, defaults will get substituted which might not match. This is particularly often the case for bold shape of regular \autoi{}, |eb| (black).
%
% A different solution which would include no redeclarations of the default weights is to create two distinct font families, |fa1-regular| and |fa1-light|, both of which declare the (standard) |m| and |bx| weights.
%
%    \begin{macrocode}
\renewcommand\mddefault{\AutoOne@Text@Regular}
\renewcommand\bfdefault{\AutoOne@Text@Bold}

\ProcessOptionsX\relax

%    \end{macrocode}
% By default, \autoi{} is declared the standard font for sans-serif text.
%    \begin{macrocode}
\if@AutoOne@Text@
  \renewcommand*{\sfdefault}{\AutoOne@Text@Family}
\fi

%    \end{macrocode}
%
%
% \subsubsection{Font declarations}
%
% \paragraph{Math fonts}
%
% Redefine the standard math versions |normal| and |bold|.
%    \begin{macrocode}
\if@AutoOne@Math@
  \newcommand\AutoOne@Math@LetterShape{it}
  \DeclareSymbolFont{operators}  {OT1} {\AutoOne@Math@Family}{\AutoOne@Text@Regular} {n}
%   \DeclareSymbolFont{letters}    {OML}{MinionPro-TOsF} {m} {\AutoOne@Math@LetterShape}
  \DeclareSymbolFont{letters}    {T1} {\AutoOne@Math@Family}{\AutoOne@Text@Regular} {\AutoOne@Math@LetterShape}
  \SetSymbolFont{operators}{bold}{OT1}{\AutoOne@Math@Family}{\AutoOne@Text@Bold}{n}
%   \SetSymbolFont{letters}  {bold}{OML}{MinionPro-TOsF} {eb}{\AutoOne@Math@LetterShape}
  \SetSymbolFont{letters}  {bold}{T1} {\AutoOne@Math@Family}{\AutoOne@Text@Bold}{\AutoOne@Math@LetterShape}
  \DeclareMathAlphabet\mathbf    {T1} {\AutoOne@Math@Family}{\AutoOne@Text@Bold}{n}
  \DeclareMathAlphabet\mathit    {T1} {\AutoOne@Math@Family}{\AutoOne@Text@Regular}{it}
  \SetMathAlphabet\mathit  {bold}{T1} {\AutoOne@Math@Family}{\AutoOne@Text@Bold}{it}
%    \end{macrocode}
%
%    \begin{macrocode}
  \DeclareMathAccent{\grave}   {\mathalpha}{operators}{0}
  \DeclareMathAccent{\acute}   {\mathalpha}{operators}{1}
  \DeclareMathAccent{\hat}     {\mathalpha}{operators}{2}
  \DeclareMathAccent{\tilde}   {\mathalpha}{operators}{3}
  \DeclareMathAccent{\ddot}    {\mathalpha}{operators}{4}
  \DeclareMathAccent{\mathring}{\mathalpha}{operators}{6}
  \DeclareMathAccent{\check}   {\mathalpha}{operators}{7}
  \DeclareMathAccent{\breve}   {\mathalpha}{operators}{8}
  \DeclareMathAccent{\bar}     {\mathalpha}{operators}{9}
  \DeclareMathAccent{\dot}     {\mathalpha}{operators}{10}
\fi
%</style>
%    \end{macrocode}
%
%
% \subsection{The font definition files}
%
% \subsubsection{\acro{LY1} (\TeX{} 'n ANSI) encoding with old-style figures}
%
% Handle the scaling argument.
%    \begin{macrocode}
%<*LY1-OsF>

\expandafter\ifx\csname AutoOne@scale\endcsname\relax
    \let\AutoOne@@scale\@empty
\else
    \edef\AutoOne@@scale{s*[\csname AutoOne@scale\endcsname]}%
\fi

%    \end{macrocode}
% Define the fonts.
%    \begin{macrocode}
\DeclareFontFamily{LY1}{Auto1-OsF}{}

\DeclareFontShape{LY1}{Auto1-OsF}{b} {it}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{b} {n} { <-> \AutoOne@@scale Underware-Auto1-Bold-OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{b} {sc}{ <-> \AutoOne@@scale Underware-Auto1-Bold-SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{b} {si}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{eb}{it}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{eb}{n} { <-> \AutoOne@@scale Underware-Auto1-Black-OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{eb}{sc}{ <-> \AutoOne@@scale Underware-Auto1-Black-SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{eb}{si}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{l} {it}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{l} {n} { <-> \AutoOne@@scale Underware-Auto1-Light-OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{l} {sc}{ <-> \AutoOne@@scale Underware-Auto1-Light-SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{l} {si}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{m} {it}{ <-> \AutoOne@@scale Underware-Auto1-Italic=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{m} {n} { <-> \AutoOne@@scale Underware-Auto1-OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{m} {sc}{ <-> \AutoOne@@scale Underware-Auto1-SmallCaps=OsF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-OsF}{m} {si}{ <-> \AutoOne@@scale Underware-Auto1-Italic=SmallCaps=OsF-TeXnANSI }{}

%    \end{macrocode}
% Substitute slanted versions (|sl|) for italics.
%    \begin{macrocode}
\DeclareFontShape{LY1}{Auto1-OsF}{b} {sl}{ <-> ssub * Auto1-OsF/b/it }{}
\DeclareFontShape{LY1}{Auto1-OsF}{eb}{sl}{ <-> ssub * Auto1-OsF/eb/it }{}
\DeclareFontShape{LY1}{Auto1-OsF}{l} {sl}{ <-> ssub * Auto1-OsF/l/it }{}
\DeclareFontShape{LY1}{Auto1-OsF}{m} {sl}{ <-> ssub * Auto1-OsF/m/it }{}
%    \end{macrocode}
% Let bold extended (|bx|) be an alias for black (|b|).
%    \begin{macrocode}
\DeclareFontShape{LY1}{Auto1-OsF}{bx}{it}{ <-> ssub * Auto1-OsF/eb/it }{}
\DeclareFontShape{LY1}{Auto1-OsF}{bx}{sl}{ <-> ssub * Auto1-OsF/bx/it }{}
\DeclareFontShape{LY1}{Auto1-OsF}{bx}{n} { <-> ssub * Auto1-OsF/eb/n }{}
\DeclareFontShape{LY1}{Auto1-OsF}{bx}{sc}{ <-> ssub * Auto1-OsF/eb/sc }{}
\DeclareFontShape{LY1}{Auto1-OsF}{bx}{si}{ <-> ssub * Auto1-OsF/eb/si }{}
%</LY1-OsF>
%    \end{macrocode}
%
% \subsubsection{\acro{LY1} (\TeX{} 'n ANSI) encoding with lining figures}
%
% Handle the scaling argument.
%    \begin{macrocode}
%<*LY1-LF>

\expandafter\ifx\csname AutoOne@scale\endcsname\relax
    \let\AutoOne@@scale\@empty
\else
    \edef\AutoOne@@scale{s*[\csname AutoOne@scale\endcsname]}%
\fi

%    \end{macrocode}
% Define the fonts.
%    \begin{macrocode}
\DeclareFontFamily{LY1}{Auto1-LF}{}

\DeclareFontShape{LY1}{Auto1-LF}{b} {it}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{b} {n} { <-> \AutoOne@@scale Underware-Auto1-Bold-LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{eb}{it}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{eb}{n} { <-> \AutoOne@@scale Underware-Auto1-Black-LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{l} {it}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{l} {n} { <-> \AutoOne@@scale Underware-Auto1-Light-LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{m} {it}{ <-> \AutoOne@@scale Underware-Auto1-Italic=LF-TeXnANSI }{}
\DeclareFontShape{LY1}{Auto1-LF}{m} {n} { <-> \AutoOne@@scale Underware-Auto1-LF-TeXnANSI }{}

%    \end{macrocode}
% Substitute small caps (|sc|) and italic small caps (|si|) by their
% old-style figure equivalents. Small caps only ship in one font variant anyway.
%    \begin{macrocode}

\DeclareFontShape{LY1}{Auto1-LF}{b} {sc}{ <-> ssub * Auto1-OsF/b/sc }{}
\DeclareFontShape{LY1}{Auto1-LF}{b} {si}{ <-> ssub * Auto1-OsF/b/si }{}
\DeclareFontShape{LY1}{Auto1-LF}{eb}{sc}{ <-> ssub * Auto1-OsF/eb/sc }{}
\DeclareFontShape{LY1}{Auto1-LF}{eb}{si}{ <-> ssub * Auto1-OsF/eb/si }{}
\DeclareFontShape{LY1}{Auto1-LF}{l} {sc}{ <-> ssub * Auto1-OsF/l/sc }{}
\DeclareFontShape{LY1}{Auto1-LF}{l} {si}{ <-> ssub * Auto1-OsF/l/si }{}
\DeclareFontShape{LY1}{Auto1-LF}{m} {sc}{ <-> ssub * Auto1-OsF/m/sc }{}
\DeclareFontShape{LY1}{Auto1-LF}{m} {si}{ <-> ssub * Auto1-OsF/m/si }{}

%    \end{macrocode}
% Substitute slanted versions (|sl|) for italics.
%    \begin{macrocode}
\DeclareFontShape{LY1}{Auto1-LF}{b} {sl}{ <-> ssub * Auto1-LF/b/it }{}
\DeclareFontShape{LY1}{Auto1-LF}{eb}{sl}{ <-> ssub * Auto1-LF/eb/it }{}
\DeclareFontShape{LY1}{Auto1-LF}{l} {sl}{ <-> ssub * Auto1-LF/l/it }{}
\DeclareFontShape{LY1}{Auto1-LF}{m} {sl}{ <-> ssub * Auto1-LF/m/it }{}
%    \end{macrocode}
% Let bold extended (|bx|) be an alias for black (|eb|).
%    \begin{macrocode}
\DeclareFontShape{LY1}{Auto1-LF}{bx}{it}{ <-> ssub * Auto1-LF/eb/it }{}
\DeclareFontShape{LY1}{Auto1-LF}{bx}{sl}{ <-> ssub * Auto1-LF/bx/it }{}
\DeclareFontShape{LY1}{Auto1-LF}{bx}{n} { <-> ssub * Auto1-LF/eb/n }{}
\DeclareFontShape{LY1}{Auto1-LF}{bx}{sc}{ <-> ssub * Auto1-LF/eb/sc }{}
\DeclareFontShape{LY1}{Auto1-LF}{bx}{si}{ <-> ssub * Auto1-LF/eb/si }{}
%</LY1-LF>
%    \end{macrocode}
%
%
% \subsubsection{\acro{OT1} (\TeX{} text) encoding with old-style figures}
%
% Handle the scaling argument.
%    \begin{macrocode}
%<*OT1-OsF>

\expandafter\ifx\csname AutoOne@scale\endcsname\relax
    \let\AutoOne@@scale\@empty
\else
    \edef\AutoOne@@scale{s*[\csname AutoOne@scale\endcsname]}%
\fi

%    \end{macrocode}
% Define the fonts.
%    \begin{macrocode}
\DeclareFontFamily{OT1}{Auto1-OsF}{}

\DeclareFontShape{OT1}{Auto1-OsF}{b} {it}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{b} {n} { <-> \AutoOne@@scale Underware-Auto1-Bold-OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{b} {sc}{ <-> \AutoOne@@scale Underware-Auto1-Bold-SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{b} {si}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{eb}{it}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{eb}{n} { <-> \AutoOne@@scale Underware-Auto1-Black-OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{eb}{sc}{ <-> \AutoOne@@scale Underware-Auto1-Black-SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{eb}{si}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{l} {it}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{l} {n} { <-> \AutoOne@@scale Underware-Auto1-Light-OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{l} {sc}{ <-> \AutoOne@@scale Underware-Auto1-Light-SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{l} {si}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{m} {it}{ <-> \AutoOne@@scale Underware-Auto1-Italic=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{m} {n} { <-> \AutoOne@@scale Underware-Auto1-OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{m} {sc}{ <-> \AutoOne@@scale Underware-Auto1-SmallCaps=OsF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-OsF}{m} {si}{ <-> \AutoOne@@scale Underware-Auto1-Italic=SmallCaps=OsF-TeXText }{}

%    \end{macrocode}
% Substitute slanted versions (|sl|) for italics.
%    \begin{macrocode}
\DeclareFontShape{OT1}{Auto1-OsF}{b} {sl}{ <-> ssub * Auto1-OsF/b/it }{}
\DeclareFontShape{OT1}{Auto1-OsF}{eb}{sl}{ <-> ssub * Auto1-OsF/eb/it }{}
\DeclareFontShape{OT1}{Auto1-OsF}{l} {sl}{ <-> ssub * Auto1-OsF/l/it }{}
\DeclareFontShape{OT1}{Auto1-OsF}{m} {sl}{ <-> ssub * Auto1-OsF/m/it }{}

%    \end{macrocode}
% Let bold extended (|bx|) be an alias for black (|eb|).
%    \begin{macrocode}
\DeclareFontShape{OT1}{Auto1-OsF}{bx}{it}{ <-> ssub * Auto1-OsF/eb/it }{}
\DeclareFontShape{OT1}{Auto1-OsF}{bx}{sl}{ <-> ssub * Auto1-OsF/bx/it }{}
\DeclareFontShape{OT1}{Auto1-OsF}{bx}{n} { <-> ssub * Auto1-OsF/eb/n }{}
\DeclareFontShape{OT1}{Auto1-OsF}{bx}{sc}{ <-> ssub * Auto1-OsF/eb/sc }{}
\DeclareFontShape{OT1}{Auto1-OsF}{bx}{si}{ <-> ssub * Auto1-OsF/eb/si }{}

%</OT1-OsF>
%    \end{macrocode}
%
% \subsubsection{\acro{OT1} (\TeX{} text) encoding with lining figures}
%
% Handle the scaling argument.
%    \begin{macrocode}
%<*OT1-LF>

\expandafter\ifx\csname AutoOne@scale\endcsname\relax
    \let\AutoOne@@scale\@empty
\else
    \edef\AutoOne@@scale{s*[\csname AutoOne@scale\endcsname]}%
\fi

%    \end{macrocode}
% Define the fonts.
%    \begin{macrocode}
\DeclareFontFamily{OT1}{Auto1-LF}{}

\DeclareFontShape{OT1}{Auto1-LF}{b} {it}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{b} {n} { <-> \AutoOne@@scale Underware-Auto1-Bold-LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{eb}{it}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{eb}{n} { <-> \AutoOne@@scale Underware-Auto1-Black-LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{l} {it}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{l} {n} { <-> \AutoOne@@scale Underware-Auto1-Light-LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{m} {it}{ <-> \AutoOne@@scale Underware-Auto1-Italic=LF-TeXText }{}
\DeclareFontShape{OT1}{Auto1-LF}{m} {n} { <-> \AutoOne@@scale Underware-Auto1-LF-TeXText }{}

%    \end{macrocode}
% Substitute small caps (|sc|) and italic small caps (|si|) by their
% old-style figure equivalents. Small caps only ship in one font variant anyway.
%    \begin{macrocode}
\DeclareFontShape{OT1}{Auto1-LF}{b} {sc}{ <-> ssub * Auto1-OsF/b/sc }{}
\DeclareFontShape{OT1}{Auto1-LF}{b} {si}{ <-> ssub * Auto1-OsF/b/si }{}
\DeclareFontShape{OT1}{Auto1-LF}{eb}{sc}{ <-> ssub * Auto1-OsF/eb/sc }{}
\DeclareFontShape{OT1}{Auto1-LF}{eb}{si}{ <-> ssub * Auto1-OsF/eb/si }{}
\DeclareFontShape{OT1}{Auto1-LF}{l} {sc}{ <-> ssub * Auto1-OsF/l/sc }{}
\DeclareFontShape{OT1}{Auto1-LF}{l} {si}{ <-> ssub * Auto1-OsF/l/si }{}
\DeclareFontShape{OT1}{Auto1-LF}{m} {sc}{ <-> ssub * Auto1-OsF/m/sc }{}
\DeclareFontShape{OT1}{Auto1-LF}{m} {si}{ <-> ssub * Auto1-OsF/m/si }{}

%    \end{macrocode}
% Substitute slanted versions (|sl|) for italics.
%    \begin{macrocode}
\DeclareFontShape{OT1}{Auto1-LF}{b} {sl}{ <-> ssub * Auto1-LF/b/it }{}
\DeclareFontShape{OT1}{Auto1-LF}{eb}{sl}{ <-> ssub * Auto1-LF/eb/it }{}
\DeclareFontShape{OT1}{Auto1-LF}{l} {sl}{ <-> ssub * Auto1-LF/l/it }{}
\DeclareFontShape{OT1}{Auto1-LF}{m} {sl}{ <-> ssub * Auto1-LF/m/it }{}

%    \end{macrocode}
% Let bold extended (|bx|) be an alias for black (|eb|).
%    \begin{macrocode}
\DeclareFontShape{OT1}{Auto1-LF}{bx}{it}{ <-> ssub * Auto1-LF/eb/it }{}
\DeclareFontShape{OT1}{Auto1-LF}{bx}{sl}{ <-> ssub * Auto1-LF/bx/it }{}
\DeclareFontShape{OT1}{Auto1-LF}{bx}{n} { <-> ssub * Auto1-LF/eb/n }{}
\DeclareFontShape{OT1}{Auto1-LF}{bx}{sc}{ <-> ssub * Auto1-LF/eb/sc }{}
\DeclareFontShape{OT1}{Auto1-LF}{bx}{si}{ <-> ssub * Auto1-LF/eb/si }{}

%</OT1-LF>
%    \end{macrocode}
% \subsubsection{\acro{T1} (Cork) encoding with old-style figures}
%
% Handle the scaling argument.
%    \begin{macrocode}
%<*T1-OsF>

\expandafter\ifx\csname AutoOne@scale\endcsname\relax
    \let\AutoOne@@scale\@empty
\else
    \edef\AutoOne@@scale{s*[\csname AutoOne@scale\endcsname]}%
\fi

%    \end{macrocode}
% Define the fonts.
%    \begin{macrocode}
\DeclareFontFamily{T1}{Auto1-OsF}{}

\DeclareFontShape{T1}{Auto1-OsF}{b} {it}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{b} {n} { <-> \AutoOne@@scale Underware-Auto1-Bold-OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{b} {sc}{ <-> \AutoOne@@scale Underware-Auto1-Bold-SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{b} {si}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{eb}{it}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{eb}{n} { <-> \AutoOne@@scale Underware-Auto1-Black-OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{eb}{sc}{ <-> \AutoOne@@scale Underware-Auto1-Black-SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{eb}{si}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{l} {it}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{l} {n} { <-> \AutoOne@@scale Underware-Auto1-Light-OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{l} {sc}{ <-> \AutoOne@@scale Underware-Auto1-Light-SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{l} {si}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{m} {it}{ <-> \AutoOne@@scale Underware-Auto1-Italic=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{m} {n} { <-> \AutoOne@@scale Underware-Auto1-OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{m} {sc}{ <-> \AutoOne@@scale Underware-Auto1-SmallCaps=OsF-Cork }{}
\DeclareFontShape{T1}{Auto1-OsF}{m} {si}{ <-> \AutoOne@@scale Underware-Auto1-Italic=SmallCaps=OsF-Cork }{}

%    \end{macrocode}
% Substitute slanted versions (|sl|) for italics.
%    \begin{macrocode}
\DeclareFontShape{T1}{Auto1-OsF}{b} {sl}{ <-> ssub * Auto1-OsF/b/it }{}
\DeclareFontShape{T1}{Auto1-OsF}{eb}{sl}{ <-> ssub * Auto1-OsF/eb/it }{}
\DeclareFontShape{T1}{Auto1-OsF}{l} {sl}{ <-> ssub * Auto1-OsF/l/it }{}
\DeclareFontShape{T1}{Auto1-OsF}{m} {sl}{ <-> ssub * Auto1-OsF/m/it }{}

%    \end{macrocode}
% Let bold extended (|bx|) be an alias for black (|eb|).
%    \begin{macrocode}
\DeclareFontShape{T1}{Auto1-OsF}{bx}{it}{ <-> ssub * Auto1-OsF/eb/it }{}
\DeclareFontShape{T1}{Auto1-OsF}{bx}{sl}{ <-> ssub * Auto1-OsF/bx/it }{}
\DeclareFontShape{T1}{Auto1-OsF}{bx}{n} { <-> ssub * Auto1-OsF/eb/n }{}
\DeclareFontShape{T1}{Auto1-OsF}{bx}{sc}{ <-> ssub * Auto1-OsF/eb/sc }{}
\DeclareFontShape{T1}{Auto1-OsF}{bx}{si}{ <-> ssub * Auto1-OsF/eb/si }{}

%</T1-OsF>
%    \end{macrocode}
%
% \subsubsection{\acro{T1} (Cork) encoding with lining figures}
%
% Handle the scaling argument.
%    \begin{macrocode}
%<*T1-LF>

\expandafter\ifx\csname AutoOne@scale\endcsname\relax
    \let\AutoOne@@scale\@empty
\else
    \edef\AutoOne@@scale{s*[\csname AutoOne@scale\endcsname]}%
\fi

%    \end{macrocode}
% Define the fonts.
%    \begin{macrocode}
\DeclareFontFamily{T1}{Auto1-LF}{}

\DeclareFontShape{T1}{Auto1-LF}{b} {it}{ <-> \AutoOne@@scale Underware-Auto1-Bold-Italic=LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{b} {n} { <-> \AutoOne@@scale Underware-Auto1-Bold-LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{eb}{it}{ <-> \AutoOne@@scale Underware-Auto1-Black-Italic=LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{eb}{n} { <-> \AutoOne@@scale Underware-Auto1-Black-LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{l} {it}{ <-> \AutoOne@@scale Underware-Auto1-Light-Italic=LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{l} {n} { <-> \AutoOne@@scale Underware-Auto1-Light-LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{m} {it}{ <-> \AutoOne@@scale Underware-Auto1-Italic=LF-Cork }{}
\DeclareFontShape{T1}{Auto1-LF}{m} {n} { <-> \AutoOne@@scale Underware-Auto1-LF-Cork }{}

%    \end{macrocode}
% Substitute small caps (|sc|) and italic small caps (|si|) by their
% old-style figure equivalents. Small caps only ship in one font variant anyway.
%    \begin{macrocode}
\DeclareFontShape{T1}{Auto1-LF}{b} {sc}{ <-> ssub * Auto1-OsF/b/sc }{}
\DeclareFontShape{T1}{Auto1-LF}{b} {si}{ <-> ssub * Auto1-OsF/b/si }{}
\DeclareFontShape{T1}{Auto1-LF}{eb}{sc}{ <-> ssub * Auto1-OsF/eb/sc }{}
\DeclareFontShape{T1}{Auto1-LF}{eb}{si}{ <-> ssub * Auto1-OsF/eb/si }{}
\DeclareFontShape{T1}{Auto1-LF}{l} {sc}{ <-> ssub * Auto1-OsF/l/sc }{}
\DeclareFontShape{T1}{Auto1-LF}{l} {si}{ <-> ssub * Auto1-OsF/l/si }{}
\DeclareFontShape{T1}{Auto1-LF}{m} {sc}{ <-> ssub * Auto1-OsF/m/sc }{}
\DeclareFontShape{T1}{Auto1-LF}{m} {si}{ <-> ssub * Auto1-OsF/m/si }{}

%    \end{macrocode}
% Substitute slanted versions (|sl|) for italics.
%    \begin{macrocode}
\DeclareFontShape{T1}{Auto1-LF}{b} {sl}{ <-> ssub * Auto1-LF/b/it }{}
\DeclareFontShape{T1}{Auto1-LF}{eb}{sl}{ <-> ssub * Auto1-LF/eb/it }{}
\DeclareFontShape{T1}{Auto1-LF}{l} {sl}{ <-> ssub * Auto1-LF/l/it }{}
\DeclareFontShape{T1}{Auto1-LF}{m} {sl}{ <-> ssub * Auto1-LF/m/it }{}

%    \end{macrocode}
% Let bold extended (|bx|) be an alias for black (|eb|).
%    \begin{macrocode}
\DeclareFontShape{T1}{Auto1-LF}{bx}{it}{ <-> ssub * Auto1-LF/eb/it }{}
\DeclareFontShape{T1}{Auto1-LF}{bx}{sl}{ <-> ssub * Auto1-LF/bx/it }{}
\DeclareFontShape{T1}{Auto1-LF}{bx}{n} { <-> ssub * Auto1-LF/eb/n }{}
\DeclareFontShape{T1}{Auto1-LF}{bx}{sc}{ <-> ssub * Auto1-LF/eb/sc }{}
\DeclareFontShape{T1}{Auto1-LF}{bx}{si}{ <-> ssub * Auto1-LF/eb/si }{}

%</T1-LF>
%    \end{macrocode}
%
%
%
% \printbibliography
%
% \CheckSum{452}
% \CharacterTable
%  {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
%   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
%   Digits        \0\1\2\3\4\5\6\7\8\9
%   Exclamation   \!     Double quote  \"     Hash (number) \#
%   Dollar        \$     Percent       \%     Ampersand     \&
%   Acute accent  \'     Left paren    \(     Right paren   \)
%   Asterisk      \*     Plus          \+     Comma         \,
%   Minus         \-     Point         \.     Solidus       \/
%   Colon         \:     Semicolon     \;     Less than     \<
%   Equals        \=     Greater than  \>     Question mark \?
%   Commercial at \@     Left bracket  \[     Backslash     \\
%   Right bracket \]     Circumflex    \^     Underscore    \_
%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%   Right brace   \}     Tilde         \~}
%
% \Finale
\endinput
