summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lps
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-07 00:19:04 +0000
committerKarl Berry <karl@freefriends.org>2011-02-07 00:19:04 +0000
commite6c71e60f6c4b72ad324a5fad9717412b763984a (patch)
treea32fc06de0615dd5b25e30b73b20a66095be3734 /Master/texmf-dist/tex/latex/lps
parentac5d64567ba90ba14cc77499c99d543ad763798f (diff)
lps
git-svn-id: svn://tug.org/texlive/trunk@21322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lps')
-rw-r--r--Master/texmf-dist/tex/latex/lps/lps.cls59
1 files changed, 34 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/lps/lps.cls b/Master/texmf-dist/tex/latex/lps/lps.cls
index a0475ffedab..99c60cb5b69 100644
--- a/Master/texmf-dist/tex/latex/lps/lps.cls
+++ b/Master/texmf-dist/tex/latex/lps/lps.cls
@@ -18,35 +18,47 @@
%% This work has the LPPL maintenance status "author-maintained".
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\par
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{lps}[2006/09/22 v0.5%
+\ProvidesClass{lps}[2011/01/01 v0.7%
LaTeX document class for the L&PS journal]
\LoadClass[11pt,twoside,onecolumn]{article}
\RequirePackage{mathptmx}
\RequirePackage{geometry}
+\RequirePackage[bf,center,tiny,nonindentfirst]{titlesec}
\RequirePackage{titletoc}
\RequirePackage{lastpage}
+\RequirePackage[format=plain,labelsep=colon,%
+ labelfont=small,labelfont=sc,%
+ textfont=it, figurename=Fig.]{caption}
+\newcommand{\the@shorttitle}{}
\newcommand{\the@title}%
- {\@latex@warning@no@line{LPS warning: no \noexpand\Title given}}
-\newcommand{\Title}[1]{\renewcommand{\the@title}{#1}}
+ {\@latex@warning@no@line{L&PS warning: no \noexpand\Title given}}
+\newcommand{\Title}[1]{\renewcommand{\the@title}{#1}%
+\renewcommand{\the@shorttitle}{#1}}
\let\title\Title
-\newcommand{\the@author}%
-{\@latex@warning@no@line{LPS warning: no \noexpand\Author given}}
-\newcommand{\Author}[1]{\renewcommand{\the@author}{#1}}
-\let\author\Author
+\newcommand{\shorttitle}[1]{\renewcommand{\the@shorttitle}{#1}}
+\newcommand{\the@shortauthor}%
+{\@latex@warning@no@line{L&PS warning: no \noexpand\shortauthor given}}
+\newcommand{\shortauthor}[1]{\renewcommand{\the@shortauthor}{#1}}
+\renewcommand{\and}{%
+ \end{tabular}%
+ \vskip .5em \@plus.17fil%
+ \begin{tabular}[t]{c}}%
+\let\Author\author
\newcommand{\the@affiliation}%
{\@latex@warning@no@line{No \noexpand\Affiliation given}}
\newcommand{\Affiliation}[1]{\renewcommand{\the@affiliation}{#1}}
\newcommand{\the@email}%
{\@latex@warning@no@line{No \noexpand\Email given}}
\newcommand{\Email}[1]{\renewcommand{\the@email}{e-mail: #1}}
-\newcommand{\the@volume}{III}
+\newcommand{\the@volume}{I}
\newcommand{\Volume}[1]{\renewcommand{\the@volume}{#1}}
-\newcommand{\the@number}{4}
+\newcommand{\the@number}{1}
\newcommand{\Number}[1]{\renewcommand{\the@number}{#1}}
\newcommand{\the@year}{2222}
\newcommand{\Year}[1]{\renewcommand{\the@year}{#1}}
-\newcommand{\first@page}{1}
+\newcommand{\first@page}{101}
\newcommand{\FirstPage}[1]{\renewcommand{\first@page}{#1}%
\setcounter{page}{\first@page}}
\renewcommand{\@maketitle}{\newpage\null\vspace{4mm}
@@ -54,7 +66,9 @@
\let\footnote\thanks
{\LARGE \the@title}\vskip 10mm
{\normalsize
- \the@author\\\the@affiliation\\\the@email
+ \begin{tabular}[t]{c}%
+ \@author
+\end{tabular}
}
\vskip 10mm}}
\renewcommand{\tableofcontents}{
@@ -65,8 +79,8 @@
{\contentslabel[\bfseries\thecontentslabel ]%
{1.4em}}{\itshape}{}[]
\newcommand{\the@keywords}%
- {\@latex@warning@no@line{No \noexpand\Keywords given}}
-\newcommand{\Keywords}[1]{\renewcommand{\the@keywords}{#1}}
+ {\@latex@warning@no@line{No \noexpand\keywords given}}
+\newcommand{\keywords}[1]{\renewcommand{\the@keywords}{#1}}
\renewenvironment{abstract}%
{\setlength{\parskip}{0pt}
\begin{quotation}\noindent\small%
@@ -80,10 +94,10 @@
\geometry{hcentering,top=33mm}
\newcommand{\ps@lps}{%
\renewcommand{\@oddhead}%
- {\hfil\small\scshape\MakeLowercase\the@title\hfil}%
+ {\hfil\small\scshape\MakeLowercase\the@shorttitle\hfil}%
\renewcommand{\@oddfoot}{\hfil\itshape\thepage\hfil}%
\renewcommand{\@evenhead}%
- {\hfil\small\scshape\MakeLowercase\the@author\hfil}%
+ {\hfil\small\scshape\MakeLowercase\the@shortauthor\hfil}%
\renewcommand{\@evenfoot}{\hfil\itshape\thepage\hfil}}
\renewcommand{\ps@plain}{%
\renewcommand{\@oddhead}%
@@ -94,23 +108,18 @@
\renewcommand{\@oddfoot}{%
\parbox[t]{80mm}{\footnotesize \copyright\ The Author \the@year\\
Published by L\&PS -- Logic and Philosophy of Science\\
- http://www.univ.trieste.it/\~{}episteme/ -- ISSN:\thinspace 1826-1043}\hfil}%
+ http://www2.units.it/\~{}episteme/ -- ISSN:\thinspace 1826-1043}\hfil}%
\renewcommand{\@evenhead}{}%
\renewcommand{\@evenfoot}{\hfil\itshape\thepage\hfil}}
-\renewcommand{\thesection}{\arabic{section}.}
-\renewcommand{\section}{\@startsection
- {section}%
- {1}%
- {0mm}%
- {2\baselineskip}%
- {1\baselineskip}%
- {\centering\normalfont\normalsize\bfseries}%
-}
+\titlelabel{\thetitle.\quad}
+\titlespacing{\section}{0pt}{2\baselineskip plus .5ex minus .2ex}{1\baselineskip}
\renewcommand{\@makefntext}[1]%
{\indent\makebox[7mm][r]{\@makefnmark}\hspace{2mm}#1}
\renewcommand{\footnoterule}%
{\noindent\vspace*{-2pt}\rule{\textwidth}{.4pt}\vspace*{5pt}}
\setlength{\skip\footins}{6mm}
+\renewcommand{\refname}%
+ {\normalfont\textsc{References}}
\AtBeginDocument{\pagestyle{lps}}
\endinput
%%