Maarten D. de Jong wrote:

> Hi!
> 
> Is there a way to (transparently and/or globally) change the
> appearance of captions of figures and tables? LyX only offers to
> change their position, and I haven't been able to locate a proper
> command sequence in the few manuals of TeX and LaTeX I have at my
> disposal. Any input is greatly appreciated.

I have this in the preamble of one of my docs. Maybe it will be of 
some help.

Angus


\usepackage{framed}

%% Set the sections to be bold but otherewise the same size
%% as normal text
\newlength{\spaceUnderSection}
\newlength{\spaceOverSection}
\setlength{\spaceUnderSection}{0.1ex plus .2ex}  %
\setlength{\spaceOverSection}{1.5ex plus -1ex minus-.2ex}   %
[EMAIL PROTECTED] [EMAIL PROTECTED]
                                   {\spaceOverSection}%
                                   {\spaceUnderSection}%
                                   {\normalfont\bfseries}}

%% Frame the figures
\renewenvironment{figure}[1][tbph]
               [EMAIL PROTECTED]
               [EMAIL PROTECTED]

%% Set the captions to be italic
\newcommand\myCaption[1]{\itshape\refstepcounter{figure}%
   \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape}
\let\caption\myCaption


Reply via email to