Quick start for modern LaTeXing with LNCS.
To build the whole document, execute following command. Note that this requires a working perl installation.
latexmk paper
In case something goes wrong, you can instruct the LaTeX compiler to stop at the first error:
pdflatex paper
Following features are enabled in this template:
\Cref{sec:xy}
at the beginning of a sentence and \cref{sec:xy}
in the middle of a sentence.
Thanx to cleveref.glyphtounicode
, which encodes ligatures (such as fl) using unicode characters.\powerset
command.Following features were not activated for this template. You can run the latex template generator to enable the features.
Hints on writing an abstract and thesis by Dirk Fahland.
The official template is available at https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines --> "Templates, samples files & useful links" --> "LaTeX2e Proceedings Templates (zip)"
Download ZIP
or here.LNCS-main.zip
in the folder where you want to write your paper.latexmk paper
.When using on overleaf, you have to switch Overleaf to use TeXLive 2022 (or later).
As you see on GitHub actions, the paper compiles out of the box. There is no need to adjust the packages or to remove some of them. This might lead to undesiered results such as hyperlinks not working any more or no good microtypographic features. In case you think, a package needs to be altered or added, feel free to open an issue.
There is currently no official biblatex support. A first step towards that is done at biblatex-lncs.
MiKTeX installation hints are given at http://latextemplates.github.io/scientific-thesis-template/#installation-hints-for-windows.
choco install languagetool
) and configure TeXstudio to use it.
Note that it is enough to point to languagetool.jar
.
If TeXstudio doesn't fit your need, check the list of all available LaTeX Editors.choco install jabref
).To have minted running properly, you have to do following steps on Windows:
choco install python
- that uses chocolatey to install Pythonpip instal pygments
- that uses the Pyhton package manager to install the pygments library-shell-escape
: pdflatex -shell-escape paper
.
You can also just execute latexmk paper
.The generated Dockerfile
is based on the Dockerfile by reitzig.
The idea of that system is to host the document sources in a directory separated from the output directory.
docker run --rm -v "c:\users\example\latex-document:/work/src" -v "c:\users\example\latex-document\out:/work/out" ltg work latexmk
Following one-time setup is requried:
docker build -t ltg .
ShareLaTeX might output following warning:
LaTeX Warning: You have requested, on input line 8, version 2018/03/10' of document class llncs, but only version 2004/08/17 v2.14 LaTeX document class for Lecture Notes in Computer Science' is available.
The reason is that you did not use llncs.cls
(included in your LaTeX distribution).
Please remove the file and update your LaTeX distribution.
git remote add upstream https://github.com/latextemplates/LNCS.git
upstream/main
into your main
branch: git merge upstream/main
.After that you can use and push the main
branch as usual.
Notes on syncing with the upstream repository are available from GitHub.
! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
Install the cm-super
package using the MiKTeX package manager. Then, run initexmf --mkmaps
on the command line. (Long description: https://tex.stackexchange.com/a/324972/9075)
Package csquotes Error: Unbalanced groups or invalid nesting.
What can I do?A: You have activated \MakeOuterQuote{"}
and used some special babel command to allow hyphenation at other places as a dash. One example is writing application"=specific
.
Now, you have to decide whether you want keep using plain quotes to enquote a word or use the special hyphenation command.
In other words: Do you want "quote"
and app\-lication\-specific
or \enquote{quote} and application"=specific
?
Note that this should not happen when the template is generated as the setting tweakouterquote
ensures that these two options are mutually exclusive.
The most simple solution to get more space is to exchange the font.
.tex
files?Execute following command:
latexindent -l -s -sl -w paper.tex
Execute following command:
latexindent -m -l -s -sl -w paper.tex
Attention! This is work in progress and does not always produce best results.
Activate the llncsconf
package.
The possible options are listed in paper.tex
.
Yes. You can regenerate the template and choose "German" as language.