[OS X TeX] Tweaking Figure label

Michael Williams williams at astro.ox.ac.uk
Wed Feb 7 17:37:56 CET 2007


On Wed, Feb 07, 2007 at 07:37:51AM -0800, John B. Thoo wrote:
> A journal wants the figure label in the caption to be in bold, but
> the reference to the figure in normal text.  I can accomplish the
> former by editing "article.cls"

If I've understood this rightly, and as is often the case with journal
requests, this is something that has already been solved:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=captsty

e.g., using ccaption:

\documentclass{article}

\usepackage{ccaption}

\begin{document}

%% Reference to figure is normal.
See Figure~\ref{myfigure}.

%% "Figure 1:" is in bold, rest of caption is normal.
\captionnamefont{\bfseries}

\begin{figure}
\caption{Test}\label{myfigure}
\end{figure}

\end{document}

See the ccaption documentation for other possible tweaks to caption
formatting.

-- Mike

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list