However I got the following error "! LaTeX Error: File `algorithm2e.sty' not found." Since I am using macport, to resolve this I needed to install the texlive-science package by executing sudo port install texlive-science, and all was good again.
References:
- http://en.wikibooks.org/wiki/LaTeX/Algorithms_and_Pseudocode
I had the same problem in a CentOS machine, and simply downloaded the style file from "http://www.ctan.org/tex-archive/macros/latex/contrib/algorithm2e/tex" and placed it in the same directory as my tex file and it compiled without issues.
ReplyDelete