I am using this code to generate a table in the document. It keeps giving me the error, Missing $ inserted
. I am unable to figure out this error.
\begin{table}[htbp]
\centering
\begin{tabular}{lrrrrr}
& \multicolumn{5}{c}{DeCLUTR Base} \\
Pairs & \multicolumn{1}{l}{\omega_c^1} & \multicolumn{1}{l}{\omega_c^2} & \multicolumn{1}{l}{\Omega_c} & \multicolumn{1}{l}{z_{s,t}} & \multicolumn{1}{l}{$Q$} \\
A1 - A2 & 0.24 & 0.55 & 0.40 & 0.83 & 2.09 \\
A1 - A3 & 0.26 & 0.51 & 0.39 & 0.83 & 2.15 \\
A2 - A3 & 0.39 & 0.33 & 0.36 & 0.84 & 2.31 \\
& & & & & \\
I1 - I2 & 0.33 & 0.41 & 0.37 & 0.83 & 2.24 \\
I1 - I3 & 0.25 & 0.49 & 0.37 & 0.82 & 2.22 \\
I1 - I4 & 0.58 & 0.24 & 0.41 & 0.83 & 2.04 \\
I2 - I3 & 0.29 & 0.47 & 0.38 & 0.83 & 2.20 \\
I2 - I4 & 0.65 & 0.23 & 0.44 & 0.83 & 1.90 \\
I3 - I4 & 0.76 & 0.16 & 0.46 & 0.82 & 1.80 \\
& & & & & \\
O1 - O2 & 0.25 & 0.48 & 0.37 & 0.83 & 2.25 \\
O1 - O3 & 0.61 & 0.21 & 0.41 & 0.83 & 2.00 \\
O1 - O4 & 0.42 & 0.34 & 0.38 & 0.83 & 2.21 \\
O2 - O3 & 0.81 & 0.15 & 0.48 & 0.82 & 1.72 \\
O2 - O4 & 0.55 & 0.23 & 0.39 & 0.83 & 2.13 \\
O3 - O4 & 0.24 & 0.55 & 0.40 & 0.84 & 2.12 \\
& & & & & \\
M1 - M2 & 0.34 & 0.35 & 0.34 & 0.84 & 2.43 \\
\end{tabular}
\label{Tab:warp_coeff_declutr_b}
\caption{Warp coefficients for DeCLUTR Base}
\end{table}%
$\omega_c^1$
similarly the other math entries\ref
directive, the\label
directive has to be place after, not before, the\caption
statement.