How can I change the behavior of PDF view for only one \hypertarget, but others should stay unchanged.
I'm trying to make a link to the text, but I want exactly this link not to change X position of my viewer i.e the viewer's zoom level and X position should stay the same, but only Y position have to be modified (to perform the jumping to the text)
\documentclass[a5paper]{article}
%\usepackage{showframe}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue}
\begin{document}
\hypertarget{txt:link}{text}
\vspace{1cm}
\hfil \hyperlink{txt:link}{click}
\end{document}
My goal is to remove the horizontal shifting when following this exact link.

pdfviewas an option to the package or via\hypersetupapplies changes globally. – antshar May 21 '22 at 14:24textafter the jump and not move to the left. Depending on the zoom level, it has to move. – Ulrike Fischer May 21 '22 at 19:02text, I just want to jump to the same Y level astext– antshar May 21 '22 at 19:11/D [ 8 0 R /XYZ null 467.716535 null ]destination. Well you can create that but you have to do it manually, the \pdfdest primitive doesn't create such null value. – Ulrike Fischer May 21 '22 at 21:12