hyperref icon indicating copy to clipboard operation
hyperref copied to clipboard

`\vnameref` with `nospace` option

Open gusbrs opened this issue 3 years ago • 2 comments

\vnameref seems to be swapping the space position before and after the \nameref call when the varioref option nospace is active.

MWE:

\documentclass{article}

\usepackage[nospace]{varioref}
\usepackage{nameref}

\begin{document}

\section{Section 1}
\label{sec:section-1}

\clearpage{}

Foo\vnameref{sec:section-1}

\end{document}

Results in:

Screenshot from 2022-01-27 15-03-00

gusbrs avatar Jan 27 '22 18:01 gusbrs

I added a space, this should fix this in the next version.

u-fischer avatar Apr 09 '22 13:04 u-fischer

Thank you!

gusbrs avatar Apr 09 '22 15:04 gusbrs