Ben Marriage wrote:
>
> Hello everyone,
>
> I have a question regarding the caption2 package and
> cross-references in LyX (my version 1.1.5fix2). I would like
> to customise the appearance of the captions in my thesis, so
> I have downloaded and installed the caption2 tex package. In
> the LyX preamble I have the following:
>
> \usepackage{caption2}
>
> In my document I need both long and short caption titles
> (for the LoF and underneath the actual figure), so I have to
> remove the default LyX caption.
>
> How do I go about making the width of the caption a bit
> smaller, to make the word "Figure", or "Table" to appear in
> bold? (generally how to reformat the caption style) This is
> what I have so far in my LyX preamble...
>
> \def\mycaption#1#2{
> \captionstyle{hang}
> \caption[#1]{#2}}
>
> Also, where should one put the LyX labels (those little grey
> boxes) when using floats, as they appear to have been
> referencing section numbers and pages rather than figure or
> table float numbers & pages.
write in preamble
\usepackage[hang,small,bf]{caption}
after inserting a float change the lyx-default captionstyle to
standardstyle. than write in tex(red)
\caption[short caption]{<insert lyx label>long caption}
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/