When the following macro lies in my macro files, the following bug happens:
\mycolumnbreak ->\ifnum \doublecol
@number>\z @ \vfill \mbox {}\columnbreak ...
l.303 ...names]{_TEST.csv}{}{\feuilleDeCorrection}
But, this macro in never called.
Do you see any obvious reason?
Thanks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Subalign
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% see: https://tex.stackexchange.com/a/198806/8323
\makeatletter
\newcommand{\subalignCANNOTBECALLED}[1]{%
\vcenter{%
\Let@ \restore@math@cr \default@tag
\baselineskip\fontdimen10 \scriptfont\tw@
\advance\baselineskip\fontdimen12 \scriptfont\tw@
\lineskip\thr@@\fontdimen8 \scriptfont\thr@@
\lineskiplimit\lineskip
\ialign{\hfil$\m@th\scriptstyle##$&$\m@th\scriptstyle{}##$\hfil\crcr
#1\crcr
}%
}%
}
\makeatother
EDIT:
Here is the code of \mycolumnbreak:
\def\mycolumnbreak{%
\ifnum \doublecol@number>\z@
\vfill\mbox{}\columnbreak%
\fi%
}
\makeatotherin the wrong place so\doublecol@numberis read as ``\doublecol @number` – David Carlisle Jun 27 '23 at 16:24\doublecol@numberanywhere in your example. Is it perhaps in the code that immediately follows the example? In which case, the problem is that you don't want this\makeatother, because the code following still needs@to be a letter. (And an example that actually causes the error would have been more helpful.) – Teepeemm Jun 27 '23 at 16:29\mycolumnbreak? – egreg Jun 27 '23 at 16:53\mycolumbreaksurrounded by\makeatletter...\makeatotheror in a.styfile? Note that\mycolumnbreakmay be called by something else. – Werner Jun 27 '23 at 19:21\mycolumbreakwas not surrounded by\makeatletter...\makeatother. It's strange because I've been using the command for years without a problem. Only now that I am adding\subalignCANNOTBECALLEDI have problems. – Colas Jun 28 '23 at 04:38