I am having some trouble getting a LaTeX document to compile. I would like to use the package algorithm2e
. I am working on a machine running Ubuntu. I tried using Texmaker and Gummi (LaTeX editors) and got same errors on both:
! LaTeX Error: File `algorithm2e.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty)
Also I have texlive distribution. When I did this on my windows machine (with MiKTeX) it worked like a charm. Suggestions?
\documentclass[12pt]{article}
\usepackage{algorithm2e}
\begin{document}
\end{document}
\;
, it renders the markup unreadable. Also, why is there\lIf
etc? The many abbreviations in macro names, too, make readability worse. And all these comments to control indent, newlines, etc. don’t have a place – it feels way more “low-level” thanalgorithmicx
. (2) Typesetting: I never liked the Cormen pseudocode typesetting, which this package is emulating. The lines connecting block delimiters are nice, but noisy. (3) Configurability: Look at my linked example to see how extensively I configure my pseudocode.