1
vote
1answer
27 views

Caption of algorithm2e to the upper left corner without ruled option

I don't want to use ruled option, but still, I want the caption of my algorithm to be at the upper left corner. I tried \renewcommand{\@algocf@capt@plain}{above} but it only moves the caption ...
8
votes
1answer
546 views

Algorithm2e caption above code

I can't seem to figure out how to place a caption at the beginning of an algorithm2e pseudo code. I know it's possible with the ruled environment, but I don't want those lines at the top and the ...
3
votes
1answer
2k views

Float positioning [ht] not working for algorithm

I am using the package algorithm2e. I have a document with several algorithms. I use the float position option [ht], but all my algorithms are positioned at the end of the chapter; none at the ...
1
vote
1answer
329 views

Can not use float placement options with algorithm2e

I am using algorihtm2e and I am formatting a new command to align comments in the algorithms like in the answer of Align comments in algorithm with package algorithm2e. Now when I try to use ...
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 ... ...