Thursday, January 5, 2017

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

\algrenewcommand\algorithmicindent{0.5em} % or any other value as you wish



This will reduce or increase the indentation as you prefer.

No comments:

Post a Comment

You are welcome to provide your opinions in the comments. Spam comments and comments with random links will be deleted.