diff options
Diffstat (limited to 'Master/texmf-dist/tex/platex/base/plnews.cls')
-rw-r--r-- | Master/texmf-dist/tex/platex/base/plnews.cls | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/platex/base/plnews.cls b/Master/texmf-dist/tex/platex/base/plnews.cls new file mode 100644 index 00000000000..a39b6cbb991 --- /dev/null +++ b/Master/texmf-dist/tex/platex/base/plnews.cls @@ -0,0 +1,100 @@ +\NeedsTeXFormat{pLaTeX2e} +\ProvidesClass{plnews}[1997/02/01 v1.0a Standard pLaTeX class] + +\InputIfFileExists{polnews.cfg}% + {\ClassInfo{plnews}{Using local configuration file}}% + {\ClassInfo{plnews}{No local configuration file}} + +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{plnews}} +\ProcessOptions +\LoadClass[a4j,twocolumn,oneside]{jarticle} +\RequirePackage{shortvrb} +\MakeShortVerb{\|} +\setlength{\footskip}{15mm} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \maketitle parameters. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\title{p\LaTeX~$B%K%e!<%9(B} +\newcommand{\@titlefont}{\normalfont\Huge} + +\newcommand{\publicationmonth}{\renewcommand{\@month}} +\newcommand{\@month}{\ClassError{ltnews} + {No \protect\publicationmonth~given}\@eha} + +\newcommand{\publicationyear}{\renewcommand{\@year}} +\newcommand{\@year}{\ClassError{ltnews} + {No \protect\publicationyear~given}\@eha} + +\newcommand{\publicationissue}{\renewcommand{\@issue}} +\newcommand{\@issue}{\ClassError{ltnews} + {No \protect\publicationissue~given}\@eha} +\newcommand{\issuename}{Issue} + +\renewcommand{\maketitle}{% + \twocolumn[{% + \parbox[t][7\baselineskip]{\textwidth}{% + \@titlefont\@title\hspace{3mm}% + \normalsize $BBh(B{\@issue}$B9f(B\\[\medskipamount] + \normalfont{\@year}$BG/(B{\@month}$B7n(B~$BH/9T(B\\ + $B:n@.<T!'(B\begin{tabular}[t]{l} + \@author + \end{tabular}% + }% + }]% +} + +\newcommand{\ps@titlepage}{% + \renewcommand{\@oddhead}{\hfill}% + \renewcommand{\@evenhead}{\hfill}% + \renewcommand{\@oddfoot}{\@title~$BBh(B{\@issue}$B9f(B\hfil\thepage}% + \renewcommand{\@evenfoot}{\@title~$BBh(B{\@issue}$B9f(B\hfil\thepage}% +} +\pagestyle{titlepage} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Sectioning +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\renewcommand{\section}{% + \@startsection{section}{1}{\z@} + {1.5\Cvs \@plus.6\Cvs \@minus.2\Cvs}% + {.5\Cvs \@plus.3\Cvs}{\reset@font\Large\bfseries} +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Page Layout +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\setlength{\topmargin}{0pt} +\setlength{\headheight}{0pt} +\setlength{\headsep}{0pt} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% itemize +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\renewenvironment{itemize} + {\ifnum \@itemdepth >3\relax\@toodeep\else + \advance\@itemdepth\@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \expandafter + \list{\csname \@itemitem\endcsname}{% + \iftdir + \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip + \else\topsep\z@\fi + \labelwidth1zw \labelsep.3zw + \ifnum \@itemdepth =\@ne \leftmargin1zw\relax + \else\leftmargin\leftskip\fi + \advance\leftmargin 1zw + \fi + \parskip\z@ \itemsep\z@ \parsep\z@ % KN 1998/08/10 + \def\makelabel##1{\hss\llap{##1}}}% + \fi}{\endlist} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% misc. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\file#1{\textsf{#1}} +\def\option#1{\texttt{#1}} +\xspcode"5C=3 % \ +\xspcode"3C=3 % < +\xspcode"3E=3 % > + +\endinput |