Yann Collete wrote:
>
> Hello,
>
> I've found a little problem with figure float:
>
> 1 - insert a figure float
> 2 - insert the caption for the figure
> 3 - insert a figure in the figure float
> 4 - at each side of the figure, insert a HFill
>
> when you export this document to ps, the figure is put
> next to the right side a not in the middle of the page:
> the right HFill doesn't seems to have any effect on the
> figure.
a figure is by default centered by lyx and a table not!
and behind the figure comes a "\par"-command.
look at the latex-commands:
---
\begin{figure}
{\centering \hfill{}a figure\hfill{}\par}
\caption{a caption}
\end{figure}
\begin{table}
\hfill{}a table\hfill{}
\caption{a caption}
\end{table}
---
therefore the combination of hfill/figure/hfill couldn't work.
the only case for centering a figure by
layout->paragraph->center
is given, when you insert a figure by cut and paste from another
psoition. than it's not centered by default.
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/