Hi,

I had problems with using a \mathcal in a table (see attached file).

I'm using LyX 1.1.6fix3.

When I export the file to LaTeX and then run latex on it, I get the 
following LaTeX error:

! Misplaced \noalign.
\hline ->\noalign
                  {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth 
\futurelet...
l.18 \hline

The relevant contents of the LaTeX file are

13 \makeatother
14 \begin{document}
15 \begin{tabular}{|p{4cm}|}
16 \hline
17 \centering Frequency domain \( \mathcal{F}\left\{ f\left( x\right) 
\right\} =F\left( s\right)  \)\\
18 \hline
19 \end{tabular}
20 \end{document}

I don't even understand what LaTeX doesn't like about this, but it's 
generated by LyX, which makes it a bug in LyX so far as I'm concerned.

This is preventing me from viewing/printing my thesis, so it's quite 
important to me to find a fix/workaround.

BTW, I'm not on the list, but I will monitor archives for replies.

Ben.

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset  Tabular
<lyxtabular version="2" rows="1" columns="1">
<features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" 
endlastfoot="0">
<column alignment="left" valignment="top" leftline="true" rightline="true" width="4cm" 
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
\align center 
Frequency domain 
\begin_inset Formula \( \mathcal{F}\left\{ f\left( x\right) \right\} =F\left( s\right) 
 \)
\end_inset 


\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\the_end

Reply via email to