Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I used algorithm2e package and use it in the following format:

\begin{algorithm}[H]
\SetAlgoVlined
\RestyleAlgo{boxed}

\end{algorithm}

because there is not enough space for the algorithm to show up in the left column of the paper, it is shown in the right column and some free space between paragraph were made in the left side column. My problem is, first I don't want to have these spaces, second: in the right side column the rest of the text went down and cross the bottom margin, and in addition to the ugly view of the page, this warning appears:

overfull \vbox (94.23393pt too high) has occurred while \output is active []

Also I should add that if instead of [H] I write the other possibilities like h, t, ...and so on, or even if I do not write any floating option in front of \begin{algorithm} NOTHING WILL BE SHOWN IN THE PDF!!!! I could only see my pseudo code if I write \begin{algorithm} together with [H] option (i.e. \begin{algorithm}[H])

Would you mind please help me in this case?

share|improve this question
Welcome to TeX.SX. I corrected the formatting of your post. See tex.stackexchange.com/editing-help for details if you are interested. Note that the 'latex-general' tag is for question about LaTeX itself (i.e. the LaTeX project). Almost all questions here are about LaTeX, so you don't need to add a tag for that. – Martin Scharrer Apr 20 '11 at 17:11
Could you at least provide a minimal working example (MWE) that highlights and duplicates your problem? – Werner Jul 28 '11 at 2:15
With no MWE, this can't realistically be answered, so I've closed it. – Joseph Wright Sep 4 '11 at 10:02

closed as not a real question by lockstep, Joseph Wright Sep 4 '11 at 10:01

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.