<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% This is file `stdpage.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% stdpage.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2004 by Georg Michael Verweyen &lt;Georg.Verweyen@rub.de&gt;
%% 
%% 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.
%% 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{stdpage}
   [2005/03/30 v0.6 stdpage.sty]
 \RequirePackage{typearea%
                ,ragged2e%
                ,ifthen%
                ,keyval%
                ,lineno%
 }%
 \RequirePackage[htt]{hyphenat}%
 \RequirePackage[rigidchapters]{titlesec}%
\renewcommand{\familydefault}{\ttdefault}%
\renewcommand{\RaggedRightParindent}{\parindent}%
 \newlength{\St@ndardLinewidth}%
 \newlength{\St@ndardTextwidth}%
 \newlength{\CharsX}%
 \newlength{\CharsI}%
 \newboolean{st@ndardjust}%
 \setboolean{st@ndardjust}{false}%
 \newboolean{st@ndardnoindent}%
 \setboolean{st@ndardnoindent}{false}%
 \newboolean{st@ndardnumbers}%
 \setboolean{st@ndardnumbers}{false}%
 \newboolean{st@ndardhyphen}%
 \setboolean{st@ndardhyphen}{true}%
 \newboolean{st@ndardparskip}%
 \setboolean{st@ndardparskip}{false}%
 \newboolean{st@ndardtypewriter}%
 \setboolean{st@ndardtypewriter}{false}%
 \newcommand*{\zeichenzahl}{60}%
 \newcommand*{\zeilenzahl}{30}%
\define@key{stdpage}{block}[true]{%Aus Kompatibilitätsgründen (zu v. 0.4) auf deutsch
  \setboolean{st@ndardjust}{#1}%
}%
\define@key{stdpage}{just}[true]{%
  \setboolean{st@ndardjust}{#1}%
}%
\define@key{stdpage}{noindent}[true]{%
  \setboolean{st@ndardnoindent}{#1}%
}%
\define@key{stdpage}{linenumbers}[true]{%
  \setboolean{st@ndardnumbers}{#1}%
}%
\define@key{stdpage}{hyphen}[true]{%
  \setboolean{st@ndardhyphen}{#1}%
}%
\define@key{stdpage}{parskip}[true]{%
  \setboolean{st@ndardparskip}{#1}%
}%
\define@key{stdpage}{chars}[60]{%
  \renewcommand{\zeichenzahl}{#1}%
}%
\define@key{stdpage}{lines}[30]{%
  \renewcommand{\zeilenzahl}{#1}%
}%
\define@key{stdpage}{baselinestretch}[1.25]{%
  \renewcommand{\baselinestretch}{#1}%
}%
\define@key{stdpage}{typewriter}[true]{%
  \setboolean{st@ndardtypewriter}{#1}%
}%    \end{macrocode}
\def\ProcessOptionsWithKV#1{%
  \let\@tempc\relax%
  \let\stdpage@tempa\@empty%
  \@for\CurrentOption:=\@classoptionslist\do{%
    \@ifundefined{KV@#1@\CurrentOption}%
    {}%
    {\edef\stdpage@tempa{\stdpage@tempa,\CurrentOption,}}%
  }%
  \edef\stdpage@tempa{%
    \noexpand\setkeys{#1}{%
      \stdpage@tempa\@ptionlist{\@currname.\@currext}%
    }%
  }%
  \stdpage@tempa%
}%
\AtBeginDocument{
     \settowidth{\CharsX}{1234567890}%
     \setlength{\CharsI}{.1\CharsX}%
     \setlength{\St@ndardLinewidth}{\zeichenzahl\CharsI}%
     \setlength{\St@ndardTextwidth}{0pt}%\topskip}%
     \addtolength{\St@ndardTextwidth}{\zeilenzahl\baselineskip}%
    \ifthenelse{\boolean{st@ndardparskip}}%
    {\setlength{\parskip}{\baselineskip}}{}
%%%      \ifthenelse{\boolean{st@ndardjust}}%
%%%          {%
               \areaset[current]{.976\St@ndardLinewidth}{\St@ndardTextwidth}%
%%%          }%
%%%          {%
%%%               \areaset[current]{\St@ndardLinewidth}{\St@ndardTextwidth}%
%%%          }%
     \ifthenelse{\boolean{st@ndardjust}}%
     {%
        \spaceskip=1\CharsI plus 1.5pt minus 0pt
     }%
     {%
        \spaceskip=1\CharsI plus 0pt minus 0pt
        \ifthenelse{\boolean{st@ndardhyphen}}%
        {%
            \setlength{\RaggedRightRightskip}{0em minus .75em}
            \RaggedRight%
        }%
        {%
            \raggedright%
        }%
      }%
     \ifthenelse{\boolean{st@ndardnoindent}}%
        {\setlength{\parindent}{0mm}}{}%
     \ifthenelse{\boolean{st@ndardnumbers}}{%
        \modulolinenumbers[5]%
        \linenumbers%
        \pagewiselinenumbers%
     }{}%
     \ifthenelse{\boolean{st@ndardtypewriter}}%
     {%
         \let\sectfont\normalfont
         \renewcommand{\footnotesize}{\normalsize}
         \titleformat{\part}{\normalfont\normalsize\bfseries}{\thepart}{1em}{}
         \titleformat{\chapter}{\normalfont\normalsize\bfseries}{\thechapter}{1em}{}
         \titleformat{\section}{\normalfont\normalsize\bfseries}{\thesection}{1em}{}
         \titleformat{\subsection}{\normalfont\normalsize\bfseries}{\thesubsection}{1em}{}
         \titleformat{\subsubsection}{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
         \titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
         \titlespacing*{\part}{0pt}{5\baselineskip}{3\baselineskip}
         \titlespacing*{\chapter}{0pt}{4\baselineskip}{3\baselineskip}
         \titlespacing*{\section}{0pt}{3\baselineskip}{2\baselineskip}
         \titlespacing*{\subsection}{0pt}{2\baselineskip}{1\baselineskip}
         \titlespacing*{\subsubsection}{0pt}{1\baselineskip}{0pt}
         \titlespacing*{\paragraph}{0pt}{1\baselineskip}{0pt}
     }{}%
 \frenchspacing
 \emergencystretch=2em%
}%
\ProcessOptionsWithKV{stdpage}
\AtEndOfPackage{%
  \let\@unprocessedoptions\relax
}
\endinput%
\endinput
%%
%% End of file `stdpage.sty'.
</pre></body></html>