# Different margins for text and figures

Is it possible to have it so that the text has smaller left and right margins than figures? I am using memoir.

-
I recommend using the geometry package. –  azetina Oct 7 '12 at 12:44
Would you please be more specific? What diagrams are you referring to? –  egreg Oct 7 '12 at 12:52
@egreg: Sorry, I meant the figures. –  Neil G Oct 7 '12 at 12:55
memoir has the adjustwidth environment for changing the margins locally. –  Torbjørn T. Oct 7 '12 at 13:30
See if tex.stackexchange.com/questions/74948/… helps –  Torbjørn T. Oct 7 '12 at 13:32

## 1 Answer

The method described by Werner in his answer can be extended to figures also to make captions spill outside margins. To make figures go beyond margins and keep them at center, you can use adjustbox package.

\documentclass{memoir}
\usepackage{lipsum}
\usepackage[demo]{graphicx} %remove demo in your file.
\usepackage[export]{adjustbox}
\usepackage{letltxmacro}
\LetLtxMacro{\originalfigure}{\figure}
\LetLtxMacro{\originalendfigure}{\endfigure}
\renewenvironment{figure}[1][htb]%
{\originalfigure[#1]% \begin{figure}[htb]
\begin{adjustwidth*}{-.5in}{-.5in}
}%
{\end{adjustwidth*}\originalendfigure}% \end{figure}

\begin{document}
\lipsum[1]
\begin{figure}[htb]
\adjincludegraphics[width=1.2\textwidth,center]{figure}
\caption{This is a one big caption that may run in to more than two lines without any trouble to us in setting more margins}\label{fig:figure-chow}
\end{figure}
\lipsum[1]
%
\end{document}


-
Perfect. This is exactly what I wanted! –  Neil G Oct 7 '12 at 17:41