Tag Info

Hot answers tagged

7

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 ...


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

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

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 ...


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

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

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}{}{} ...


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}% % ...


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

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

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, ...


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

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

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, ...



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