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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have quite long verbatim, which I don't want to be split by table, which is present in source document before verbatim. I have my table wrapped by \begin{table}[h].

Any suggestions?

share|improve this question

Try changing the placement specifier: instead of simply [h] use [!hb] or [!ht]. If the problem persists, please add to your question a minimal working example illustrating the problem.

share|improve this answer

Do not put the verbatim code into a table environment. Use

\usepackage{caption}
...
\begin{verbatim}
...
\end{verbatim}
\captionof{table}{ ... caption ...}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.