TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

This question already has an answer here:

Let's say I have something like this

text text text

my beautiful table

text text text

And now I define the following custom environment:


Why does the following not properly "wrap" with the surrounding text?

text text text

my beautiful table

text text text
share|improve this question

marked as duplicate by Werner, Kurt, Thorsten, lockstep, Peter Grill Mar 24 '13 at 16:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I discovered this question was a duplicate of Defining a custom wrapfig environemnt and was able to solve the issue by replacing \begin{wraptable} with \wraptable and \end{wraptable} with \endwraptable.

share|improve this answer

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