%% %% This is file `preprint.cls', %% generated with the docstrip utility. %% %% The original source files were: %% %% preprint.dtx (with options: `class') %% ============================================= %% IMPORTANT NOTICE: %% This is a generated file. %% %% It is subject to the same copyright conditions (see below) %% as in the original file: preprint.dtx. %% It may not be distributed without preprint.dtx. %% %% Full documentation can be obtained by LaTeXing that original file. %% Only a few abbreviated comments remain here to describe the usage. %% ============================================= %% Copyright 1993-2004 Patrick W Daly %% Max-Planck-Institut f\"ur Sonnensystemforschung (prev. Aeronomie) %% Max-Planck-Str. 2 %% D-37191 Katlenburg-Lindau %% Germany %% E-mail: daly@mps.mpg.de %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN %% archives in directory macros/latex/base/lppl.txt; either %% version 1 of the License, or any later version. %% %% This is a contributed file to the LaTeX2e system. \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesClass{preprint} [2011/01/27 7.1 (PWD)] %----------------------------------------------------------- % % Call this class in place of article. % Additional options are: % full :- to call all the other preprint style packages % fullpage, appendix, balance, figcaps, mpaehead, authblk, % natbib, sublabel % mpae :- with full, to use mpaehead, for older documents % mps :- with full, to input mpshead, default % bw :- with mps, to input mpshead with bw option (no color) % nosecnum :- to suppress section numbering % (Any of the above packages can be added with \usepackage % if `full' is not given.) % a4, a4in, a4wide, secnum are recognized but do nothing % other standard LaTeX options are accepted % % Will read in local article.cls and size1n.clo %-------------------------------------------------------------------- \newif\if@draft \@draftfalse \newif\if@secnum \@secnumtrue \newif\if@full \@fullfalse \DeclareOption{ms}{\@drafttrue} \DeclareOption{draft}{\@drafttrue} \DeclareOption{a4}{\typeout{Option `a4' not necessary}} \DeclareOption{a4in}{\typeout{Option `a4in' not necessary}} \DeclareOption{a4wide}{\typeout{Option `a4wide' not necessary}} \DeclareOption{a4paper}{\typeout{Option `a4paper' not necessary}} \DeclareOption{secnum}{\@secnumtrue} \DeclareOption{nosecnum}{\@secnumfalse} \DeclareOption{full}{\@fulltrue} \DeclareOption{bw}{\PassOptionsToPackage{bw}{mpshead}} \newif\if@MPS \@MPStrue \DeclareOption{mpae}{\@MPSfalse} \DeclareOption{mps}{\@MPStrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ExecuteOptions{secnum} \ProcessOptions \if@compatibility \LoadClass{article} \else \LoadClass[a4paper]{article} \fi \if@draft \@twocolumnfalse \@titlepagetrue \def\baselinestretch{1.4} \typeout{Draft manuscript} \fi \setcounter{secnumdepth}{\if@secnum 3 \else 0\fi} \def\section{\@startsection {section}{1}{\z@}{-2.5ex plus -.5ex minus -.2ex}{1ex plus .1ex}{\reset@font\large\bfseries\centering}} \def\subsection{\@startsection{subsection}{2}{\z@}{-2.25ex plus -.5ex minus -.2ex}{1ex plus .1ex}{\reset@font\normalsize\bfseries}} \def\subsubsection{\@startsection{subsubsection}{3}{\parindent}{2.25ex plus .5ex minus .2ex}{-1em}{\reset@font\normalsize\slshape}} \def\paragraph{\@startsection {paragraph}{4}{\parindent}{2.25ex plus .5ex minus .2ex}{-1em} {\reset@font\normalsize\slshape}} \def\subparagraph{\@startsection {subparagraph}{5}{\parindent}{2.25ex plus .5ex minus .2ex} {-1em}{\reset@font\normalsize\slshape}} \newcounter{plate} \def\theplate{\@arabic\c@plate} \def\fps@plate{tbp} \def\ftype@plate{4} \def\ext@plate{lop} \def\plate{\@float{plate}} \let\endplate\end@float \@namedef{plate*}{\@dblfloat{plate}} \@namedef{endplate*}{\end@dblfloat} \def\listofplates{\section*{\listplatename \@mkboth{\uppercase{\listplatename}}{\uppercase{\listplatename}}}% \@starttoc{lop}} \let\l@plate\l@figure \def\platename{Plate} \def\listplatename{List of Plates} \if@twocolumn \def\fnum@figure{\reset@font\small{\bfseries \figurename~\thefigure}} \def\fnum@plate{\reset@font\small{\bfseries \platename~\theplate}} \else \def\fnum@figure{\reset@font\normalsize{\bfseries \figurename~\thefigure}} \def\fnum@plate{\reset@font\normalsize{\bfseries \platename~\theplate}} \fi \def\fnum@table{\reset@font{\bfseries \tablename~\thetable}} \long\def\@makecaption#1#2{ \vskip 1em \setbox\@tempboxa\hbox{#1. #2} \@tempdima\wd\@tempboxa \ifdim \@tempdima >\hsize #1. #2\par \else \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi} \def\ps@myheadings{\let\@mkboth\@gobbletwo \def\@oddhead{\hfil{\scshape\rightmark} \hfil {\rmfamily\thepage}}% \def\@oddfoot{}\def\@evenhead{{\rmfamily \thepage}\hfil {\scshape\leftmark}\hfil}% \def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}} \if@twoside \def\ps@headings{\let\@mkboth\markboth \def\@oddfoot{}\def\@evenfoot{}% \def\@evenhead{{\rmfamily\thepage}\hfil {\scnuc \leftmark}\hfil}% \def\@oddhead{\hfil{\scnuc \rightmark}\hfil {\rmfamily\thepage}}% \def\sectionmark##1{\markboth {\ifnum \c@secnumdepth >\z@ \thesection\hskip 1em\relax \fi ##1}{}}% \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne \thesubsection\hskip 1em\relax \fi ##1}}} \else \def\ps@headings{\let\@mkboth\markboth \def\@oddfoot{}\def\@evenfoot{}% \def\@oddhead{{\scnuc \rightmark}\hfil {\rmfamily\thepage}}% \def\sectionmark##1{\markright{\ifnum \c@secnumdepth >\z@ \thesection\hskip 1em\relax \fi ##1}}} \fi \def\scnuc{\let\uppercase=\relax\scshape} \if@compatibility \setlength\paperheight {297mm} \setlength\paperwidth {210mm} \fi \RequirePackage[in,myheadings]{fullpage} \def\iftwocol#1#2{\if@twocolumn #1\else #2\fi} \if@full \if@MPS \RequirePackage{mpshead}[2004/07/06] \else \RequirePackage{mpaehead}[1998/04/23] \fi \RequirePackage{natbib}[1997/07/14] \if@twocolumn \RequirePackage{balance}[1997/04/29] \else \def\balance{\relax} \def\nobalance{\relax} \fi \RequirePackage{sublabel}[1997/04/28] \def\substyle#1{-\alph{#1}} \RequirePackage{appendix}[1997/04/29] \RequirePackage{figcaps}[1998/09/14] \if@draft \figcapstrue \else \figcapsfalse \fi \fi \reset@font\normalsize \pagestyle{myheadings} \if@twocolumn \flushbottom \else \raggedbottom \fi \if@twoside \flushbottom \fi %% %% <<<<< End of generated file <<<<<< %% %% End of file `preprint.cls'.