Hi everyone,
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
General ⇒ wide graphics jut out from text on right AND left margin
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
wide graphics jut out from text on right AND left margin
Hi Gereon,
welcome to the board!
You could use \makebox:
Stefan
welcome to the board!
You could use \makebox:
Code: Select all
Code, edit and compile here:
\begin{figure}\centering\makebox[\textwidth]{\includegraphics[width=1.7\textwidth]{example}}\end{figure}
LaTeX.org admin
Re: wide graphics jut out from text on right AND left margin
Thanks a lot, Stefan. Your suggestion works fine.
Gereon
Gereon
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
Re: wide graphics jut out from text on right AND left margin
Hi Gereon,
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
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
LaTeX.org admin