Monday, August 28, 2017

Changing Indentation in LaTeX Pseudocode

Changing Indentation in LaTeX Pseudocode


By default the algorithmic package indents 2 em. It can be reduced or increased using a simple command.

Just place

algrenewcommandalgorithmicindent{0.5em} % or any other value as you wish

before

egin{document}

This will reduce or increase the indentation as you prefer.