summaryrefslogtreecommitdiff
path: root/Master
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
parentac5d64567ba90ba14cc77499c99d543ad763798f (diff)
lps
git-svn-id: svn://tug.org/texlive/trunk@21322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/lps/lps.pdfbin442146 -> 259859 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lps/lpstemplate.tex24
-rw-r--r--Master/texmf-dist/source/latex/lps/lps.dtx188
-rw-r--r--Master/texmf-dist/tex/latex/lps/lps.cls59
4 files changed, 156 insertions, 115 deletions
diff --git a/Master/texmf-dist/doc/latex/lps/lps.pdf b/Master/texmf-dist/doc/latex/lps/lps.pdf
index 659a313f571..7517954b4ed 100644
--- a/Master/texmf-dist/doc/latex/lps/lps.pdf
+++ b/Master/texmf-dist/doc/latex/lps/lps.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lps/lpstemplate.tex b/Master/texmf-dist/doc/latex/lps/lpstemplate.tex
index 356d404c04a..595aacd3256 100644
--- a/Master/texmf-dist/doc/latex/lps/lpstemplate.tex
+++ b/Master/texmf-dist/doc/latex/lps/lpstemplate.tex
@@ -20,16 +20,17 @@
\documentclass{lps}
%%
%% User's packages:
-%% \usepackage[italian]{babel} % for italian language
+%% \usepackage[italian]{babel} % for Italian language
%% \usepackage[ansinew]{inputenc} % to insert special symbols on Windows systems
-%% \usepackage[T1]{fontenc} % standard encoding on Windows systems
+%% \usepackage[T1]{fontenc} % standard encoding on Windows systems
+%% \usepackage{lipsum} % to test this template
\begin{document}
%% Article's information:
-\Title{Title of the article}
-\Author{Name Surname}
+\title{Title of the article}
%% Author's information:
-\Affiliation{Department of Philosophy\\ University of Trieste (Italy)}
-\Email{n.surname@mail.it}
+\author{John First\\Department of Philosophy\\University of Trieste (Italy)\\j.first@mail.it \and%
+ James Second\\Department of Philosophy\\University of Trieste (Italy)\\j.second@mail.it}
+\shortauthor{John First, James Second}
%% Issue's information:
%%\Volume{}
%%\Number{}
@@ -39,14 +40,21 @@
\maketitle
\tableofcontents
%% Keywords and abstract:
-\Keywords{some, crucial, terms.}
+\keywords{some, crucial, terms.}
\begin{abstract}
Summary of the article.
\end{abstract}
%%
%%%%%%%%%%%%%%%%%%%%%%%% Main text: %%%%%%%%%%%%%%%%%%%%%%%%
\section{First section}
-Your article.
+Your article.\par
%%
+%% \lipsum[1-10]
+%%
+\begin{thebibliography}{AAA}
+\bibitem{mypaper} \textsc{First, J.} and \textsc{Second, J.} (2010), ``An interesting paper'', \emph{A Famous Journal}, 1, pp.~1--11.
+\bibitem{mybook} \textsc{First, J.} and \textsc{Second, J.} (2011), \emph{A great book}, Address: Publisher.
+\end{thebibliography}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\par
diff --git a/Master/texmf-dist/source/latex/lps/lps.dtx b/Master/texmf-dist/source/latex/lps/lps.dtx
index 7fa24277862..0502e5e6044 100644
--- a/Master/texmf-dist/source/latex/lps/lps.dtx
+++ b/Master/texmf-dist/source/latex/lps/lps.dtx
@@ -1,7 +1,7 @@
% \iffalse
%
% file: lps.dtx
-% Copyright 2005, 2006, 2007 Gustavo Cevolani
+% Copyright 2005, 2006, 2007, 2010, 2011 Gustavo Cevolani
% Gruppo Utilizzatori Italiani di TeX - GuIT - http://www.guit.sssup.it
%
% This program is provided under the terms of the
@@ -11,7 +11,7 @@
% Author: Gustavo Cevolani
% at g.cevolani@gmail.com
%
-% Version: 0.6
+% Version: 0.7
%
% This work has the LPPL maintenance status "author-maintained".
%
@@ -53,35 +53,43 @@
\documentclass{lps}
%%
%% User's packages:
-%% \usepackage[italian]{babel} % for italian language
+%% \usepackage[italian]{babel} % for Italian language
%% \usepackage[ansinew]{inputenc} % to insert special symbols on Windows systems
-%% \usepackage[T1]{fontenc} % standard encoding on Windows systems
+%% \usepackage[T1]{fontenc} % standard encoding on Windows systems
+%% \usepackage{lipsum} % to test this template
%
\begin{document}
%% Article's information:
-\Title{Title of the article}
-\Author{Name Surname}
+\title{Title of the article}
+%\shorttitle{Optional title to go in the running headings}
%% Author's information:
-\Affiliation{Department of Philosophy\\ University of Trieste (Italy)}
-\Email{n.surname@mail.it}
+\author{John First\\Department of Philosophy\\University of Trieste (Italy)\\j.first@mail.it \and%
+ James Second\\Department of Philosophy\\University of Trieste (Italy)\\j.second@mail.it}
+\shortauthor{John First, James Second}
%% Issue's information:
%%\Volume{}
%%\Number{}
%%\Year{}
-%%\FirstPage{}
+%%\FirstPage{}
%%
\maketitle
\tableofcontents
%% Keywords and abstract:
-\Keywords{some, crucial, terms.}
+\keywords{some, crucial, terms.}
\begin{abstract}
Summary of the article.
\end{abstract}
%%
%%%%%%%%%%%%%%%%%%%%%%%% Main text: %%%%%%%%%%%%%%%%%%%%%%%%
\section{First section}
-Your article.
+Your article.\par
%%
+%% \lipsum[1-10]
+%%
+\begin{thebibliography}{AAA}
+\bibitem{mypaper} \textsc{First, J.} and \textsc{Second, J.} (2010), ``An interesting paper'', \emph{A Famous Journal}, 1, pp.~1--11.
+\bibitem{mybook} \textsc{First, J.} and \textsc{Second, J.} (2011), \emph{A great book}, Address: Publisher.
+\end{thebibliography}
\end{document}
%</template>
% \fi
@@ -106,8 +114,8 @@ Your article.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \def\fileversion{0.6}
-% \def\filedate{31 Mar 2007}
+% \def\fileversion{0.7}
+% \def\filedate{1 Feb 2011}
%
% \newcommand*{\pack}[1]{\textsf{#1}}%
% \newcommand*{\cod}[1]{\texttt{#1}}
@@ -118,13 +126,15 @@ Your article.
% \changes{v0.1}{2005/08/01}{Created \cod{lps.cls}.}
% \changes{v0.2}{2005/09/30}{Minor modifications.}
% \changes{v0.3}{2005/10/17}{First unofficial release (GuIT).}
-% \changes{v0.4}{2005/10/18}{Layout modifications, empty fields warning added and minor changes (thanks to Enrigo Gregorio, GuIT).}
+% \changes{v0.4}{2005/10/18}{Layout modifications, empty fields warning added and minor changes (thanks to Enrico Gregorio, GuIT).}
% \changes{v0.41}{2006/07/15}{Minor modifications.}
% \changes{v0.5}{2006/09/22}{Layout modifications.}
-% \changes{v0.6}{2007/03/31}{Minor modifications. Additions: title page's footer, page rage in title page's header, small layout modifications.}
+% \changes{v0.6}{2007/03/31}{Minor modifications. Additions: title page's footer, page range in title page's header, small layout modifications.}
+% \changes{v0.61}{2010/01/21}{Minor modifications (journal web address).}
+% \changes{v0.7}{2011/01/01}{Major modifications}
%
-% \title{The \pack{lps} class:\\\Large layout for the \emph{Logic \& Philosophy of Science} journal\thanks{\protect\url{http://www.univ.trieste.it/~episteme/}}}
-% \author{Gustavo Cevolani\thanks{Please report any error, comment or incompatibility with other \LaTeX\ packages to \href{mailto:g.cevolani@gmail.com}{\texttt{g.cevolani@gmail.com}}.}\thanks{Gruppo Utilizzatori Italiani di \TeX, \protect\url{http://www.guit.sssup.it}.}}
+% \title{The \pack{lps} class:\\\Large layout for the \emph{Logic \& Philosophy of Science} journal\thanks{\protect\url{http://www2.units.it/~episteme/}}}
+% \author{Gustavo Cevolani\thanks{Please report any error, comment or incompatibility with other \LaTeX\ packages to \href{mailto:g.cevolani@gmail.com}{\texttt{g.cevolani@gmail.com}}. Suggestions on how to improve the code are welcome.}\thanks{Gruppo Utilizzatori Italiani di \TeX, \protect\url{http://www.guit.sssup.it}.}}
% \date{version \fileversion\\\filedate}
%
% \maketitle
@@ -136,7 +146,7 @@ Your article.
%
% \begin{otherlanguage}{italian}
% \begin{abstract}\small
-% La classe \lps\ modifica la classe \pack{article} standard e impagina automaticamente il documento secondo le specifiche della rivista \landpstext . \`E sufficiente richiamare la classe (|\documentclass{lps}|) e specificare alcuni comandi obbligatori (|\Title|, |\Author|, |\Affiliation|, |\Email| e |\Keywords|) per ottenere un articolo nel formato richiesto a partire da qualsiasi sorgente \LaTeX\ standard. Gli altri nuovi comandi introdotti (|\Volume|, |\Number|, |\Year| e |\FirstPage|) si occupano delle informazioni editoriali relative al numero specifico della rivista.
+% La classe \lps\ modifica la classe \pack{article} standard e impagina automaticamente il documento secondo le specifiche della rivista \landpstext . \`E sufficiente richiamare la classe (|\documentclass{lps}|) e specificare alcuni comandi obbligatori (|\Title|, |\Author|, |\Keywords|) per ottenere un articolo nel formato richiesto a partire da qualsiasi sorgente \LaTeX\ standard. Gli altri nuovi comandi introdotti (|\Volume|, |\Number|, |\Year| e |\FirstPage|) si occupano delle informazioni editoriali relative al numero specifico della rivista.
% \end{abstract}
% \end{otherlanguage}
%
@@ -149,13 +159,11 @@ Your article.
%
% The home address of \landpstext\ is
% \begin{center}\url{http://www.univ.trieste.it/~episteme/}\end{center}
-% and the last version of the present files can also be found at:
-% \begin{center}\url{http://www.ctan.org/tex-archive/macros/latex/contrib}\end{center}
-% or at:
-% \begin{center}\url{http://www.univ.trieste.it/~episteme/latex_L&PS.htm}\end{center}
+% and the last version of the present files can be found at:
+% \begin{center}\url{http://www.ctan.org/tex-archive/macros/latex/contrib/lps/}\end{center}
%
% \paragraph{Notice.} Since I am not a \TeX\ hacker, with few exceptions I wrote the class' code (see Section \ref{code}) using high-level \LaTeX\ commands. \href{mailto:g.cevolani@gmail.com}{Suggestions are welcome} on how to improve, simplify or correct the present version of the code.
-% \paragraph{Acknowledgements.} The layout of \emph{Logic \& Philosophy of Science} was designed by Luca Tambolo. Thanks are due to the participants to the discussion forum and mailing list of GuIT (Gruppo Utilizzatori Italianti di \TeX), from which I learned much of what I know about \LaTeX. In particular, I am indebted to Enrico Gregorio for the many corrections to earlier versions of the code. I also thank ``B. A.'' for some good advice on the MiKTeX list on SourceForge.net.
+% \paragraph{Acknowledgements.} The layout of \emph{Logic \& Philosophy of Science} was designed by Luca Tambolo. Thanks are due to the participants in the discussion forum and mailing list of GuIT (Gruppo Utilizzatori Italianti di \TeX), from which I learned much of what I know about \LaTeX. In particular, I am indebted to Enrico Gregorio for the many corrections to earlier versions of the code. I also thank ``B. A.'' for some good advice on the MiKTeX list on SourceForge.net.
%
% \subsection{Description of the class}
% The standard \landps\ page's dimensions are the following. The textblock (including headers and footers) is $155\times 172,795$\thinspace mm. This amounts to 39 lines of text, given the default font dimension and leading, which are 11\thinspace pt and 12.5\thinspace pt, respectively.
@@ -165,21 +173,20 @@ Your article.
% Section titles are centered in a bold face normal size font. At the present moment, the standard article does not consider subsections or lower divisions, which in any case would not enter in the table of contents.\par
% Footnotes' text is separated from the main text by a continuos line of length |\textwidth|.
% \subsection{Required packages}
-% At the present moment, the class requires three other packages, which should be present in any standard \LaTeX\ distribution.\footnote{Otherwise, they can be obtained from \url{www.ctan.org}.}\par
-% Required packages are:
+% The class requires some standard packages, which should be present in any \LaTeX\ distribution.\footnote{Otherwise, they can be obtained from \url{www.ctan.org}.}\par
+% The following package are required:
% \begin{itemize}
-% \item \pack{mathptmx}, which causes \LaTeX\ to use Times New Roman fonts instead of standard Computer Modern fonts;
-% \item \pack{geometry}, which allows for a quick and straightforward configuration of the page's layout; and
-% \item \pack{titletoc}, which is part of \pack{titlesec} but can be used independently and allows for a complete customization of the table of contents.
-% \item \pack{lastpage}, which defines a new label for the last page of the article, which can be then referred to with |\pageref|. This label is used to display the page range in the header of the title page.
+% \item \pack{mathptmx}, to use Times New Roman fonts instead of standard Computer Modern fonts;
+% \item \pack{geometry}, to customize the page's layout;
+% \item \pack{titlesec} and \pack{titletoc}, to customize the sections' titles and the table of contents.
+% \item \pack{lastpage}, to define a new label for the last page of the article, which can be then referred to with |\pageref|. This label is used to display the page range in the header of the title page.
+% \item \pack{caption}, to customize the captions of figures and tables.
% \end{itemize}
-% In future versions, the class will maybe no longer use the \pack{geometry} and \pack{titletoc} packages.
%
% \subsection{Known bugs}
% Known problems include:
% \begin{description}
-% \item[Title:] formatted titles, such as |\title{My \emph{title}}| cause wrong headers; moreover, there is still no solution for long titles. Both problems will be solved in future version by a |\shorttitle| command.
-% \item[Author(s):] there is still no support for multiple authors.
+% \item[Author(s):] in the present version, the author list for running headings must be inserted by hand (|\shortauthor| command). In future versions, both information should be extracted authomatically. Also the information about authors' affiliation and e-mail must be formatted by hand; |\affiliation| and |\email| commands should take care of this in future versions.
% \end{description}
% Known incompatibilities with other standard packages include:
% \begin{description}
@@ -187,7 +194,7 @@ Your article.
% \end{description}
%
% \section{Usage}
-% This section describes the (very intuitive!) use of the class and of its commands. See the template file \cod{lps-template.tex} for a complete sample document.
+% This section describes the (very intuitive!) use of the class and of its commands. The best way to start using the class is to edit the template file \cod{lps-template.tex} and run it.
% \subsection{Installation}
% The class comes in two files, \cod{lps.ins} and \cod{lps.dtx}.
% Run first \LaTeX\ on \cod{lps.ins}: this will create two files, \cod{lps.cls} (the class file) and \cod{lps-template.tex}, a sample file. Then run twice (PDF)\LaTeX\ on \cod{lps.dtx}: this will create the documentation for the class (the file you are reading). To test the installation, run twice (PDF)\LaTeX\ on \cod{lps-template.tex}.
@@ -195,21 +202,25 @@ Your article.
% The file \cod{lps.cls} must be in a directory searched by \LaTeX , for instance the same directory containing also the source (\cod{.tex}) file.
%
% Your \cod{.tex} document will then simply begin with |\documentclass{lps}|. Note that the class already sets the right paper and font dimension, so you do not need to specify them here.
-% \subsection{New class commands}
-% \DescribeMacro{\Title}
-% \DescribeMacro{\Author}
-% At the beginning of the document, one should specify the |\title| and |\author| fields as usual; the two capitalized forms |\Title| and |\Author| are also available.\footnote{Note, in fact, that the standard commands have been redefined (section~\ref{code}).} After that, the following commands should be used.\par
-% \DescribeMacro{\Affiliation}
-% The command |\Affiliation| normally takes as argument the author's Department and University.\par
-% \DescribeMacro{\Email} The |\Email| command takes as argument the electronic address of the author, printing it under author's name and affiliation. \par
-% \DescribeMacro{\Keywords} Finally, one should specify a short list of keywords, separated by commas, in the argument of the |\Keywords| command.\par
-% Note that the commands described above are mandatory, since they leave an empty space in the final document if not specified. For this reason, a warning will be issued if you don't specify them.\par
-% Some other commands and environments have been re-defined: these are |\maketitle|, |\tableofcontents| and |abstract|. Their usage, however, is exactly the standard one.\par
-% The following commands regard the information concerning the actual issue of the journal. You don't need to use these commands until the final version of your paper is ready, since this information will be supplied to you by the journal's editors. Each command has a default value which appears in the draft versions of the article.\par
-% \DescribeMacro{\Volume} The volume number, e.g. ``III'', has to be inserted by the user directly \emph{in Roman capital letters}, using the |\Volume| command. \par
-% \DescribeMacro{\Number} The |\Number| command takes as argument the number of the present issue, in arabic digits, e.g. ``1''.\par
+% \subsection{Class commands}
+% \DescribeMacro{\title}
+% \DescribeMacro{\author}
+% At the beginning of the document, one should specify the |\title| and |\author| fields as usual; the two capitalized forms |\Title| and |\Author| are also available. % \DescribeMacro{\shorttitle}
+%If the title contains any formatting (like emphasis or line breaks), then the |\shorttitle| command must be used to provide a version of the title with no formatting, which will be used in the running headings.
+%Multiple authors are inserted separating them with the |\and| command. Note that, for each author, one should specify the corresponding affiliation and e-mail address, separated by a |\\| command.
+% \DescribeMacro{\shortauthor}
+% For this reason, the |\shortauthor| command must be used to provide the author list for the running headings. This list contain the complete name of each author, separated by commas. Refer to the template file for an example. Finally, the standard |\maketitle| and |\tableofcontents| are used in this order to produce the first page of the paper.
+\par
+% \DescribeMacro{abstract}
+% Each \landps\ paper has always an abstract, inserted with the standard |abstract| environment.
+% \DescribeMacro{\keywords}
+%The abstract also displays a short list of keywords, separated by commas, which are inserted with |\keywords| command.\par
+% Note that all the commands described above are mandatory, since they leave an empty space in the final document if not specified. For this reason, a warning will be issued if you don't specify them.\par
+% The next group of commands concern the information about the present issue of the journal. You don't need to use these commands until the final version of your paper is ready, since this information will be supplied to you by the journal's editors (or inserted directly by them). Each command has a default value which appears in the draft versions of the article.\par
+% \DescribeMacro{\Volume} The volume number, e.g. ``III'', has to be inserted by the user directly \emph{in Roman capital letters}, using the |\Volume| command.
+% \DescribeMacro{\Number} The |\Number| command takes as argument the number of the present issue, in arabic digits, e.g. ``1''.
% \DescribeMacro{\Year} The year of publication of the article is then inserted with the |\Year| command.\par
-% \DescribeMacro{\FirstPage} The |\FirstPage| command takes as argument the number of the first actual page of the article --- once this has been inserted in the whole issue --- and set the page counter to that value; by default, its value is 1. The page range of the article will be automatically displayed in the header of the title page (after at least \emph{two} runs of (PDF)\LaTeX).\par
+% \DescribeMacro{\FirstPage} The |\FirstPage| command takes as its argument the number of the page of the journal issue where the article actually begins. It set the page counter to that value, by default 101. The page range of the article will be automatically displayed in the header of the title page (after at least \emph{two} runs of (PDF)\LaTeX). The value of this counter --- which \emph{must} be an odd number --- will be inserted by the journal editors once the whole issue is complete.\par
% \StopEventually{}
%
% \section{The code}\label{code}
@@ -219,7 +230,7 @@ Your article.
% \begin{macrocode}
%<*class>
\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]
% \end{macrocode}
%
@@ -228,24 +239,41 @@ Your article.
\LoadClass[11pt,twoside,onecolumn]{article}
% \end{macrocode}
%
-% At the present moment, the class require four standard \LaTeX\ packages:
+% The class requires some standard \LaTeX\ packages:
% \begin{macrocode}
\RequirePackage{mathptmx}
-\RequirePackage{geometry}
+\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}
% \end{macrocode}
%
% We define or re-define some standard commands about article's author and title:
% \begin{macrocode}
+\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}}
+% \end{macrocode}
+% The |\and| command for multiple authors is redefined:
+% \begin{macrocode}
+\renewcommand{\and}{%
+ \end{tabular}%
+ \vskip .5em \@plus.17fil%
+ \begin{tabular}[t]{c}}%
+% \end{macrocode}
+% The following commands (|\Author|, |\Affiliation| and |\Email|) are defined for compatibility with older versions, but are presently useless:
+% \begin{macrocode}
+\let\Author\author
\newcommand{\the@affiliation}%
{\@latex@warning@no@line{No \noexpand\Affiliation given}}
\newcommand{\Affiliation}[1]{\renewcommand{\the@affiliation}{#1}}
@@ -253,31 +281,31 @@ Your article.
{\@latex@warning@no@line{No \noexpand\Email given}}
\newcommand{\Email}[1]{\renewcommand{\the@email}{e-mail: #1}}
% \end{macrocode}
-% and about the issue in question:
+% The following four commands take care of the issue's information:
% \begin{macrocode}
-\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}}
% \end{macrocode}
-%
-% The first group of commands is used on the first page by a re-defined version of the |\maketitle| command:
+% The |\maketitle| command is slightly redefined, mainly with respect vertical spaces:
% \begin{macrocode}
\renewcommand{\@maketitle}{\newpage\null\vspace{4mm}
{\centering
\let\footnote\thanks
{\LARGE \the@title}\vskip 10mm
{\normalsize
- \the@author\\\the@affiliation\\\the@email
+ \begin{tabular}[t]{c}%
+ \@author
+\end{tabular}
}
\vskip 10mm}}
% \end{macrocode}
-%
% The |\tableofcontents| command is also redefined as follows:
% \begin{macrocode}
\renewcommand{\tableofcontents}{
@@ -291,12 +319,11 @@ Your article.
{\contentslabel[\bfseries\thecontentslabel ]%
{1.4em}}{\itshape}{}[]
% \end{macrocode}
-%
% Finally, the \cod{abstract} environment is redefined in order to display a newly defined \cod{keywords} field:
% \begin{macrocode}
\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%
@@ -320,10 +347,10 @@ Your article.
% \begin{macrocode}
\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}}
% \end{macrocode}
% and re-define the standard \cod{plain} style for the title page:
@@ -337,22 +364,14 @@ Your article.
\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}}
-% \end{macrocode}
-%
-% Other specifications regard sections' and footnotes' style:
+% \end{macrocode}
+% Other specifications concern the style of sections' titles and of footnotes:
% \begin{macrocode}
-\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}%
@@ -360,6 +379,11 @@ Your article.
\setlength{\skip\footins}{6mm}
% \end{macrocode}
%
+% As far as the references list is concerned, its title is typeset in small caps and normal font:
+% \begin{macrocode}
+\renewcommand{\refname}%
+ {\normalfont\textsc{References}}
+% \end{macrocode}
% Finally, we apply the new page style to the document:
% \begin{macrocode}
\AtBeginDocument{\pagestyle{lps}}
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
%%