[OS X TeX] Tweaking Figure label

Alan Munn amunn at msu.edu
Wed Feb 7 18:12:14 CET 2007


At 7:37 AM -0800 2/7/07, John B. Thoo wrote:
>Hi.  I'm sorry if this is not the right forum to ask this question.  
>You may direct me to the right forum.
>
>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"
>
>   change   \renewcommand \thefigure {\@arabic\c at figure}
>   to       \renewcommand \thefigure {\textbf{\@arabic\c at figure}}
>
>   change   \newcommand\figurename{Figure}
>   to       \newcommand\figurename{\textbf{Figure}}
>
>But then, when I use \ref, the figure number in the text is in bold 
>also.  How do I get out of this dilemma?

Use the caption package.  Much easier and plays well with others.

\usepackage{caption}
\captionsetup{figure}{font=bf}

Alan


-- 
Alan Munn 
amunn at msu.edu
Department of Linguistics                             
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824       Tel.  +1-517-355-7491

------------------------- 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