Skip to content

Help for \HyperRaiseLinkHook needed #418

Description

@Uwe-Schmock

So far I was able to raise the hook of internal links for better hover preview as offered by TeXShop, for example.
For unknown reasons, this doesn't seem to work anymore.
I seem to be using hyperref 2026-04-24 v7.01q.
Here is a small example file:

\documentclass{article}
\usepackage{amsmath}
\usepackage{hyperref}

\makeatletter
\newcommand{\RaiseHook}[1]{\renewcommand\HyperRaiseLinkHook%
{\setlength\HyperRaiseLinkLength{#1\baselineskip}%
\global\let\HyperRaiseLinkHook\@empty}\ignorespaces}
\makeatother

\begin{document}
\noindent
Vandermonde's determinant:
\RaiseHook{3.2}  %Supposed to make the matrix fully visible when clicking on the link below
\begin{equation}\label{VandemondeDet}
\det\begin{pmatrix}
1&x_1&x_1^2&\ldots&x_1^{d-1}\\
1&x_2&x_2^2&\ldots&x_2^{d-1}\\
1&x_3&x_3^2&\ldots&x_3^{d-1}\\[-1\jot]
\vdots&\vdots&\vdots&\ddots&\vdots\\
1&x_d&x_d^2&\ldots&x_d^{d-1}\\
\end{pmatrix}
\end{equation}
To calculate the determinant (\ref{VandemondeDet}), we proceed by induction $\ldots$
\end{document}

Any suggestions how to get back the old behaviour?
Thanks a lot in advance!

Uwe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions