Il 22/12/2011 04:55, [email protected] ha scritto:
Hi all,

I have lots of troubles in exporting a table from .tex to lyx. An error
message with "UNDEFINED  CONTROL SEQUENCE" pops up.

The .tex code is the following:

\begin{table}[htbp]   \centering   \caption{Add caption}     \begin{tabular}
{rrrrrrrrr}     \addlinespace     \toprule     Earnings&  numgiven&  clique&
cowork\_ag&  propkin&  proprelig&  deage&  propnewfr&  avgfrndeduc \\
\midrule     Below median&  3.352442&  3.189791&  0.970276&  0.479005&  0.74708
&  33.4612&  0.101146&  4.094087 \\     Above median&  3.078189&  3.073643&
0.574949&  0.539666&  0.791044&  36.59603&  0.153194&  3.452166 \\     Total&
3.213166&  3.131339&  0.769311&  0.509949&  0.769507&  35.03208&  0.127256&
3.772063 \\     \bottomrule     \end{tabular}   \label{tab:addlabel} \end
{table}

Anyone can help me?

Are there any additional programs I should install? How can I install them?

Many thanks.

Lux

I have tried to write your code in LaTeX and import it in LyX but everything works fine for me.
You just have to recall to add the package "booktabs" in the preamble.

Francesco

Reply via email to