I have a large algorithm, takes up all of one page of A4. I want to turn the page numbering off, however, when I do so, as LaTeX moves the algorithm to a new page (as it's so large) the page with the numbering turned off is then the wrong page. I have already shrunk the font as much as possible.
Code: Select all
\documentclass[final,authoryear,3p,times,twocolumn]{elsarticle}
\begin{document}
\begin{algorithm*}
%\algsetup{linenosize=\tiny}
\scriptsize
\scalebox{0.87}{
\thispagestyle{empty}
\caption{My Algorithm }}
\begin{algorithmic}[1]
\STATE \COMMENT{Many many of these statements}
\end{algorithmic} }
\end{algorithm*}
\normalsize
\end{document}
\scalebox
, but don't seem able to. Does anyone know if the algorithm package supports \scalebox
? My MWE (which doesn't work) is below.
thank you.