[Tex/LaTex] Smaller font size of the algorithm description


\small or other tag seems can not change the font size of the line number.

The package I use is \usepackage{algorithmic}.

Best Answer

Use \algsetup{linenosize=\small}. See p. 12 of the documentation of the algorithms bundle for details.




\IF{some condition is true}
\STATE do some processing
\STATE do the default actions