Graphics, Figures & TablesSubfigure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Klaynos
Posts: 1
Joined: Fri Jun 17, 2011 4:53 pm

Subfigure

Post by Klaynos »

Hi all,

I've got a slight problem using the subfigure package using the normalsize option and no other options. I'm compiling using rubber with Tex Live on ubuntu. The Tex Live version is... 1009-10

My problem, if I have 3 identical images and use subfigure to put them into one figure I get two figures side by side, with a third underneath, but if I then delete one of the subfigure sections leaving only two, they are one above the other, is there any way I can force subfigure to put them side by side? I've tried googling but just can't find out!

Thanks

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: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Subfigure

Post by Stefan Kottwitz »

Hi Klaynos,

welcome to the board!
The subfigure package is obsolete, I recommend to use the subfig package instead. This is the successor, written by the same author.

Probably more can be said if you would post a code example.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Subfigure

Post by localghost »

You may also take a look at packages like floatrow or »subcaption« (shipped with caption). They offer much more sophisticated structures.


Best regards and welcome to the board
Thorsten
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Subfigure

Post by sommerfee »

Klaynos wrote:is there any way I can force subfigure to put them side by side?
Since subfigures are nothing but boxes to TeX you can just treat them the same way as other boxes or letters. So simple put them side-by-side, using either no space or a non-break space (for example ~) between them.
Post Reply