Merge branch 'add-accepted' of https://github.com/koppor/llncsconf into koppor-add-accepted

This commit is contained in:
Achim D. Brucker 2018-02-17 17:06:23 +00:00
commit c718b0e58f
2 changed files with 28 additions and 9 deletions

View File

@ -14,20 +14,24 @@ In a LaTeX file that uses Springer's `llncs` class, just add
to use the style. The package supports the following options:
* `crop`: crops the page (PDF) to the page size (152x235mm) used by
the LNCS proceedings books (and the official PDFs offered by
Springer),
Springer). Please ensure that you *do not* have the option
`a4paper` activated. Otherwise, cropping produces wrong results.
* `rcsinfo`: adds RCS revision information to the first page of
the document,
the document.
* `svninfo`: adds subversion/svn revision information to the
first page of the document,
* `submitted`: adds a *submitted to ... please to no distribute* note
to the first page.
* `intended`: adds a *submitted to ... please to no distribute* note
to the first page.
first page of the document.
* `llncs`: typesets a copy of Springer's copyright note. This should
satisfy Springer's requirements for self-archiving.
You need to supply the DOI using `\llncsdoi{DOI}`.
* `proceedings`: typesets a note in which proceedings the paper was
published (similar to `llncs` without Springer's availability note).
* `accepted`: adds a *accepted for publication at ...* note
to the first page. This is useful for the phase where the camera
ready version is prepared, but the publisher did not yet publish it.
* `submitted`: adds a *submitted to ... please to no distribute* note
to the first page.
* `intended`: adds a *submitted to ... please to no distribute* note
to the first page.
Moreover, the package requires two commands to be executed:
* `\conference{name of the conference}` which takes one argument,

View File

@ -15,6 +15,7 @@
%
\newboolean{rcsinfo}
\newboolean{svninfo}
\newboolean{accepted}
\newboolean{submitted}
\newboolean{intended}
\newboolean{llncs}
@ -24,6 +25,7 @@
\DeclareOption{crop}{\setboolean{crop}{true}}
\DeclareOption{rcsinfo}{\setboolean{rcsinfo}{true}}
\DeclareOption{svninfo}{\setboolean{svninfo}{true}}
\DeclareOption{accepted}{\setboolean{accepted}{true}}
\DeclareOption{submitted}{\setboolean{submitted}{true}}
\DeclareOption{intended}{\setboolean{intended}{true}}
\DeclareOption{llncs}{\setboolean{llncs}{true}}
@ -68,6 +70,12 @@
\quad Time: \rcsInfoTime \quad File: \rcsInfoFile\\}}
}\let\@evenfoot\@oddfoot}
%
\def\ps@acceptedfirst{\let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@evenhead\@empty
\def\@oddfoot{\reset@font\scriptsize
\vbox to\z@{\parindent=\z@\vss
Accepted for publication at \@conference.
}}\let\@evenfoot\@oddfoot}
%
\def\ps@submitted{\let\@mkboth\@gobbletwo
\def\@oddfoot{\reset@font\scriptsize
\vbox to\z@{\parindent=\z@\vss
@ -81,7 +89,6 @@
\copyright\ \number\year, \@author
}}\let\@evenfoot\@oddfoot}
%
%
\def\ps@intended{\let\@mkboth\@gobbletwo
\def\@oddfoot{\reset@font\scriptsize
\vbox to\z@{\parindent=\z@\vss
@ -130,12 +137,20 @@
%\def\maketitle{\old@mkttl\thispagestyle{svninfofirst}}%
}{}
% </svninfo>
% <submitted>
% <accepted>
\ifthenelse{\boolean{accepted}}{%
\let\old@mkttl=\maketitle%
\def\maketitle{\old@mkttl\thispagestyle{acceptedfirst}}%
}{}
% </accepted>
% <intended>
\ifthenelse{\boolean{intended}}{%
% \pagestyle{intended}%
\let\old@mkttl=\maketitle%
\def\maketitle{\old@mkttl\thispagestyle{intendedfirst}}%
}{}
% </intended>
% <submitted>
\ifthenelse{\boolean{submitted}}{%
\pagestyle{submitted}%
\let\old@mkttl=\maketitle%