How can I insert this kind of pseudo code in latex?
1 Answer
The algorithm2e package has a vlined
option wich does exactly what you need (you can also call \SetAlgoVLined
at the beginning of each algorithm
environment). Read the documentation to learn how to use the package.
See also the relevant chapter of the LaTeX WikiBook.
algorithm
-package to get this kind of result.