RENARD Francois  144138 wrote:

> Hello,
> 
> Does somebody know how to modify the apparence of all legends in LYX ?
> (modify size of characters, of margins etc.)
> I found no option in LYX to do that.
> 
> I tried to use the package "caption", but it had no effects on the
> legends in my document.

Hi, Fran�ois

You need to use a little bit of latex magic in your Preamble.

For example:

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


-- 
Angus

Reply via email to