Using different font types in the figure caption and table caption

Using different font types in the figure caption and table caption

Post by henryjoy » Tue, 30 Jan 2007 17:18:03


I want to set different font types for the figure caption and table
caption respectively. I use the following command to set font type for
the figure caption:

\renewcommand{\captionfont}{\small\itshape}

But when I use this command, the table caption font and figure caption
font are changed at the same time. How to set different font types for
the figure caption and table caption respectively? Thanks a lot!!
 
 
 

Using different font types in the figure caption and table caption

Post by Enrico Gre » Tue, 30 Jan 2007 18:14:21


Package caption.

Ciao
Enrico

 
 
 

Using different font types in the figure caption and table caption

Post by henryjoy » Wed, 31 Jan 2007 00:20:16

Thanks a lot for your reply!

I just read the caption package and found that there is no information
on setting different font type for figure and table caption
differently. Would you please kind to tell me exactly how to set this
kind of environment? Thanks in advance!

Joye
 
 
 

Using different font types in the figure caption and table caption

Post by Alan Mun » Wed, 31 Jan 2007 00:55:08

In article < XXXX@XXXXX.COM >,






So perhaps you should read it more carefully.

\captionsetup[figure]{font=small, it}

Alan
 
 
 

Using different font types in the figure caption and table caption

Post by Axel Somme » Wed, 31 Jan 2007 00:57:36

Hi Joye,




Please read the paragraph about the \captionsetup command in section "6
Useful stuff".

HTH,
Axel
 
 
 

Using different font types in the figure caption and table caption

Post by henryjoy » Wed, 31 Jan 2007 02:19:56

Thanks a lot! That's very useful!

The problem for me is that I have already used the package caption2.
When I add the package caption into my file, it seems that the package
caption confilicts with caption2 package. How to deal with this
problem?

Thanks!

Joye
 
 
 

Using different font types in the figure caption and table caption

Post by Alan Mun » Wed, 31 Jan 2007 02:26:56

In article < XXXX@XXXXX.COM >,


Again, please read the documentation of caption more carefully. (And
make sure you have the latest version.) There is a whole section on
caption2 compatibility (Section 8.2). The basic idea is that you should
switch to caption and reimplement any non-compatible features.

Alan
 
 
 

Using different font types in the figure caption and table caption

Post by Donald Ars » Wed, 31 Jan 2007 12:28:52

Axel Sommerfeldt < XXXX@XXXXX.COM > writes:


And skip sections 1-5 "Useless Stuff"

:-)


--
Donald Arseneau XXXX@XXXXX.COM
 
 
 

Using different font types in the figure caption and table caption

Post by Axel Somme » Wed, 31 Jan 2007 18:18:37


And especially skip the sections 7-8 "Senseless Stuff"

:-D
 
 
 

Using different font types in the figure caption and table caption

Post by rf10 » Wed, 31 Jan 2007 21:58:21


Axel Sommerfeldt < XXXX@XXXXX.COM > writes:


plainly what's needed is artificially intelligent empathic
documentation that knows before you start what it is you need, and
only shows you what you need to know.

('ld probably cheer up rowland, a bit, too.)
--
Robin Fairbairns, Cambridge