How to proceed
下載下傳的壓縮包包含如下檔案:
Files in package | 說明 |
---|---|
history.txt | the version history of the package |
llncs.cls | class file for LATEX |
llncs.dem | an example showing how to code the text |
llncs.doc | general instructions (source of this document), llncs.doc means latex documentation for Lecture Notes in Computer Science |
llncsdoc.pdf | the documentation of the class (PDF version) |
llncs.doc | general instructions (source of this document) |
llncsdoc.sty | class modifications to help for the instructions |
llncs.ind | an external (faked) author index file |
subjidx.ind | subject index demo from the Springer book package |
llncs.dvi | the resultig DVI file (remember to use binary transfer!) |
sprmindx.sty | supplementary style file for MakeIndex (usage: ) |
Invoke LLNCS class
LLNCS 隻是标準 LATEX “article” class 的拓展版本,是以在文章中可以使用所有 “article” 的文法。如果要使用 LLNCS class,則使用如下形式:
\documentclass{llncs}
%
\begin{document}
<Your contribution>
\end{document}
文章已經用 LATEX 寫好而未使用 LLNCS 格式的情況
請不要使用任何會影響文檔布局或格式的 LATEX 或 TEX指令(即像
\textheight
,
\vspace
,
\headsep
, etc)。然而,有可能會有例外的情況下,可以使用一些。
公式輸入
公式會以您文章出現的順序在右手邊使用阿拉伯數字自動編号。當你的工作在數學模式時,都是用斜體字排版。有時候你需要插入非數學元素(例如單詞或短語)。這種插入的代碼應該使用 roman(即
\mbox
)如下例所示:
\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}
輸出示例:
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIiV2dhcmbw5ietFnM5ZmVvwVbvNmLs92bjlWd05iMn1Wavw1LcpDc0RHaiojIsJye.png!web)
如果你想在一個顯示公式後立即開始新的段落,插入一個空白行,以産生所需的縮進。如果不插入一個空白行或代碼
\noindent
會立即繼續之前的文本而沒有沒有新的段落。
displayed 公式也使用相同的方式處理,其他普通文本則在結束本句前使用
\enspace
。
注意括号的尺寸或其他分隔符必須保證是閉合的,使用下面指令可以保證:
\left( 或者 \left[ 和 \right) 或者 \right].
斜體和 Roman 體
- 在公式中,一般使用斜體,但下标應使用 Roman 體而不是斜體。
- 確定一些實體标記使用
指令,如 Hz:\mathrm
。還有一些常用的數學函數,如 log,sin,exp,max和sup應該使用:\mathrm{Hz}
,\log
,\sin
,\exp
和\max
。\sup
- 化學式應該使用 Roman 體,如: H2O。
- 熟悉的單詞或句子不應使用斜體,如: et al., a priori, in situ, bremsstrahlung, eigenvalues。
How to Edit Input (Source) File
Headings
标題中的所有單詞應該都大寫,除了連詞、介詞 (例如 on, of, by, and, or, but, from, with, without, under) 還有定冠詞和不定冠詞 (the, a, an) 除非他們出現在開頭,否則均小寫。公式的字母必須在文本内排版。
大寫和不大寫
- 下面情況均需大寫:
- Headings。
- 文章中的縮寫和表達式,如: Fig(s)., Table(s), Sect(s)., Chap(s)., Theorem, Corollary, Definition etc. 跟數字一起使用時,如: Fig.3, Table 1, Theorem 2。
- 下面情況不能大寫:
- 在文章中,當 figure(s), table(s), equation(s), theorem(s) 等詞沒有與編号一起使用時。
- 圖表圖例和表格标題,除非是縮寫。
詞的縮寫
-
下列詞除非是出現在句子開頭,否則在文章中應該使用縮寫: Chap., Sect., Fig.。例如: The results are depicted in Fig.5. Figure 9 reveals that ….
注: 公式一般使用括号跟數字代替,但出現在句子開頭時需使用 “Equation”。 例如:Equation (14) is very important. However, (15) makes it clear that ….
- 如果文章中有出現全局的縮寫,應該在第一次出現的時候标明,如: Plurisubharmonic (PSH) Functions, Strong Optimization (SOPT) Problem.
文章的開頭
文章的标題(必須的)使用如下形式:
\title{<Your contribution title>}
标題中所有單詞應大寫,除了連詞、介詞和不出現在開頭的定冠詞和不定冠詞。标題沒有結束标點。
如果是很長的标題,使用
\\
另起一行。
If you are to produce running heads for a specific volume the standard (of no such running heads) is overwritten with the [runningheads] option in the \documentclass line. For long titles that do not fit in the single line of the running head a warning is generated. You can specify an abbreviated title for the running head on odd pages with the command:
\titlerunning{<Your abbreviated contribution title>}
There is also a possibility to change the text of the title that goes into the table of contents (that’s for volume editors only – there is no table of contents for a single contribution). For this use the command:
\toctitle{<Your changed title for the table of contents>}
副标題使用:
\subtitle{<subtitle of your contribution>}
作者使用:
\author{<author(s) name(s)>}
為每個作者或位址指定标号時,使用:
\inst{<no>}
超過一位作者的話,可以使用
\and
分隔。例如:
\author{Ivar Ekeland\inst{1} \and Roger Temam\inst{2}}
下面就是位址(學校,公司)了,多于一個位址,使用
\and
指令會自動編号,請確定跟作者順序對應。
\institute{<name of an institute>
\and <name of the next institute>
\and <name of the next institute>}
在
\institute
内使用
\email{<email address>}
可以提供email位址。如果在文章的任何地方需要注腳,請使用(immediately after the word where the footnote indicator should be placed):
\thanks{<text>}
\thanks
僅能出現在
\title
,
\author
and
\institute
中. 如果有兩個或更多的腳注使用
\fnmsep
(i.e. footnote mark separator) 分隔.
\maketitle
然後 heading 就結束了,到這一步為止,還不會産生任何文本。
接下來就是摘要:
\begin{abstract}
<Text of the summary of your article>
\end{abstract}
```
### How to Code Your Text ###
用以下代碼的話,标題會自動編号:
```cpp
\section{This is a First-Order Title}
\subsection{This is a Second-Order Title}
\subsubsection{This is a Third-Order Title.}
\paragraph{This is a Fourth-Order Title.}
\section
and
\subsection
沒有 end punctuation。
\subsubsection
and
\paragraph
需要在末尾 punctuate。
另外,theorem-like environments 會自動編号,如果要使用計數器,隻需指定
envcountsame
:
\documentclass[envcountsame]{llncs}
例如
\begin{lema}
,第一次調用時會編号為1,再次調用編号為2,以此類推。如果需要每個 section 都重新計數,則指定為
envcountreset
:
\documentclass[envcountreset]{llncs}
預定義的 Theorem-like Environments
下面的标題随你選擇:
- 加粗并帶斜體文本的 run-in 标題:
\begin{corollary} <text> \end{corollary} \begin{lemma} <text> \end{lemma} \begin{proposition} <text> \end{proposition} \begin{theorem} <text> \end{theorem}
- 以下的一般表現為斜體 run-in 标題:
\begin{proof} <text> \qed \end{proof}
這不編号,并且在結束前有一個吸引眼球的 square (即
\qed
)。
- 更多斜體和加粗體 run-in 标題:
\begin{definition} <text> \end{definition} \begin{example} <text> \end{example} \begin{exercise} <text> \end{exercise} \begin{note} <text> \end{note} \begin{problem} <text> \end{problem} \begin{question} <text> \end{question} \begin{remark} <text> \end{remark} \begin{solution} <text> \end{solution}
自定義的 Theorem-like Environments
加強了标準的
\newtheorem
指令,得到兩個新的指令
\ spnewtheorem
和
\spnewtheorem*
,現在可以使用來定義新的文法。需要兩個參數:type style 和 text style。type style 表示所出現的環境,text style 表示新環境的 text style。使用
\ spnewtheorem
的兩種方法:
第一種(推薦!)
如果想與其他環境共享計數器,使用
\spnewtheorem{<env_nam>}[<num_like>]{<caption>} {<cap_font>}{<body_font>}
[<num_like>]
指定為想要共享的環境。
例如:
\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}
輸出為
Theorem 3. The early bird gets the worm.
Main Theorem 4. The early worm gets eaten.
第二種
\spnewtheorem{<env_nam>}{<caption>}[<within>]
{<cap_font>}{<body_font>}
上述代碼會定義一個名為
<env_name>
的環境,它以
<cap_font>
列印标題
<caption>
, 它以
<body_font>
列印文本。在每個新 section 指定
<within>
時,會重新編号。
例如:
\spnewtheorem{joke}{Joke}[subsection]{\bfseries}{\rmfamily}
defines 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 first joke in subsection 7.2.
Unnumbered Environments
如果想要非編号環境,使用:
\spnewtheorem*{<env_nam>}{<caption>}{<cap_font>}{<body_font>}
程式代碼
可以使用 verbatim 環境或者 LATEX 的 verbatim package。
文章示例:
\title{Hamiltonian Mechanics}
\author{Ivar Ekeland\inst{1} \and Roger Temam\inst{2}}
\institute{Princeton University, Princeton NJ 08544, USA
\and
Universit\’{e} de Paris-Sud,
Laboratoire d’Analyse Num\’{e}rique, B\^{a}timent 425,\\
F-91405 Orsay Cedex, France}
\maketitle
%
\begin{abstract}
This paragraph shall summarize the contents of the paper in short terms.
\end{abstract}
%
\section{Fixed-Period Problems: The Sublinear Case}
%
With this chapter, the preliminaries are over, and we begin the search for periodic solutions \dots
%
\subsection{Autonomous Systems}
%
In this section we will consider the case when the Hamiltonian
$H(x)$ \dots
%
\subsubsection*{The General Case: Nontriviality.}
%
We assume that $H$ is
$\left(A_{\infty}, B_{\infty}\right)$-subqua\-dra\-tic
at infinity, for some constant \dots
%
\paragraph{Notes and Comments.}
The first results on subharmonics were \dots
%
\begin{proposition}
Assume $H’(0)=0$ and $ H(0)=0$. Set \dots
\end{proposition}
\begin{proof}[of proposition]
Condition (8) means that, for every $\delta’>\delta$, there is
some $\varepsilon>0$ such that \dots \qed
\end{proof}
%
\begin{example}[\rmfamily (External forcing)]
Consider the system \dots
\end{example}
\begin{corollary}
Assume $H$ is $C^{2}$ and
$\left(a_{\infty}, b_{\infty}\right)$-subquadratic
at infinity. Let \dots
\end{corollary}
\begin{lemma}
Assume that $H$ is $C^{2}$ on $\bbbr^{2n}\backslash \{0\}$
and that $H’’(x)$ is \dots
\end{lemma}
\begin{theorem}[(Ghoussoub-Preiss)]
Let $X$ be a Banach Space and $\Phi:X\to\bbbr$ \dots
\end{theorem}
\begin{definition}
We shall say that a $C^{1}$ function $\Phi:X\to\bbbr$
satisfies \dots
\end{definition}
輸出示例如下圖,或 官網 下載下傳檢視
文本優化
文本優化 | 意義 |
---|---|
\, | 産生一個小型空格。例如在數字之間 |
– | 産生一個橫杠。前後無空格 |
– | 産生一個橫杠。前後各一空格 |
- | 連字元。前後無空格 |
$-$ | 負号。隻在文本中使用 |
例如
21\,$^{\circ}$C etc.,
Dr h.\,c.\,Rockefellar-Smith \dots
20,000\,km and Prof.\,Dr Mallory \dots
1950--1985 \dots
this -- written on a computer -- is now printed
$-30$\,K \dots
輸出
21◦C etc., Dr h.c.Rockefellar-Smith ...
20,000km and Prof.Dr Mallory ...
1950–1985 ...
this – written on a computer – is now printed
−30K ...
特殊字型
普通的字型類型(Roman)不需要代碼。斜體 (
{\em <text>}
或
\emph{<text>}
),如果需要,黑體用于強調:
特殊字型 | 意義 |
---|---|
| 斜體文本 |
| 強調的文本 |
| 重要文本 |
| 向量隻能出現在 math mode。如 得到 |
Footnotes
注腳應該被包含在下面代碼中:
\footnote{Text}
例如
Text with a footnote\footnote{The footnote is automatically numbered.} and text continues ...
輸出
Text with a footnote^4 and text continues ...
Lists
例如
\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}
輸出
1. First item
2. 2. Second item
(a) First nested item
(b) Second nested item
3. Third item
插圖
圖檔應該插入到第一次提到該圖檔的段落後(不是段落中),它會被自動編号。圖檔應該是 PostScript 檔案——最好是 EPS 資料,通過 epsfig package 生成。
格式:
\begin{figure}
\vspace{x cm}
\caption[ ]{...text of caption...} (Do type [ ])
\end{figure}
x
表示圖檔的高度。
例如:
\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}
更多請參見 LATEX 文檔 p. 26 ff. 和 p. 204
表格
使用 LATEX 編寫表格
例如
\begin{table}
\caption{Critical $N$ values}
\begin{tabular}{llllll}
\hline\noalign{\smallskip}
${\mathrm M}_\odot$ & $\beta_{0}$ & $T_{\mathrm c6}$ & $\gamma$
& $N_{\mathrm{crit}}^{\mathrm L}$
& $N_{\mathrm{crit}}^{\mathrm{Te}}$\\
\noalign{\smallskip}
\hline
\noalign{\smallskip}
30 & 0.82 & 38.4 & 35.7 & 154 & 320 \\
60 & 0.67 & 42.1 & 34.7 & 138 & 340 \\
120 & 0.52 & 45.1 & 34.0 & 124 & 370 \\
\hline
\end{tabular}
\end{table}
輸出
不使用 LATEX
\begin{table}
\caption{text of your caption}
\vspace{x cm} % the actual height needed for your table
\end{table}
Signs and Characters
更多請參見原文檔和 LATEX 官方文檔 pp.41 ff.
參考文獻
有三種參考文獻模式:number only,letter-number, 或 author-year。更多請參見 LATEX 官方文檔 p. 71.
LLNCS 有一種特殊的 BIBTEX 格式,使用class: splncs.bst。調用代碼
\bibliographystyle{splncs}
。
如果打算使用 author BIBTEX style,請指定
[oribibl]
參數:
\documentclass[oribibl]{llncs}
Letter-Number 或 Number Only
在文章中使用
\cite
指令來引用文章,會得到形如:[1],[E1, S2], [P1] 中之一的格式,這取決于 thebibliography 環境中
\bibitem
的使用。
thebibliography 環境:
\begin{thebibliography}{[MT1]}
.
.
\bibitem[CE1]{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}
會産生類似的效果:
[CE1] Clarke, F., Ekeland, I.: Nonlinear oscillations and boundary-value problems for Hamiltonian systems. Arch. Rat. Mech. Anal. 78, 315–333 (1982)
[CE2] Clarke, F., Ekeland, I.: Solutions p´eriodiques, du p´eriode donn´ee, des ´equations hamiltoniennes. Note CRAS Paris 287, 1013–1015 (1978)
在文章中引用時:
The results in this section are a refined version of \cite{clar:eke};
會得到
The results in this section are a refined version of [CE1];
Number-Only System
thebibliography 環境:
\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}
在文章中引用時:
\cite{n1,n3,n2,n3,n4,n5,foo,n1,n2,n3,?,n4,n5}
能夠得到:
[1,3,2-5,foo,1-3,?,4,5]
Author-Year System
效果就像這樣:
(Smith 1970,1980),(Ekelandetal.1985,Theorem2),(JonesandJffe 1986; Farrow 1988, Chap.2)
。如果名字作為句子的一部分,那麼括号内就可能隻出現年份,如,
Ekeland et al. (1985, Sect.2.1)
。
如果有幾個文章屬于同一(多)個作者,引用時應列在适當的順序,表示如下:
- 一個作者:按文章時間排序;
- 相同的合作作者:按文章時間排序;
- 和不同的合作作者:按合作作者名字進行字母排序;
如果,有多個同樣的作者同樣的時間的文章,用 “a”, “b”, “c”, etc 區分。
How to Code Author-Year System
要使用這個系統,則需指定
[citeauthoryear]
參數,如:
\documentclass[citeauthoryear]{llncs}
thebibliography 環境:
\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}
産生樣例:
cpp
Clarke, F., Ekeland, I.: Nonlinear oscillations and boundary-value problems for Hamiltonian systems. Arch. Rat. Mech. Anal. 78, 315–333 (1982)
在文章中引用時:
The results in this section are a refined version of Clarke and Ekeland (\cite{clar:eke});
産生
The results in this section are a refined version of Clarke and Ekeland (1982);
END.
from: http://bluestein.github.io/2016/01/LATEX-LLNCS/
http://www.tuicool.com/articles/RRBnMzz