Open gannaiju opened 8 months ago
yes, hyperref inserts an anchor and that can affect spacing. You can disable the anchor locally:
\documentclass{article}
\usepackage{tabularray}
\UseTblrLibrary{varwidth}
\usepackage{hyperref}
\begin{document}
\begin{tblr}{
hlines,vlines,
measure = vbox, stretch = -1,
}
test & \begin{enumerate}\LinkTargetOff
\item \leavevmode\LinkTargetOn test 1
\item test 2
\end{enumerate} \\
test & test
\end{tblr}
\end{document}
hyperref package adds vertical space at the beginning of the enumerate environment. Please compare two different compiled result:
The code gets the result: When hyperref package is used, there appears some space at the beginning of the enumerate environment:
The code above gets the result: which may not desired result.
OS: Win 10 Home Edition Distribution: TeX Live 2024 Compiler: xelatex