General ⇒ wide graphics jut out from text on right AND left margin
wide graphics jut out from text on right AND left margin
I often use graphics in articles which are quite wide so that they jut out from the text body. I use the following code:
\begin{figure}
\centering
\includegraphics[width=1.15\textwidth]{example.jpg}
\end{figure}
My problem: These graphics only jut out from text on the right text margin. But I want them to jut out from the text symmetrically, i. e. to jut out on the right AND the LEFT margin in the same way.
Could anyone tell me the proper command?
Thanks a lot, Gereon
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
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
wide graphics jut out from text on right AND left margin
welcome to the board!
You could use \makebox:
Code: Select all
\begin{figure}
\centering
\makebox[\textwidth]{\includegraphics[width=1.7\textwidth]{example}}
\end{figure}
Re: wide graphics jut out from text on right AND left margin
Gereon
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: wide graphics jut out from text on right AND left margin
nice to hear that it helped. I just noticed that you could even omit the \centering of my example because \makebox uses \textwidth - I'm just used to give \makebox the width 0pt but with \centering what would work too.
Stefan