# The option vlined with algorithm

Please i ask if it's possible to add the option:

[vlined]


withe the package

\usepackage{algorithm}
\usepackage{algorithmic}


This is my example:

 \usepackage{algorithm}
\usepackage{algorithmic}
\begin{document}
\begin{algorithm}[H]
\caption{My algo}
\begin{algorithmic}[1]
\WHILE{condition}
\STATE instruction 1
\STATE instruction 2
\ENDWHILE
\end{algorithmic}
\end{algorithm}
\end{document}


i'd like to join while to \ENDWHILE with a line, is that possible ?

-
Hi researcher! In its current form, the question is much too terse. Please add more detail about what you're trying to achieve, what you've attempted so far, and in what way it didn't work. Also include a minimal working example, that is a complete, minimal example document (starting from \documentclass) that demonstrates your problem. –  Jake Oct 1 '12 at 11:31
See this answer by Werner to learn how to do it using algorithmicx (which is compatible with algorithmic, so you can use the much better algorithmicx instead of algorithmic). –  Gonzalo Medina Oct 1 '12 at 13:36

The vlined option appears to be defined in the algorithm2e package which is a different package for laying out algorithms. It also defines the mixed case commands such as \Begin and \For that you used in earlier questions. Perhaps you intended to use that package rather than algorithmic ?
I have never used either package but package option names correspond directly to code in each package you can't just use a name from one package as an option for another, obviously in an open source system it is always possible to add more code but you are presumably looking at some documentation or examples that told you about vlined but that documentation is not about the package you are using. –  David Carlisle Oct 1 '12 at 13:11