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 bottom. How can I move the algorithm caption above the code?
[Tex/LaTex] Algorithm2e caption above code
algorithm2ecaptionspositioning
Best Answer
You could adjust the way the
plain
(default) style sets the caption (frombottom
toabove
ortop
):