Attached is an example, with the error occuring in 1.6 fix 4. I've also just tested it under 1.2.0 cvs, and found it doesn't give an error.
As noted in my other message, I have found a workaround that is OK in 1.6f4 as well. Thanks, Rod On Thu, 11 Apr 2002, Herbert Voss wrote: > Rod Pinna wrote: > > > I suspect this is me being stupid, but I never seem to be able to quite > > get what I want out of tables. > > > > Essentially, I want to define the table cell width, and have it centre > > aligned. I've found that in any column *except the last* I can do this by > > setting a column width, and then centre aligning each paragraph in the > > table. This doesn't work in the last paragraph, resulting in a latex > > error. > > > testfile, please > > HErbert > > > -- > http://www.lyx.org/help/ > _________________________________________________________________________ rpinna |"Zoeggeler denies Hackl four straight luge golds" @civil.uwa| .edu.au | ABC news headline, 2002
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass scrbook \begin_preamble \usepackage[]{natbib} \usepackage[hang,footnotesize]{caption} \end_preamble \options twoside \language english \inputencoding default \fontscheme default \graphics default \paperfontsize 12 \spacing other 1.17 \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 1 \paperorientation portrait \leftmargin 30mm \topmargin 20mm \rightmargin 47mm \bottommargin 10mm \secnumdepth 2 \tocdepth 2 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle fancy \layout LaTeX \layout Chapter A Chapter \layout Standard This is an example table \begin_float tab \layout Caption \added_space_bottom 3pt Values of the displacment components and their derivatives with respect to \begin_inset Formula \( z \) \end_inset at \begin_inset Formula \( z=0 \) \end_inset \layout Standard \added_space_top 1mm \added_space_bottom 1mm \align center \begin_inset Tabular <lyxtabular version="2" rows="4" columns="3"> <features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" endlastfoot="0"> <column alignment="left" valignment="center" leftline="false" rightline="false" width="3cm" special=""> <column alignment="left" valignment="center" leftline="false" rightline="false" width="3cm" special=""> <column alignment="left" valignment="center" leftline="false" rightline="false" width="3cm" special=""> <row topline="true" bottomline="true" newpage="false"> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm Displacement Component \end_inset </cell> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm Value of component at \begin_inset Formula \( z=0 \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \align center Value of \begin_inset Formula \( \frac{\partial }{\partial z} \) \end_inset of component at \begin_inset Formula \( z=0 \) \end_inset \end_inset </cell> </row> <row topline="false" bottomline="false" newpage="false"> <cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \begin_inset Formula \( u_{1} \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \begin_inset Formula \( \sin (n\theta )\times \textrm{constant} \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \begin_inset Formula \( \frac{\sin (n\theta )}{L}\times \textrm{constant} \) \end_inset \end_inset </cell> </row> <row topline="false" bottomline="false" newpage="false"> <cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \begin_inset Formula \( v_{1} \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \begin_inset Formula \( 0 \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="left" valignment="top" topline="false" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \begin_inset Formula \( \frac{\cos (n\theta )}{L}\times \textrm{constant} \) \end_inset \end_inset </cell> </row> <row topline="false" bottomline="true" newpage="false"> <cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \begin_inset Formula \( w_{1} \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="left" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \added_space_top 1mm \begin_inset Formula \( 0 \) \end_inset \end_inset </cell> <cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special=""> \begin_inset Text \layout Standard \begin_inset Formula \( \frac{\cos (n\theta )}{L}\times \textrm{constant} \) \end_inset \end_inset </cell> </row> </lyxtabular> \end_inset \end_float \the_end