On Tue, Aug 26, 2003 at 03:09:21PM +0200, Juergen Spitzmueller wrote: > Andre Poenitz wrote: > > InsetText::paragraphs().back() is the last par in this text. > > thanks. is this a bool? > > > What exactly do you need? > > I'm trying to get the alignment in floats and table cells right (our current > \begin{center}...\end{center} inserts unwanted space). > http://bugzilla.lyx.org/show_bug.cgi?id=1290 > floats and table cells should be aligned with > \begin{centering}...\end{centering} etc. (which is nothing else than better > markup of \centering...\par), but the very last paragraph in a table cell > must be aligned with \centering (without closing \par), else an extra line is > appended.
Concerning the TeX trickery: \makeatletter [EMAIL PROTECTED] \makeatother \begin{tabular}{p{3cm}}a\xpar b \xpar c\xpar\end{tabular} is certainly not perfect, but seems to work by adding a \par unless the next token is \end. Would that help? Andre'