kks32/phd-thesis-template

algpseucode

aloparedes opened this issue · 1 comments

Hello,

I am trying to write an algorithm using this template. I uncommented \usepackage{algpseudocode} in the preamble and started to write the desired algorithm in the corresponding chapter \begin{algorithmic}.... However, I am not able to do it.

Could you please advise?

BR,
Alvaro.

I've had problems with algpseudocode, I switched to algorithm2e. In the preamble.tex file switch line 49 to:

\usepackage[ruled,vlined]{algorithm2e}

Details on options here: http://tug.ctan.org/macros/latex/contrib/algorithm2e/doc/algorithm2e.pdf

Another alternative would be the algorithmic package, or the listings package (https://texdoc.org/serve/listings.pdf/0) for plain source code and text.