UnderGround Forums
 

AcademicGround >> Problem Generating Latex Table in Lyx


3/8/09 9:18 PM
Ignore | Quote | Vote Down | Vote Up
Hollywood Blonde
Send Private Message Add Comment To Profile

Member Since: 1/1/01
Posts: 18475
 
I don't generate any table when I copy and paste this into Lyx. What have I done wrong? Thanks.

\begin{center}

\begin{tabular}{lrrr}

\toprule

& \multicolumn{1}{c}{JEANS} & \multicolumn{1}{c}{SHORTS} & \multicolumn{1}{c}{REFUSED} \\

\midrule

FAVOR & 22 & 33 & 45 \\

OPPOSE & 67 & 89 & 91 \\

N & 312 & 1781 & 100 \\

\bottomrule

\end{tabular}

\end{center}
3/11/09 8:54 AM
Ignore | Quote | Vote Down | Vote Up
big fatso
7 The total sum of your votes up and votes down Send Private Message Add Comment To Profile

Edited: 03/11/09 8:54 AM
Member Since: 12/19/07
Posts: 4245
Hollywood Blonde - I don't generate any table when I copy and paste this into Lyx. What have I done wrong? Thanks.

\begin{center}

\begin{tabular}{lrrr}

\toprule

& \multicolumn{1}{c}{JEANS} & \multicolumn{1}{c}{SHORTS} & \multicolumn{1}{c}{REFUSED} \\

\midrule

FAVOR & 22 & 33 & 45 \\

OPPOSE & 67 & 89 & 91 \\

N & 312 & 1781 & 100 \\

\bottomrule

\end{tabular}

\end{center}


It looks fine in miktex. What output do you get?
3/12/09 6:39 PM
Ignore | Quote | Vote Down | Vote Up
Hollywood Blonde
Send Private Message Add Comment To Profile

Member Since: 1/1/01
Posts: 18478
I wasn't pasting it onto a Tex box. Stupid me. :) Thanks anyway!

Reply Post

You must log in to post a reply. Click here to login.