Skip to content
/ lncs Public

Fix of the original Springer LNCS LaTeX class

Notifications You must be signed in to change notification settings

vonaka/lncs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Springer LNCS LaTeX Class

The issue this class is addressing is solved with version 2.24 of the original template.

This is the fix of the original Springer LNCS LaTeX Template (version 2.20 10-Mar-2018). When the original class is used with hyperref package and envcountsame and envcountsect options some references are broken. For example, if two lemmas are defined in two different sections, the reference to the second lemma brings to the definition of the first one:

\documentclass[envcountsame,envcountsect]{llncs}
\usepackage{hyperref}

\begin{document}

\section{First Section}
\begin{lemma}
  \label{lemma:first}
  First lemma in the first page of the first section.
\end{lemma}
\begin{theorem}
  \label{th:first}
  Smart theorem.
\end{theorem}
\newpage
\section{Second Section}
\begin{lemma}
  \label{lemma:second}
  Second lemma on the second page.
\end{lemma}
Click \ref{lemma:second} and go to the first page if you're using the
original class, otherwise stay here with me.
\begin{theorem}
  \label{th:second}
  Yet another smart theorem.
\end{theorem}
All this can be used with autoref (\autoref{th:second}).

\end{document}

About

Fix of the original Springer LNCS LaTeX class

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages