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

learn more… | top users | synonyms

6
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
457 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
3k 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 ...
11
votes
1answer
1k 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
1k 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
1k 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: ...