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

I tried to use tikz in wrapfigure and received the errors below:
enter image description here enter image description here

share|improve this question
Yes, TikZ works inside wrapfigure. However, you should read the documentation of wrapfig: the placement (right/left) and width has to be specified, e.g. \begin{wrapfigure}{r}{.5\linewidth}. – Torbjørn T. Jan 2 '13 at 10:31
up vote 15 down vote accepted

Please always post complete small documents, and post code sections not images of code.

However it appears from your fragment that you have omitted the arguments to wrapfigure

the line


should be something like

share|improve this answer
Help full quick answer. sorry for immediate question. – Hoseyn Heydari Jan 2 '13 at 10:51

Your Answer


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.