On Friday 21 January 2005 08:47 am, Juergen Spitzmueller wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > The caption on my figure floats prints identically to my Standard
> > environment, which is very confusing. I could certainly make a new
> > environment and paint every caption with that new environment, but before
> > I do, it seems intuitive that captions would already have their own
> > environment, and if I were to change THAT environment, all captions would
> > change with it.
> >
> > Is there such a thing as a float caption environment, or do I need to
> > make and use a new environment to change the look of the figure float
> > captions in my book?
>
> Package caption. Cf.
> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=captsty
>
> J�rgen
Hi J�rgen,
Yes! The caption package, which was already included with my texmf
distribution, did what I want. Thanks so much. Here's what I put in my book's
layout file:
\usepackage[font={scriptsize,sc,bf},textfont={scriptsize,sc,bf}]{caption}
It gave me nice bold, tiny, smallcaps captions that were VERY distinct from
the book's text.
Earlier, I had redefined caption like this:
\let\oldcaption=\caption%
\def\caption{%
\oldcaption%
\bfseries%
\scriptsize%
}%
Unfortunately, that affected only the caption text, not the label, and worse,
it put a linefeed between the label and the text. Sure, I could have
troubleshot and fixed it, but it would have taken all day. The use of package
caption was the clean way to do it. Thank you for the tip.
SteveT
Steve Litt
Author:
* Universal Troubleshooting Process courseware
* Troubleshooting Techniques of the Successful Technologist
* Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
* Troubleshooters.Com
* http://www.troubleshooters.com