{algorithm2e} is a package providing a floating algorithm environment with algorithmic keywords.

learn more… | top users | synonyms

3
votes
2answers
3k views

Undefined control sequence in algorithm package

I am using Ubuntu 11.04 with TeXmaker and TeX Live. There is a \newenvironment definition in my LaTeX file: \newenvironment{algo}[1]{% \begin{algorithm}[#1] \SetTitleSty{textsc}{normalsize} ...
2
votes
1answer
3k views

algorithm2e split over several pages

Is there an option in algorithm2e to split the algorithm over several pages? Please no answer with "use algorithmic or listings packages". algorithm2e is the best package for algorithms in latex, so I ...
2
votes
1answer
754 views

Export algorithm as pdf

I use algorithm2e package for my algorithms and want to export my algorithm as pdf and could not find a way to do it. Is there any way to do this? The reason is that I use a style file provided to me ...
10
votes
1answer
1k views

titlesec, hyperref, algorithm2e, and \appendix

When I use titlesec, hyperref, and algorithm2e together, sections after an \appendix are not numbered properly. \documentclass{article} \usepackage{titlesec} \usepackage{hyperref} ...
3
votes
1answer
283 views

Strange interaction between natbib and algorithm2e

Here's a minimal example. \documentclass{article} \usepackage{titlesec} \usepackage{algorithm2e} \usepackage{natbib} \begin{document} \bibliographystyle{plainnat} \begin{thebibliography}{1} ...
5
votes
2answers
2k views

“\Ualgocf@original@chapter” undefined when using algorithm2e with natbib

Is it possible to just use plainnat without using the package natbib? When I do so, multiple author references don't work too well. I get [author et al (year)auhtor1, author2 and author3] when ...
7
votes
1answer
1k views

How to split algorithm2e over two pages

I'm using algorithm2e package but my algorithm does not fit in only one page. Is there any way to split it over two pages, even if manually? If doing it manually, we can use two algorithm ...
0
votes
1answer
435 views

Algorithm not displayed under correct section

I'm using the algorithm2e package to put algorithm in my LaTeX documents. In my document, I have something like this : \section My algorithms \subsection Algo 1 code for first algorithm ... ...
5
votes
1answer
2k views

Latex : algorithm not display under correct section

I'm using the algorithm2e package to put algorithm in my Latex documents. In my document, I have something like this : \section My algorithms \subsection Algo 1 code for first algorithm ... ...
3
votes
1answer
1k views

hyphen in function name using algorithm2e package

I'm trying to put a hyphen into a function name using the algorithm2e package, though it doesn't seem to like it. Minimal example: \begin{algorithm} \SetKwFunction{NOHYPHEN}{NOHYPHEN} ...
3
votes
2answers
4k views

Strange errors in MikTeX when using algorithm2e

I am trying to use the algorithm2e package in MikTeX, but when I put these commands: \dontprintsemicolon \SetLine it doesn't recognize them. I do not understand why; I have used these commands ...
10
votes
1answer
931 views

cleveref and algorithm2e

I'm currently working on a document where I was using algorithm+algorithmic along with cleveref. With this everything worked perfectly. Now I had to replace algorithm+algorithmic with algorithm2e. ...
4
votes
2answers
986 views

ending statements in algorithm2e environment

I am using the package algorithm2e. Is there a way to end with period instead of semicolon, or end with simply newline? I don't like the semicolons on the sentences. If I just try putting a period it ...
4
votes
2answers
2k views

LaTeX: UTF8 and algorithm2e clash

I have this input file in utf8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \begin{document} \begin{procedure} foo \caption{รถ()} \end{procedure} ...
2
votes
2answers
966 views

Is it possible to change the way a list of algorithms is generated to include the word “Algorithm” before each element in the list?

I've tried using both algorithm2e and algorithmic to generate a list of algorithms, but they both do it this way: List of Algorithms 1 BFS ..... 1 2 DFS ..... 2 ... When I'd like to it to be: ...