Latex adding Inputs and Outputs to an algorithmsx environment
algorithm2e - How to add input and output before algorithm procedure - TeX - LaTeX Stack Exchange:
...
\hspace*{\algorithmicindent} \textbf{Input} \\
\hspace*{\algorithmicindent} \textbf{Output}
\begin{algorithmic}[1]
also:
% rename `for all` into `for each`
\renewcommand{\algorithmicforall}{\textbf{for each}}
% remove leading triangle-thing-symbol from comments
\algrenewcommand{\algorithmiccomment}[1]{\hfill#1}
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus