Graphics, Figures & TablesWrap tikZ picture

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ahmed
Posts: 7
Joined: Fri Nov 21, 2008 11:06 pm

Wrap tikZ picture

Post by ahmed »

Hi
i am trying to wrap text for tikZ picture but it does not work, i writing a paper and always it is required to reduce the number of papers.i used the wrapfig but it give me errors.

Code: Select all

\begin{itemize}
\item new
we are working
we are here
\begin{tikzpicture}
\draw(-1.5,0) --(1.5,0);
\draw(0,-1.5)--(0,1.5);
\end{tikzpicture}
\end{itemize}
all i wanna that the text i wrote before tikz picture appears beside the picture not below it .
thanks in advance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Wrap tikZ picture

Post by localghost »

Code snippets are rubbish! A minimal working example (MWE) is essential. List environments like itemize don't cooperate with packages like wrapfig. You can try two minipage environments side by side.


Best regards
Thorsten¹
Post Reply