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 above, not on the left.
Example output:
When I use \TitleOfAlgo
, the line Algorithm 1 is numbered.
Best Answer
With the
ruled
option, the horizontal rules above/below the entire algorithm block is set with a height of\algoheightrule
, while the rule between the caption and the algorithm is set with a height of\algotitleheightrule
. Setting these to0pt
removes the rules, yet keeps the sameruled
-like format: