I have a situation where I have data in a table and in some of the cells I place a footnote symbol to indicate it is statistically significant. However, because my table declaration sets the column to center in those cells with the footnote symbol the numbers don't align with the rest of the column, which makes sense. However, visually, I want the numbers to align not the entire cell contents. So i'm wondering what is the best approach to ensuring the numbers align. I'm not married to center align, but in the case where the contents are not center aligned, I still want the headers center aligned and I haven't figured out how to align cells separately...
I am using the ctable package for this, but I don't think that matters for this particular question.
Here is the table:
Code: Select all
\ctable[
caption=Table of correlations, some are significant!,
label=tbl:corr
]{@{}ccccccc@{}}{
\tnote[]{\hspace*{-.8em}\textit{Note.} This footnote is important.}
\tnote[*]{\textit{p} $<$ 0.05}
}
{\FL
Component & 2 & 3 & 4 & 5 & 6 & 7 \ML
1. component 1 & 0.80\tmark[*] (.64) & 0.80 (.64)\tmark[*] & 0.75\tmark[*] (.60)\tmark[*] & 0.70 (.49) & 0.65 (.38) & 0.50 (.25) \NN
2. component 2 & & 0.80 (.64) & 0.75 (.60) & 0.70 (.49) & 0.65 (.38) & 0.50 (.25) \NN
3. component 3 & & & 0.75 (.60) & 0.70 (.49) & 0.65 (.38) & 0.50 (.25) \NN
4. component 4 & & & & 0.70 (.49) & 0.65 (.38) & 0.50 (.25) \NN
5. component 5 & & & & & 0.65 (.38) & 0.50 (.25) \LL
}