In the following MWE,
\documentclass{article}
\usepackage{multicol}
\usepackage{hyperref}
\newcounter{counterForCalcul}
\setcounter{counterForCalcul}{0}
\def\incrementCounterForCalcul{\refstepcounter{counterForCalcul}}
\begin{document}
\begin{multicols}{2}
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\incrementCounterForCalcul Test
\end{multicols}
\end{document}
there should be two columns but there is only one.
How can I overcome this issue?
multicol
2019/12/09 v1.8, andhyperref
2021-06-07 v7.00m. Please tell us more about your computing setup.\ refstepcounter
by\stepcounter
stepcounter
.main.tex
, the log file will be calledmain.log
.