On Thursday 13 October 2005 20:43, Walid Maalej wrote: > > > Yes. Sure the graphic and its name are in separate lines --> separate > > > paragraphs. However I'm not able to define two different styles for > > > each paragraph: Justified for the caption and centered for the graphic. > > > I > > > > have > > > > > both of them inside a float:Figure > > > Do you know if this possible? Or do I have to put them without a float? > > > > Open the Layout->Paragraph dialog and set the justification as you > > desire. > > No it does not work! Every time I change the justification for the caption, > it gets back to the paragraph's value. > I guess within a float one can have only one justification even if we have > more than one paragraph?!
Sorry, my misunderstanding. I thought you wanted to center the graphic. To center the caption you need to redefine the LaTeX. I've used this in the past. Add it to your preamble. %% Set the captions to be italic \newcommand\myCaption[1]{\itshape\refstepcounter{figure}% \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape} \let\caption\myCaption Please reply to the list... Angus