This repository was archived by the owner on Sep 4, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
vonaka/lncs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The issue this class is addressing is solved with version 2.24 ofthe original template.
This is the fix of theoriginal Springer LNCS LaTeX Template(version 2.20 10-Mar-2018). When the original class is used withhyperref package andenvcountsame
andenvcountsect
optionssome references are broken. For example, if two lemmas are defined intwo different sections, the reference to the second lemma brings tothe 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 theoriginal 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}