<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% --------------------------------------%--------------------------------------
% ---------------------------- Identification part ----------------------------
% --------------------------------------%--------------------------------------

\RequirePackage{rcs}

\RCS$Date: 2002/04/14 10:10:19 $
\RCS$RCSfile: aala.sty,v $
\RCS$Revision: 1.3 $
\RCS$State: Exp $
\RCS$Author: aa $

\input{aausercs}


% --------------------------------------%--------------------------------------
% -------------------------------- Start code ---------------------------------
% --------------------------------------%--------------------------------------


% --------------------------------------%--------------------------------------
% -------------------------- Declaration of options ---------------------------
% --------------------------------------%--------------------------------------

% Paper type
\DeclareOption{a4paper}{\def\aala@paper{A4}\def\aala@apaper{a4paper}}

% Notes?
\DeclareOption{notes}{\def\aala@notes{}}

% Fonts
\DeclareOption{lcmss}{%
  % Font faimily for bout encodings
  \DeclareFontFamily{OT1}{lcmss}{}
  \DeclareFontFamily{T1}{lcmss}{}
  % Font shapes: italic = slant, and OT1 doesn't have bold oblique
  \DeclareFontShape{OT1}{lcmss}{m}{n}{&lt;-&gt;lcmss8}{}
  \DeclareFontShape{OT1}{lcmss}{m}{it}{&lt;-&gt;lcmssi8}{}
  \DeclareFontShape{OT1}{lcmss}{m}{sl}{&lt;-&gt;ssub*lcmss/m/it}{}
  \DeclareFontShape{OT1}{lcmss}{bx}{n}{&lt;-&gt;lcmssb8}{}
  \DeclareFontShape{OT1}{lcmss}{bx}{it}{&lt;-&gt;sub*lcmss/bx/n}{}
  \DeclareFontShape{OT1}{lcmss}{bx}{sl}{&lt;-&gt;sub*lcmss/bx/n}{}
  \DeclareFontShape{T1}{lcmss}{m}{n}{&lt;-&gt;dclq8}{}
  \DeclareFontShape{T1}{lcmss}{m}{it}{&lt;-&gt;dcli8}{}
  \DeclareFontShape{T1}{lcmss}{m}{sl}{&lt;-&gt;ssub*lcmss/m/it}{}
  \DeclareFontShape{T1}{lcmss}{bx}{n}{&lt;-&gt;dclb8}{}
  \DeclareFontShape{T1}{lcmss}{bx}{it}{&lt;-&gt;dclo8}{}
  \DeclareFontShape{T1}{lcmss}{bx}{sl}{&lt;-&gt;ssub*lcmss/bx/it}{}
  % Defaults
  \def\rmdefault{lcmss}
  \def\sfdefault{lcmss}}


% --------------------------------------%--------------------------------------
% --------------------------- Execution of options ----------------------------
% --------------------------------------%--------------------------------------

\ExecuteOptions{a4paper,lcmss}
\ProcessOptions


% --------------------------------------%--------------------------------------
% ------------------------------ Package loading ------------------------------
% --------------------------------------%--------------------------------------

%\LoadClass[\aala@apaper,landscape]{article}
\RequirePackage{vmargin}
\RequirePackage{calc}
\RequirePackage{graphics}
\RequirePackage{version}
%\RequirePackage{aapagestruct}


% --------------------------------------%--------------------------------------
% --------------------------------- Main code ---------------------------------
% --------------------------------------%--------------------------------------

% Line under title
%\newcommand{\laline}{\@empty}

% The lys-ark (la) environment
\newenvironment{la}[1][\@empty]{%
  \noindent\hbox\bgroup
    \vtop to \textheight\bgroup
      \if#1\@empty      % No title
        \vfil
      \else             % Title
        \hbox{\textbf{\Large #1}}
        \hbox{%
          \@ifundefined{laline}{%
            %\raisebox{.5\baselineskip}{\rule{\textwidth}{1mm}}
            \hspace{-.1\textwidth}%
            \raisebox{-.25\baselineskip}{%
              \resizebox{1.1\textwidth}{.05\textheight}{%
                \includegraphics{aalaline}}}}{\laline}}
        \vfil
      \fi
      \hbox to \textwidth\bgroup
        \vtop\bgroup \parindent=0pt \parskip=18pt
          }{% This is where the contents go!
        \egroup
      \egroup
      \vfil
    \egroup
  \egroup}

\@ifundefined{aala@notes}{%
  \setpapersize[landscape]{\aala@paper}%
  \input{size20}}{%
  \let\orgincludegraphics\includegraphics
  \def\includegraphics#1{\scalebox{.5}{\orgincludegraphics{#1}}}%
  \setpapersize[portrait]{\aala@paper}%
  \includeversion{comment}%
  \renewenvironment{la}[1][\@empty]{%
    \noindent
    \parbox[c]{0mm}{\rule{0mm}{100mm}}%
    \begin{minipage}[c]{\textwidth}
    \if#1\@empty      % No title
      \noindent
    \else
      \section*{#1}
    \fi
    }{\end{minipage}}}

% Set paper size and style (a4 landscape and empty).
\setmarginsrb{1in}{1in}{1in}{1in}{0pt}{0pt}{0pt}{0pt}
\pagestyle{empty}
</pre></body></html>