>>>>> "Gregor" == Gregor Gorjanc <[EMAIL PROTECTED]> writes:
Gregor> Herbert Voss <[EMAIL PROTECTED]> writes: >> > That is the output if I center scrap (modified to allow that) >> environment: >> > >> > \begin{figure} > \begin{centering}<<fig=true>>= > >> boxplot(Sepal.Length~Species,data=iris) > <at> \par\end{centering} >> > >> > >> > \caption{bla bla} > \end{figure} >> >> stupid code ... >> I suppose you do not know the difference between centering and >> center First, I want to point out that this is the code output by LyX, not Gregor's doing. And I do not think that his particular problem is about center vs centering. Gregor> You are right, I do not know the diff. Can anyone enlight me Gregor> please? I guess Herbert is balking at the use of centering as an environment. In my view, using \begin{centering}...\end{centering} is equivalent to the more traditional {\centering ...} except that at least the first one is a proper markup. I agree nevertheless that I never saw this documented anywhere and I have to admit that I have no idea why this works. If it is really a bad idea, we can of course revert to the 'traditional' version. If LaTeX had a reasonable markup for doing centering with or without extra vertical space, we would not need to have this discussion. JMarc