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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having problems to align or better put, make my figures being of equal size/margins like my text

What I do is this


%%% Document preamble %%%

% for figures
\usepackage{geometry}                % See geometry.pdf to learn the layout options. \usepackage{graphicx}

\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}



%special font

\usepackage{slashed}            % for slashed characters in math mode
\usepackage{bbm}                % for \mathbbm{1} (unit matrix)
\usepackage{xspace}             % For spacing after commands

% adjust page width (needs to be done before fancy headers)
% fancy page headers





 \usepackage{pst-grad} % For gradients
 \usepackage{pst-plot} % For axes

\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\chaptername}\ \thechapter:\ #1}{}}

% adjust rest of page layout (needs to be done after fancy headers)
\addtolength{\headheight}{2pt} % bring header closer
\addtolength{\topmargin}{-20mm} % enlarge vertical space
\addtolength{\oddsidemargin}{-25mm} % adjust odd&even margins for texwidth

% just to generate text for the example

% Add rotating possibility in columns and such


%%% The document itself %%%


    %\centerline{  \includegraphics[scale=0.65]{./chapter3/figures_susy/q_qq.png}}
    \includegraphics[scale=0.65 ]{./chapter3/figures_susy/q_qq.png}

    \caption{The Feynman diagrams bla bla bla }

I what ever I am trying, my pics are always bigger than the text... thanks


enter image description here

share|improve this question
working example ? – Alex Mar 30 '13 at 20:28
this {\centering\par \makebox[0pt]{\includegraphics{...}} aligns pic, but this cannot be surrounded by the \begin{figure} etc... \par} – Alex Mar 30 '13 at 20:38
Instead of using the scale key, use width, as in \includegraphics[width=\textwidth]{./chapter3/figures_susy/q_qq.png}. – Gonzalo Medina Mar 30 '13 at 20:40

To guarantee that your images will have a width equat to the text width, instead of using the scale key use widthwith a value equal to \textwidth, as in


A complete example; the showframe package was only used to draw a frame showing the margins:






enter image description here

share|improve this answer

Your Answer


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.