Graphics, Figures & TablesSubfigure caption size

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
kluni
Posts: 4
Joined: Mon Nov 23, 2009 1:40 am

Subfigure caption size

Post by kluni »

Hi everybody,

I use subfigure to put some pictures in one figure. But because the pictures are too much, I need to get a smaller caption for each picture, in order everything fits on each page.
Here is my code:

Code: Select all

\begin{figure}[htb]
	\centering
		\subfigure[$T_w=300\;K$]{\includegraphics[width=0.5\textwidth]{iso_4_125_300_w.jpg}}\\
		\subfigure[$T_w=500\;K$]{ \includegraphics[width=0.5\textwidth]{iso_4_125_500_w.jpg}}\\
		\subfigure[$T_w=600\;K$]{\includegraphics[width=0.5\textwidth]{iso_4_125_600_w.jpg}}\\
		\subfigure[$T_w=1000\;K$]{\includegraphics[width=0.5\textwidth]{iso_4_125_1000_w.jpg}}\\
		\subfigure[$T_w=1000\;K$]{\includegraphics[width=0.5\textwidth]{iso_wtemp_druckv.jpg}}\\
	\caption{Machzahlverlauf und Schmierenbilder f\"ur verschiedene Wandtemepraturen $T_w$}
	\label{fig:iso_wtemp_druckv_schmier}
\end{figure}
I read the documentation of subfigure package, but as a newbie I don't really get, how to do that.
Btw, is there also a possibility to make the gap smaller between each picture?

Thanks a lot for any help. I need it.
Byebye,
Kluni.
Last edited by kluni on Thu Oct 14, 2010 11:53 pm, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Subfigure caption size

Post by localghost »

Please always provide a minimal working example (MWE) that shows the problem clearly. Otherwise it comes to nothing in case of more complicated problems.

With subfigure you are using an obsolete package [1]. So you either use subfig instead or any other package suggested in the mentioned topic.
kluni wrote:[…] I read the documentation of subfigure package, but as a newbie I don't really get, how to do that. […]
Actually Section 2.2 of the subfigure manual is very clear in this regard.

[1] View topic: Obsolete packages and document classes — Avoid usage!


Thorsten
kluni
Posts: 4
Joined: Mon Nov 23, 2009 1:40 am

Re: Subfigure caption size

Post by kluni »

To be honest, I really have no clue, how to do that. Ok, in the documentation it is written I can have small, or footnotesize caption. But where should I write it.
I use the subfigure package.

Thanks,
Kluni
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Subfigure caption size

Post by sommerfee »

It's a package option, so you have to use it as argument to \usepackage, e.g.

Code: Select all

\usepackage[footnotesize]{subfigure}
HTH,
Axel
kluni
Posts: 4
Joined: Mon Nov 23, 2009 1:40 am

Re: Subfigure caption size

Post by kluni »

Hi!

That easy =) Thanks. This helps.
Post Reply