Graphics, Figures & Tablesfigures overlap

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

figures overlap

Post by sgp »

Hi all,
I am writing a journal article using elsevier class file and while i use subfigure package and insert two figures, the second one overlaps with the first one. I am using the trim option in \includefigure. When the figures are inserted individually, there is no problem but when inserted in subfigure option, this overlap occurs.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

figures overlap

Post by Stefan Kottwitz »

Hi sgp,

the subfigure package is obsolete, I recommend using the subfig package instead. Perhaps the problem doesn't occur with that newer package.

Stefan
LaTeX.org admin
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: figures overlap

Post by sommerfee »

Try putting a \fbox around the pictures: \fbox{\includegraphics[...]{...}}

This way you see where your pictures end, if the margins are correct etc.

As an (quick & dirty) alternative to fixing the picture margins you can try to separate the \subfigures with \hspace or \vspace.
Post Reply