I would like to change the margin for an image only, I've used


But it affects an entire page


for local extension of text width for one equation or image you can use changepage package and his macro adjustwidth:

% preamble ...
% ...

% ...
| improve this answer | |

Thank's to comment I got it to work using minipage and negative \hspace

| improve this answer | |
  • Don't put a figure environment inside a center environment like that, the figure could easily float away, and then you're left with some unwanted vertical space generated by the center environment. To center the contents of a figure environment add \centering right after \begin{figure}. – Torbjørn T. Aug 24 '16 at 7:54
  • 1
    The minipage is not needed; just use \hspace*{<dim>}% – egreg Aug 24 '16 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.