Take the 2-minute tour ×
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 have a large picture on the left side of the page and text referring to the picture on the right side. My problem is that the code as it is atm makes the text overlap the figure. It looks like this:

\newpage    
\begin{wrapfigure}{l}{0.5\textwidth}    
\vspace{-2cm}     
\includegraphics[width=0.8\textwidth]{pics/dummy.png}    
\vspace{-100cm}    
\end{wrapfigure}    
\section{Test}    
text referring to picture    
text referring to picture    
text referring to picture    
\end{document}
share|improve this question
1  
Welcome to TeX.SX. A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button ({}) or hit Ctrl+K. –  Claudio Fiandrino Mar 25 '13 at 10:29
2  
@Andreas You need to post code that is compilable, starting with \documentclass{...} and ending with \end{document}. Your problem may depend on the document class you're using, the packages you've loaded, etc. Without this information, your question is unlikely to be answered. –  Jubobs Mar 25 '13 at 10:39
add comment

1 Answer

I think you should remove \vspace{-100cm}, \vspace{-2cm} and [width=0.8\textwidth].

Instead of the last one you should put 0.8 to the wrapfigure environment settings.

share|improve this answer
add comment

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.