
我正在編譯這段程式碼:
\documentclass{article}
\usepackage{hyperref}
\newcounter{MS} %\renewcommand*{\theMS}{MS\arabic{MS}} % milestones
\begin{document}
\begin{tabular}{p{2cm}|l}
No. & Title \\
\refstepcounter{MS} \theMS \label{MS1} & this line takes too much vertical space
\\
-- & this one is OK
\\
\refstepcounter{MS} \theMS \label{MS2} & this line takes too much vertical space
\\
\end{tabular}
Reference to the first row: \ref{MS1}.
I need package hyperref for \url{url.com}
\end{document}
我得到的表格在有步數計數器的行中使用了太多垂直空間:
誰能建議如何擺脫這個?如果我刪除該包,hyperref
它可以正常工作,但我需要該包在我的文件中用於其他目的。