TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

Please I need someone to help me out with this task. I used the code listing below to achieve the graph shown in Figure1.

\usepackage[numbers, authoryear]{natbib}
        \rotatebox{90}{\makebox[0pt]{{CM Double Differential Cross--section (mb/MeV/sr)}}}
            \raisebox{\dimexpr-.5\height-1em}{\includegraphics[width=10.82cm]{Figures/sum36ho1.eps}}\ \\
            \raisebox{\dimexpr-.5\height-1em}{\includegraphics[width=10.82cm]{Figures/sum36ho2.eps}}\ \\

            %% use hspace to center the x-axis lable and then add some space at the end for the subfloat labels.
            \vspace*{0.1cm}\hspace*{\fill}{Alpha Particle Energy (MeV)}\hspace*{\fill}%\hspace*{0.5cm}
        %\caption{As in Figure~\ref{fig:sum36sn} but for $^{165}$Ho.}

What modification can I add to the code to allow me include three more charts so that the graph can look like Figure2. Thanks in anticipation.

Figure1 Figure2

share|improve this question
Remove `\ \` from the end of includegraphics. Every two images leave a line in-between. – Yiannis Lazarides Mar 20 '13 at 11:30
Put another minipage right after the first one, which contains the other column of graphics. Check that the sum of widths of the minipages does not exceed the allowed \linewidth – JLDiaz Mar 20 '13 at 11:50
Some suggestions: There's no need to encase the minipage environments in braces. Don't clutter your code with expressions such as {\dimexpr\linewidth-2.50cm+2.5cm}; {\linewidth} will do. Finally, don't load natbib with both the numbers and authoryear options. They're mutually exclusive options; the last-mentioned option will "win". – Mico Mar 20 '13 at 11:59
Thanks so people! I would be very grateful if you can give me the exact codes (that renders properly) that will help me achieve this task as I seem not to get the correct result when I tried your suggestions. You can use the usual dark boxes to represent the plots in the code. Your prompt response is highly needed. Thank you. – Fizzle Mar 20 '13 at 12:31
up vote 3 down vote accepted

Here is simplified code producing the requested output.

Sample output


        \rotatebox{90}{\makebox[0pt]{{CM Double Differential
        Cross--section (mb/MeV/sr)}}}
          Alpha Particle Energy (MeV)
          Beta Particle Energy (MeV)
        \caption{A caption}



  • I do not have your images so I have used standard ones from the distribution.

  • I have introduced a newlength \figwidth to hold the desired width of the figures

  • All \raisebox commands have been removed

  • \centering has been used for horizontal alignment in each column

  • I have assumed the aspect ratio of all your figures is the same

  • Dimension expressions have been simplified, and unnecessary nesting of groups removed

  • mathtools loads amsmath, so loading the latter is not necessary

  • margin sets all four margins for geometry in one go

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.