Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amsthm anchor on wrong page #336

Open
u-fischer opened this issue Mar 29, 2024 · 1 comment
Open

amsthm anchor on wrong page #336

u-fischer opened this issue Mar 29, 2024 · 1 comment

Comments

@u-fischer
Copy link
Member

This still seems not to be correct always: https://tex.stackexchange.com/q/691262/2388

This should really be fix in amsthm directly ...

@leanhdung1994
Copy link

I have reported this bug to [email protected] with the following example

\documentclass[11pt,a4paper]{memoir}
\usepackage{mathtools,amsthm,lipsum}
\usepackage[hypertexnames=false]{hyperref}
\usepackage[noabbrev,capitalize,nameinlink]{cleveref}
\hypersetup{
  colorlinks=true,
  linkcolor=blue
}
\numberwithin{equation}{chapter}
\newtheorem{theorem}{Theorem}[chapter]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlrmarginsandblock{2.5cm}{2.5cm}{*}
\setulmarginsandblock{2.5cm}{*}{1}
\checkandfixthelayout

\begin{document}

\chapter{Preliminary}

\lipsum[1-5]

\begin{theorem} \label{prelim}
Something here.
\end{theorem}

The jump to \cref{prelim} is wrong.

\end{document}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants