Tag Info

Hot answers tagged

8

The problem is that the class file defines the caption commands and caption package hates it. As the package author of caption and subcaption, Alex Sommerfeldt mentions this problem in this answer Subcaption package: compatibility issue with a problem related to (again) another class file. \captionsetup{compatibility=false} would make the problem go ...


8

Here's a solution that uses only low-level LaTeX macros. (Copy the material starting with \makeatletter and ending with \makeatother to your document's preamble.) The example below employs the llncs document class, but works equally well with the article document class. The trick, such as it is, consists of telling LaTeX to prefix the String "Appendix" to ...


6

Without amsmath, you can set a pmatrix as an array with column specification @{}*{<num>}{c}@{}. This sets <num> columns with centered content and not spacing @{} on either side of the matrix: \documentclass{llncs}% http://www.springer.com/computer/lncs/lncs+authors?SGWID=0-40209-0-0-0 \begin{document} \begin{equation} S(x) = ...


6

All TeX Live installations allow for a “personal tree”; on GNU/Linux systems this tree is rooted in ~/texmf, where ~ stands for your home directory. Just issue this pair of commands from a directory where you keep a copy of llncs.sty: mkdir -p $(kpsewhich --var-value TEXMFHOME)/tex/latex/llncs cp llncs.cls $(kpsewhich --var-value ...


6

The llncs class sets tocdepth to 0. This setting controls which sectioning commands end up in the Table-Of-Contents (TOC), which is also used by hyperref for the PDF bookmarks depth by default. You need to set the bookmarksdepth manually to a higher value (higher means more deeper sectioning commands are included). An alternative is to raise tocdepth again, ...


5

The problem is that your tikzpicture is too big for the minipage. I added \usepackage{showframe} so that we can see where the margins are. As you can see from the two minipages of text, things fit fine. Only with the tikzpicture do you have the overflow. Hence you need to reduce the size of your picture by adjusting the scale. Notes: Using ...


5

I think this behaviour is intended. The llncs document class is used to put multiple articles into one volume. Each article title appears in the table of contents and the pdf bookmarks, but sections within the articles do not. \documentclass{llncs} \usepackage{hyperref} \begin{document} \tableofcontents % \title{Sheep} \maketitle \section{Black sheep} ...


5

If you want to employ llncs for your personal use, then \documentclass{llncs} \usepackage{etoolbox} \makeatletter \let\llncs@addcontentsline\addcontentsline \patchcmd{\maketitle}{\addcontentsline}{\llncs@addcontentsline}{}{} \patchcmd{\maketitle}{\addcontentsline}{\llncs@addcontentsline}{}{} ...


5

I cannot find a class or package named lncs, did you mean llncs.cls? I can find only one inconsistency between llncs.cls and amsmath.sty: When amsmath tries to redefine math accents, it complains that it cannot redefine \vec. This is only a warning and can be safely ignored if you don't use \vec or are satisfied with the llncs definition of \vec. You can ...


4

You can define new theorem-like environments numbered as you like. If you want definitions to use their own counter, you can do \spnewtheorem{defn}{Definition}{\bfseries}{\rmfamily} and this will do. You could also redefine the definition environment: \documentclass[envcountsame]{llncs} \let\definition\relax % undefine the environment ...


4

The space above \subsubsection is similar to that above a \subsection and \section, according to llncs.cls. You need to update the lengths to your liking: \documentclass{llncs}% http://www.springer.com/computer/lncs?SGWID=0-164-6-793341-0 \begin{document} \section{A section} Some text \subsection{A subsection} Some text \subsubsection{A subsubsection} ...


4

The llncs class loads the article class with the twoside option and doesn't have a oneside option. You can revert back to "oneside" by switching manually: \makeatletter \let\@twosidetrue\@twosidefalse \let\@mparswitchtrue\@mparswitchfalse \makeatother \documentclass{llncs} \usepackage[left=3.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}


3

This is how the class defines the sectional units: \renewcommand\section{\@startsection{section}{1}{\z@}% {-18\p@ \@plus -4\p@ \@minus -4\p@}% {12\p@ \@plus 4\p@ \@minus 4\p@}% {\normalfont\large\bfseries\boldmath \rightskip=\z@ \@plus 8em\pretolerance=10000 }} ...


3

Contrary to the article class, the llncs class doesn't use \MakeUppercase to typeset headers. You may change the definition of biblatex's bibliography bibheading to emulate llncs' behaviour. \documentclass[runningheads,a4paper]{llncs} \usepackage{biblatex} \makeatletter \defbibheading{bibliography}[\refname]{% \section*{#1}% % ...


3

It is possible to use PGF/TikZ to draw a rectangle around the text area (or the whole page etc.). I modified my answer to Stretching a framebox over the whole page so it draws the rectangle around the full text area. In my test it works well with the llncs class and others. You can place it in the footer then it is inserted on any page. Note that the ...


3

llncs.cls is downloadable at ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip With titlesec: \documentclass{llncs} \let\subparagraph\relax \usepackage{titlesec} \titleformat{\section}[display] {\normalfont\huge\bfseries}{\chaptertitlename\ \thesection}{20pt}{\Huge} \begin{document} \section{a section} Some text \subsection{a subsection} ...


2

The class already has its own theorem and proof structures defined, so your \newtheorem is causing an error since tries to define commands already defined. This class implements its own commands for theorem-like structures, so I wouldn't use amsthm here: \documentclass[article]{llncs} \begin{document} \begin{theorem}[Test] test \end{theorem} ...


2

Doing what you ask is very easy: add \usepackage{etoolbox} \patchcmd{\paragraph}{\itshape}{\bfseries\boldmath}{}{} to your document preamble. However, this will make the typesetting of \paragraph titles very similar to what's already done for \subsubsection. As far as I understand, the llncs class has three levels of sectioning, corresponding to ...


2

If the figure happens to be on the very last page with no text following it it is centered as illustrated by the MWE below (if you comment out the \setlength line). As per Vertical layout of float pages the values that control the distances between floats are: \@fptop defines the distance from the top of the page to the top of the first float, ...


2

Not sure if it is what you are looking for, but for a recent llncs-based paper I used something like \usepackage{url} \urldef{\mailsa}\path|author1@someinst.something| \urldef{\mailsb}\path|author2@someotherinst.something| in the preamble, and after the mainmatter, the institute commands reads \institute{affiliation goes here\\ \mailsa\\ \mailsb}


2

You may add an invisible anchor at the end of the minipages: \begin{table}[t] \begin{minipage}[b]{.50\textwidth }% \footnotesize\centering \begin{tabular}{ | c || c | c | c | c | } \hline \textbf{ABC} & \textbf{KO} & \textbf{Ro} & \textbf{Ov} & \textbf{Params} \\ \hline \multicolumn{5}{|c|}{\textbf{Well this is a text here}} \\ \hline ...


2

Do you mean the documentclass mentioned in the question multiple-authors-in-a-journal-style-llncs-document? Then follow please page 21 ff in the documentation llncsdoc.pdf. Try document class option [oribibl]. Without an complete MWE I or we can only guess. You will find on page 21: There is a special BibTEX style for LLNCS that works along with the ...


2

Adding \usepackage[german]{babel} allows latex to break the words using German rules which brings the badness down to 1803. Once the badness is below 10000 (= infinity) it's not really an error just a warning that it's a difficult paragraph. If there isn't a particular reason for wanting .4\linewidth You can adjust the space a bit, .45 appears to work, ...


2

llncs supplies \authorrunning{<author>} and \titlerunning{<title>} for the running heads on the left/right respectively. You can hack these to include a shorter version of your title and author list: \authorrunning{Short author list}% Part of LEFT running header \titlerunning{Short title}% Part of RIGHT running header Both these are required ...


1

Try this example: \documentclass{llncs} \begin{document} \section{Introduction} Testing names: \abstractname \ackname \appendixname \section{Test} \begin{abstract} This is the abstract. \end{abstract} \renewcommand{\abstractname}{\ackname} \begin{abstract} This are the acknowledgements. \end{abstract} \section{\appendixname} This is an ...


1

You can setup the style via \bibliographystyle{splncs} However you have to make sure that BibTeX can find the bibliography style file. Therefor you can either install the file in your local texmf tree or put the file in you working directory. The path of you local texmf tree can be detected by: kpsewhich -var-value=TEXMFHOME Related to the rules of a ...


1

Line 47: You're using math without specifying the mode as such: ... $D = (A \wedge B) \vee (B \wedge C)$ ... Line 59: You're using a URL with _ which is considered a math subscript. You should replace this with \textunderscore or use a suitable URL-typesetting package, like url: \usepackage{url}% http://ctan.org/pkg/url %... \begin{thebibliography}{999} ...


1

I'm not entirely sure why, but it's the \qed that breaks the line numbers. Here's an easy fix: just wrap it in math mode, i.e. $\qed$. Replacing the lines as follows fixes it: \let\doendproof\endproof \renewcommand\endproof{~\hfill$\qed$\doendproof}


1

I just wanted to prove to myself that it could be done without all those & characters and with many fewer \\ macros. \documentclass{article}%{llncs}% \usepackage{stackengine}[2013-09-11] \strutlongstacks{T} \newsavebox{\matrixbox} \newcommand\Matrixstack[1]{% \sbox{\matrixbox}{\Longstack{#1}}\left(% ...



Only top voted, non community-wiki answers of a minimum length are eligible