Document Classesseveral graphs

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
mr_pink
Posts: 11
Joined: Fri May 23, 2008 11:20 am

several graphs

Post by mr_pink »

Hi,

I'm using TexnicCenter and the MikTex distribution on windows.

I use the LaTex => PS profile and graphicx package to include .eps graphics which works fine.

I cannot find anywhere, however, how to display several graphs next to each other. I want tex to give a number and caption and lable (for references) to the single graphs and the whole graph "pack". I've attached a picture of a document where it's done like that. Unfortunately, i have the .pdf only, not the code to that document.

Does anyone know how to do that?

Thanks in advance!

Anne
Attachments
several graps.jpg
several graps.jpg (15.12 KiB) Viewed 3816 times

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

several graphs

Post by Stefan Kottwitz »

Hallo Anne,

I recommend the subfig package, for its features have a look at its documentation.

Stefan
LaTeX.org admin
mr_pink
Posts: 11
Joined: Fri May 23, 2008 11:20 am

Re: several graphs

Post by mr_pink »

perfect!!

thank you very much!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

several graphs

Post by localghost »

Since there are some known inconsistencies with hyperref, you could run into trouble using subfig. Version 3.1 of caption comes with a small additional package called subcaption. It has its own documentation that describes how to achieve the same results as with subfig. It seems that subfig isn't maintained any more.


Best regards
Thorsten
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

several graphs

Post by gmedina »

localghost wrote:Since there are some known inconsistencies with hyperref, you could run into trouble using subfig. Version 3.1 of caption comes with a small additional package called subcaption. It has its own documentation that describes how to achieve the same results as with subfig...
In addition, the subfig package cannot be used with the beamer document class. I agree with localghost about using subcaption instead of subfig.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply