Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (39 loc) · 1.39 KB

README.md

File metadata and controls

46 lines (39 loc) · 1.39 KB

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}