I'm using algorithm2e
package. One of my algorithm does NOT need a title.
If I simply do not type in \caption
, there are still three rules.!
I want to remove the second rule.
Is there any way to do this? Thanks!
algorithm2ecaptions
I'm using algorithm2e
package. One of my algorithm does NOT need a title.
If I simply do not type in \caption
, there are still three rules.!
I want to remove the second rule.
Is there any way to do this? Thanks!
Best Answer
One could probably detect whether the caption is empty. However, a quick/dirty way is to merely condense the gap (so that the two horizontal rules are drawn overtop of one another). Below two possibilities are presented: