I'm thinking to present some pseudocode in an article by using Latex, and ideally I would like to have something similar to what is shown in the figure below. I searched and tried out some packages, but couldn't replicate the figure very well... I would be very appreciated if someone could help me with this.

enter image description here


1 Answer 1


Use this template:




\nl \bf Pass\;
    \caption{{\bf Algorithm} \label{Algorithm}}



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .