Graphics, Figures & Tablessubfigure and NO letter numbering

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
plutus
Posts: 4
Joined: Thu Apr 22, 2010 10:50 am

subfigure and NO letter numbering

Post by plutus »

I'm trying to put some pictures side by side and the most effective way seems to be the subfigure command...but how can I avoid the caption (a), (b) etc? I dont want to put anything..

thanks

Recommended reading 2024:

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

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

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

subfigure and NO letter numbering

Post by php1ic »

The subfigure package is obsolete, use the subfig package and \subfloat

Code: Select all

\documentclass[a4paper]{article}

\usepackage{subfig}
\usepackage{graphicx}

\begin{document}

\begin{figure}[thbp]
\centering
\subfloat{\includegraphics[width=0.75\textwidth]{figure}}
\subfloat[sub-caption]{\includegraphics[width=0.75\textwidth]{figure}}
\caption{Blah Blah}
\end{figure}

\end{document}
If you remove the "[]" then the (a) is not displayed.
plutus
Posts: 4
Joined: Thu Apr 22, 2010 10:50 am

Re: subfigure and NO letter numbering

Post by plutus »

is subfig compatible with beamer? I have an error when compiling...(your example is fine, so subfig is there)
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

subfigure and NO letter numbering

Post by php1ic »

Googling suggest they aren't compatible, however looking at the manual:

http://www.ctan.org/tex-archive/obsolet ... cb59c41e6b

The table on P7 suggests that including the subfigure without the "[]" will also not show the (a). This seems to do the same as the original code I posted but uses the subfigure package

Code: Select all

\documentclass[a4paper]{article}

\usepackage{subfigure}
\usepackage{graphicx}

\begin{document}

\begin{figure}[thbp]
\centering
\subfigure{\includegraphics[width=0.75\textwidth]{figure}}
\subfigure[sub-caption]{\includegraphics[width=0.75\textwidth]{figure}}
\caption{Blah Blah}
\end{figure}

\end{document}
plutus
Posts: 4
Joined: Thu Apr 22, 2010 10:50 am

Re: subfigure and NO letter numbering

Post by plutus »

works fine! thanx :)
Post Reply