Llncsdoc PDF
Llncsdoc PDF
Llncsdoc PDF
LATEX 2 Class
for Lecture Notes
in Computer Science
Version 2.4
2 LATEX 2 Class for Lecture Notes in Computer Science
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 How to Proceed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 How to Invoke the LLNCS Document Class . . . . . . . . . . . . . . . . . . . 4
2.2 Contributions Already Coded with LATEX without the LLNCS
document class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 General Rules for Coding Formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1 Italic and Roman Type in Math Mode . . . . . . . . . . . . . . . . . . . . . . . 6
4 How to Edit Your Input (Source) File . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4.1 Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4.2 Capitalization and Non-capitalization . . . . . . . . . . . . . . . . . . . . . . . . 6
4.3 Abbreviation of Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 How to Code the Beginning of Your Contribution . . . . . . . . . . . . . . . . . . 7
6 Special Commands for the Volume Editor . . . . . . . . . . . . . . . . . . . . . . . . . 9
7 How to Code Your Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
8 Predened Theorem like Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9 Dening your Own Theorem like Environments . . . . . . . . . . . . . . . . . . . . 11
9.1 Method 1 (preferred) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
9.2 Method 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
9.3 Unnumbered Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
10 Program Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
11 Fine Tuning of the Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
12 Special Typefaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
13 Footnotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
14 Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
15 Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
16 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
16.1 Tables Coded with LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
16.2 Tables Not Coded with LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
16.3 Signs and Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
17 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
17.1 References by Letter-Number or by Number Only . . . . . . . . . . . . . 21
17.2 Author-Year System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4 LATEX 2 Class for Lecture Notes in Computer Science
1 Introduction
Authors wishing to code their contribution with LATEX, as well as those who
have already coded with LATEX, will be provided with a document class that
will give the text the desired layout. Authors are requested to adhere strictly to
these instructions; the class file must not be changed.
The text output area is automatically set within an area of 12.2 cm horizon-
tally and 19.3 cm vertically.
If you are already familiar with LATEX, then the LLNCS class should not give
you any major diculties. It will change the layout to the required LLNCS style
(it will for instance dene the layout of \section). We had to invent some extra
commands, which are not provided by LATEX (e.g. \institute, see also Sect. 5)
For the main body of the paper (the text) you should use the commands of the
standard LATEX article class. Even if you are familiar with those commands,
we urge you to read this entire documentation thoroughly. It contains many
suggestions on how to use our commands properly; thus your paper will be
formatted exactly to LLNCS standard. For the input of the references at the end
of your contribution, please follow our instructions given in Sect. 17 References.
The majority of these hints are not specic for LLNCS; they may improve
your use of LATEX in general. Furthermore, the documentation provides sugges-
tions about the proper editing and use of the input les (capitalization, abbre-
viation etc.) (see Sect. 4 How to Edit Your Input File).
2 How to Proceed
The package consists of the following les:
history.txt the version history of the package
llncs.cls class le for LATEX
llncs.dem an example showing how to code the text
llncs.doc general instructions (source of this document),
llncs.doc means l atex documentation for
Lecture Notes in C omputer S cience
llncsdoc.pdf the documentation of the class (PDF version),
llncs.doc general instructions (source of this document),
llncsdoc.sty class modications to help for the instructions
llncs.ind an external (faked) author index le
subjidx.ind subject index demo from the Springer book package
llncs.dvi the resultig DVI le (remember to use binary transfer!)
sprmindx.sty supplementary style le for MakeIndex
(usage: makeindex -s sprmindx.sty <yourfile.idx>)
\begin{equation}
\left(\frac{a^{2} + b^{2}}{c^{3}} \right) = 1 \quad
\mbox{ if } c\neq 0 \mbox{ and if } a,b,c\in \bbbr \enspace .
\end{equation}
Sample Output
a2 + b 2
=1 if c = 0 and if a, b, c IR . (1)
c3
6 LATEX 2 Class for Lecture Notes in Computer Science
\thanks may only appear in \title, \author and \institute to footnote any-
thing. If there are two or more footnotes or aliation marks to a specic item
separate them with \fnmsep (i.e. footnote mark separator).
The command
\maketitle
then formats the complete heading of your article. If you leave it out the work
done so far will produce no text.
Then the abstract should follow. Simply code
\begin{abstract}
<Text of the summary of your article>
\end{abstract}
The volume editor can produce a complete camera ready output including run-
ning heads, a table of contents, preliminary text (frontmatter), and index or glos-
sary. For activating the running heads there is the class option [runningheads].
The table of contents of the volume is printed wherever \tableofcontents is
placed. A simple compilation of all contributions (elds \title and \author) is
done. If you wish to change this automatically produced list use the commands
\titlerunning \toctitle
\authorrunning \tocauthor
Sample Input
\spnewtheorem{mainth}[theorem]{Main Theorem}{\bfseries}{\itshape}
\begin{theorem} The early bird gets the worm. \end{theorem}
\begin{mainth} The early worm gets eaten. \end{mainth}
Sample Output
Theorem 3. The early bird gets the worm.
Main Theorem 4. The early worm gets eaten.
The sharing of the default counter ([theorem]) is desired. If you omit the
optional second argument of \spnewtheorem a separate counter for your new
environment is used throughout your document.
12 LATEX 2 Class for Lecture Notes in Computer Science
\spnewtheorem{<env_nam>}{<caption>}[<within>]
{<cap_font>}{<body_font>}
This denes a new environment <env_nam> which prints the caption <caption>
in the font <cap_font> and the text itself in the font <body_font>. The en-
vironment is numbered beginning anew with every new sectioning element you
specify with the optional parameter <within>.
Example
\spnewtheorem{joke}{Joke}[subsection]{\bfseries}{\rmfamily}
denes a new environment called joke which prints the caption Joke in boldface
and the text in roman. The jokes are numbered starting from 1 at the beginning
of every subsection with the number of the subsection preceding the number of
the joke e.g. 7.2.1 for the rst joke in subsection 7.2.
\spnewtheorem*{<env_nam>}{<caption>}{<cap_font>}{<body_font>}
10 Program Codes
In case you want to show pieces of program code, just use the verbatim en-
vironment or the verbatim package of LATEX. (There also exist various pretty
printers for some programming languages.)
\title{Hamiltonian Mechanics}
\maketitle
%
\begin{abstract}
LATEX 2 Class for Lecture Notes in Computer Science 13
\end{theorem}
\begin{definition}
We shall say that a $C^{1}$ function $\Phi:X\to\bbbr$
satisfies \dots
\end{definition}
Sample Output (follows on the next page together with examples of the above
run-in headings)
Hamiltonian Mechanics
With this chapter, the preliminaries are over, and we begin the search for periodic
solutions . . .
In this section we will consider the case when the Hamiltonian H(x) . . .
Proof (of proposition). Condition (8) means that, for every > , there is some
> 0 such that . . .
12 Special Typefaces
Normal type (roman text) need not be coded. Italic ({\em <text>} better still
\emph{<text>}) or, if necessary, boldface should be used for emphasis.
{\itshape Text} Italicized Text
{\em Text} Emphasized Text if you would like to emphasize a deni-
tion within an italicized text (e.g. of a theorem) you should
code the expression to be emphasized by \em.
{\bfseries Text} Important Text
\vec{Symbol} Vectors may only appear in math mode. The default LATEX
vector symbol has been adapted3 to LLNCS conventions.
$\vec{A \times B\cdot C} yields A B C
$\vec{A}^{T} \otimes \vec{B} \otimes
\vec{\hat{D}}$yields AT B D
3
If you absolutely must revive the original LATEX design of the vector symbol (as an
arrow accent), please specify the option [orivec] in the documentclass line.
LATEX 2 Class for Lecture Notes in Computer Science 17
13 Footnotes
Footnotes within the text should be coded:
\footnote{Text}
Sample Input
Text with a footnote\footnote{The footnote is automatically
numbered.} and text continues . . .
Sample Output
Text with a footnote4 and text continues . . .
14 Lists
Please code lists as described below:
Sample Input
\begin{enumerate}
\item First item
\item Second item
\begin{enumerate}
\item First nested item
\item Second nested item
\end{enumerate}
\item Third item
\end{enumerate}
Sample Output
1. First item
2. Second item
(a) First nested item
(b) Second nested item
3. Third item
15 Figures
Figure environments should be inserted after (not in) the paragraph in which
the gure is rst mentioned. They will be numbered automatically.
Preferably the images should be enclosed as PostScript les best as EPS
data using the epsg package.
If you cannot include them into your output this way and use other tech-
niques for a separate production, the gures (line drawings and those containing
4
The footnote is automatically numbered.
18 LATEX 2 Class for Lecture Notes in Computer Science
halftone inserts as well as halftone gures) should not be pasted into your laser-
printer output. They should be enclosed separately in camera-ready form (orig-
inal artwork, glossy prints, photographs and/or slides). The lettering should be
suitable for reproduction, and after a probably necessary reduction the height
of capital letters should be at least 1.8 mm and not more than 2.5 mm. Check
that lines and other details are uniformly black and that the lettering on gures
is clearly legible.
To leave the desired amount of space for the height of your gures, please use
the coding described below. As can be seen in the output, we will automatically
provide 1 cm space above and below the gure, so that you should only leave
the space equivalent to the size of the gure itself. Please note that x in the
following coding stands for the actual height of the gure:
\begin{figure}
\vspace{x cm}
\caption[ ]{...text of caption...} (Do type [ ])
\end{figure}
Sample Input
\begin{figure}
\vspace{2.5cm}
\caption{This is the caption of the figure displaying a white
eagle and a white horse on a snow field}
\end{figure}
Sample Output
Fig. 1. This is the caption of the gure displaying a white eagle and a white horse on
a snow eld
16 Tables
Table captions should be treated in the same way as gure legends, except that
the table captions appear above the tables. The tables will be numbered auto-
matically.
LATEX 2 Class for Lecture Notes in Computer Science 19
Sample Output
L Te
M 0 Tc6 Ncrit Ncrit
\begin{table}
\caption{text of your caption}
\vspace{x cm} % the actual height needed for your table
\end{table}
Gothic (Fraktur). If gothic letters are necessary, please use those of the rel-
evant AMS-TEX alphabet which are available using the amstex package of the
American Mathematical Society.
In LATEX only the following gothic letters are available: $\Re$ yields and
$\Im$ yields
. These should not be used when you need gothic letters for
your contribution. Use AMS-TEX gothic as explained above. For the real and
the imaginary parts of a complex number within math mode you should use
instead: $\mathrm{Re}$ (which yields Re) or $\mathrm{Im}$ (which yields Im).
Special Roman. If you need other symbols than those below, you could use the
blackboard bold characters of AMS-TEX, but there might arise capacity prob-
lems in loading additional AMS-TEX fonts. Therefore we created the blackboard
bold characters listed below. Some of them are not esthetically satisfactory. This
need not deter you from using them: in the nal printed form they will be re-
placed by the well-designed MT (monotype) characters of the phototypesetting
machine.
\bbbc (complex numbers) yields C \bbbf (blackboard bold F) yields IF
\bbbh (blackboard bold H) yields IH \bbbk (blackboard bold K) yields IK
\bbbm (blackboard bold M) yields IM \bbbn (natural numbers N) yields IN
\bbbp (blackboard bold P) yields IP \bbbq (rational numbers) yields Q
\bbbr (real numbers) yields IR \bbbs (blackboard bold S) yields S
\bbbt (blackboard bold T) yields T \bbbz (whole numbers) yields ZZ
\bbbone (symbol one) yields 1l
C IM IP
CC IFIFIF IHIHIH IKIKIK IMIM INININ IPIP
IR T
QQQ IRIR SSS TT ZZ 1l1l1l
LATEX 2 Class for Lecture Notes in Computer Science 21
17 References
There are three reference systems available; only one, of course, should be used
for your contribution. With each system (by number only, by letter-number
or by author-year) a reference list containing all citations in the text, should
be included at the end of your contribution placing the LATEX environment
thebibliography there. For an overall information on that environment see
the LATEX Users Guide & Reference Manual by Leslie Lamport, p. 71.
There is a special BibTEX style for LLNCS that works along with the class:
splncs.bst call for it with a line \bibliographystyle{splncs}. If you plan
to use another BibTEX style you are customed to, please specify the option
[oribibl] in the documentclass line, like:
\documentclass[oribibl]{llncs}
This will retain the original LATEX code for the bibliographic environment and
the \cite mechanism that many BibTEX applications rely on.
References
[CE1] Clarke, F., Ekeland, I.: Nonlinear oscillations and boundary-value problems for
Hamiltonian systems. Arch. Rat. Mech. Anal. 78, 315333 (1982)
[CE2] Clarke, F., Ekeland, I.: Solutions periodiques, du periode donnee, des equations
hamiltoniennes. Note CRAS Paris 287, 10131015 (1978)
[MT1] Michalek, R., Tarantello, G.: Subharmonic solutions with prescribed minimal
period for nonautonomous Hamiltonian systems. J. Di. Eq. 72, 2855 (1988)
[Ta1] Tarantello, G.: Subharmonic solutions for Hamiltonian systems via a ZZ p
pseudoindex theory. Annali di Matematica Pura (to appear)
[Ra1] Rabinowitz, P.: On subharmonic solutions of a Hamiltonian system. Comm.
Pure Appl. Math. 33, 609633 (1980)
Number-Only System. For this preferred system do not use the optional
argument in the \bibitem command: then, only numbers will appear for the
citations in the text (enclosed in square brackets) as well as for the marks in your
bibliography (here the number is only end-punctuated without square brackets).
Subsequent citation numbers in the text are collapsed to ranges. Non-numeric
and undened labels are handled correctly but no sorting is done.
E.g., \cite{n1,n3,n2,n3,n4,n5,foo,n1,n2,n3,?,n4,n5} where nx is the
key of the xth \bibitem command in sequence, foo is the key of a \bibitem with
an optional argument, and ? is an undened reference gives 1,3,2-5,foo,1-3,?,4,5
as the citation reference.
\begin{thebibliography}{1}
\bibitem {clar:eke}
Clarke, F., Ekeland, I.:
Nonlinear oscillations and boundary-value problems for
Hamiltonian systems.
Arch. Rat. Mech. Anal. 78, 315--333 (1982)
\end{thebibliography}
How to Code Author-Year System. If you want to use this system you have
to specify the option [citeauthoryear] in the documentclass, like:
\documentclass[citeauthoryear]{llncs}
Write your citations in the text explicitly except for the year, leaving that up
to LATEX with the \cite command. Then give only the appropriate year as
the optional argument (i.e. the label in square brackets) with the \bibitem
command(s).
Sample Input
The results in this section are a refined version
of Clarke and Ekeland (\cite{clar:eke}); the minimality result of
Proposition~14 was the first of its kind.
The above input produces the citation: . . . rened version of Clarke and Eke-
land (1982); the minimality. . . . Then the \bibitem entry of clar:eke in the
thebibliography environment should read:
\begin{thebibliography}{} % (do not forget {})
.
.
\bibitem[1982]{clar:eke}
Clarke, F., Ekeland, I.:
Nonlinear oscillations and boundary-value problems for
Hamiltonian systems.
Arch. Rat. Mech. Anal. 78, 315--333 (1982)
.
.
\end{thebibliography}
Sample Output
References
Clarke, F., Ekeland, I.: Nonlinear oscillations and boundary-value problems for Hamil-
tonian systems. Arch. Rat. Mech. Anal. 78, 315333 (1982)