Debian Codegraph @

texmf-dist/tex/latex/extsizes/extproc.cls

raw
1 %% This is file `proc.cls',
2 %% Copyright 1993 1994 1995 1996 1997 1998 1999
3 %% The LaTeX3 Project and any individual authors listed elsewhere
4 %% in this file.
5 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
6 \ProvidesClass{extproc}
7 [1995/11/30 v1.3l
8 NON-Standard LaTeX document class]
9 \DeclareOption{a5paper}
10 {\ClassError{proc}{Option `a5paper' not supported}{}}
11 \DeclareOption{b5paper}
12 {\ClassError{proc}{Option `b5paper' not supported}{}}
13 \DeclareOption{onecolumn}%
14 {\ClassError{proc}{Option `onecolumn' not supported}{}}
15 \DeclareOption{titlepage}%
16 {\ClassError{proc}{Option `titlepage' not supported}{}}
17 \PassOptionsToClass{twocolumn}{article}
18 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{extarticle}}
19 \ProcessOptions
20 \LoadClass{extarticle}
21 \setlength\footskip{75\p@}
22 \setlength\textwidth{\paperwidth}
23 \addtolength\textwidth{-126\p@}
24 \@settopoint\textwidth
25 \@settopoint\textwidth
26 \ifcase\@ptsize
27 \or\or\or\or\or\or\or
28 \or \setlength\textheight{67\baselineskip}
29 \or \setlength\textheight{58\baselineskip}
30 \or \setlength\textheight{53\baselineskip}
31 \or \setlength\textheight{47\baselineskip}
32 \or \setlength\textheight{44\baselineskip}
33 \or
34 \or \setlength\textheight{37\baselineskip}
35 \or \or
36 \or \setlength\textheight{29\baselineskip}
37 \or \or
38 \or \setlength\textheight{25\baselineskip}
39 \fi
40 \advance\textheight by \topskip
41 \setlength\oddsidemargin{-10\p@}
42 \setlength\evensidemargin{-10\p@}
43 \setlength\marginparwidth {\z@}
44 \setlength\topmargin{-47\p@}
45 \setlength\columnsep{.375in}
46 \let\@oddhead\@empty
47 \let\@evenhead\@empty
48 \def\@oddfoot{\normalfont\rightmark \hfil
49 \pagename{} \thepage}
50 \def\@evenfoot{\@oddfoot}
51 \def\maketitle{\par
52 \begingroup
53 \renewcommand\thefootnote{\fnsymbol{footnote}}%
54 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
55 \long\def\@makefntext##1{\parindent 1em\noindent
56 \hb@[email protected]{%
57 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
58 \twocolumn[\@maketitle]%
59 \@thanks
60 \endgroup
61 \setcounter{footnote}{0}%
62 \let\maketitle\relax
63 \let\@maketitle\relax
64 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
65 \def\@maketitle{%
66 \vbox to 2.25in{%
67 \hsize\textwidth
68 \linewidth\hsize
69 \vfil
70 \centering
71 {\LARGE \@title \par}
72 \vskip 2em
73 {\large \begin{tabular}[t]{c}\@author \end{tabular}\par}
74 \vfil}}
75 \def\copyrightspace{%
76 \footnotetext[0]{\mbox{}\vrule \@height 97\p@ \@width \z@}}
77 \renewenvironment{abstract}%
78 {\section*{\abstractname}}
79 {\par}
80 \newcommand\pagename{Page}
81 \endinput