phd-thesis-template icon indicating copy to clipboard operation
phd-thesis-template copied to clipboard

algpseucode

Open aloparedes opened this issue 3 years ago • 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.

aloparedes avatar Nov 15 '22 09:11 aloparedes

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.

GR8DAN avatar Dec 21 '22 18:12 GR8DAN