User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Quick question about Tables in LaTeX Page [1]  
tl
All American
8430 Posts
user info
edit post

can anyone figure out why the hell this table isn't compiling? I swear it worked fine a few weeks ago and I haven't touched it since. But now....

\begin{table}[!h]
\caption{Linear curve fit data for right wing effectors with $\alpha$ variation. \label{table-rightwingalfas}}
\begin{center}
\begin{tabular}{| c | c | c | c | c | c | c | c | c | c |} \hline
& \multicolumn{3}{|c|}{C_{L_{\delta_f}\alpha}} & \multicolumn{3}{|c|}{C_{m_{\delta_f}\alpha}} & \multicolumn{3}{|c|}{C_{l_{\delta_f}\alpha}} \\ \hline
{Effector} & Slope & Int. & r^2 & Slope & Int. & r^2 & Slope & Int. & r^2 \\ \hline
1 & 2.695 & 4.170 & 0.7736 & -0.3500 & -1.128 & 0.4115 & -0.2268 & 0.9535 & 0.3983 \\ \hline
2 & -2.198 & 5.290 & 0.9969 & 0.0075 & -1.081 & 0.0036 & -0.6320 & 1.200 & 0.8812 \\ \hline
3 & -5.480 & 7.374 & 0.9387 & -0.0650 & -1.149 & 0.1133 & -0.5088 & 1.170 & 0.8605 \\ \hline
4 & 6.393 & 0.9598 & 0.8025 & 0.2575 & -1.361 & 0.2932 & 0.2940 & 0.7434 & 0.8427 \\ \hline
5 & 3.175 & 3.033 & 0.9642 & -0.1975 & -1.145 & 0.9386 & -0.1283 & 0.9892 & 0.1442 \\ \hline
6 & -4.055 & 5.654 & 0.3924 & 0.5250 & -1.605 & 0.3952 & -0.6440 & 1.377 & 0.6835 \\ \hline
7 & 1.743 & 1.717 & 0.3992 & 0.4033 & -1.235 & 0.9876 & -0.1678 & 0.8737 & 0.1476 \\ \hline
8 & 2.568 & 2.283 & 0.5593 & 0.2800 & -1.512 & 0.7701 & -0.0300 & 1.121 & 0.0506 \\ \hline
9 & 0.1300 & 3.094 & 0.0008 & 1.063 & -1.971 & 0.9959 & -0.0560 & 0.9643 & 0.3952 \\ \hline
10 & 4.260 & 1.267 & 0.7816 & 0.3600 & -1.423 & 0.8615 & -1.016 & 1.562 & 0.9384 \\ \hline
11 & -6.428 & 6.646 & 0.9220 & 1.005 & -1.711 & 0.6296 & -0.6068 & 1.179 & 0.6140 \\ \hline
12 & -2.595 & 4.462 & 0.9674 & 0.7408 & -1.571 & 0.9593 & -0.4078 & 1.085 & 0.9189 \\ \hline
\end{tabular}
\end{center}
\end{table}\\

My compiler is breaking somewhere around the multicolumn command.

3/16/2007 9:43:06 AM

tl
All American
8430 Posts
user info
edit post

never fails.... as soon as I make a topic, I figure it out myself.
I turned the multicolumn lines into:


& \multicolumn{3}{|c|}{$C_{L_{\delta_f}\alpha}$} & \multicolumn{3}{|c|}{$C_{m_{\delta_f}\alpha}$} & \multicolumn{3}{|c|}{$C_{l_{\delta_f}\alpha}$} \\ \hline
Effector & Slope & Int. & $r^2$ & Slope & Int. & $r^2$ & Slope & Int. & $r^2$ \\ \hline


but man .... I swear that thing worked fine earlier.

3/16/2007 9:59:01 AM

darkone
(\/) (;,,,;) (\/)
11610 Posts
user info
edit post

those dollar signs will get you everytime

3/16/2007 11:41:09 AM

 Message Boards » Tech Talk » Quick question about Tables in LaTeX Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.