I'm sure this is simple but I can't find a solution for this. I have a table defined with a custom column to align along the decimal point. As a result, the content is being treated as being in math mode. Because the table is large, I'd like to reduce the size of the font in each cell, but normal font size commands do not work in math mode. I tried using the relsize command in the column definition but that doesn't seem to work. So is it possible to control the font size in math mode? Thanks in advance!
Code: Select all
>{\relsize{-1}}d{1}{2} % didn't work>{\small} d{1}{2} % didn't work... & \small 0.1 & ... \NN % didn't work
Code: Select all
\usepackage{dcolumn}\usepackage{ctable}\newcolumntype{d}[2]{D{.}{.}{#1.#2}}\ctable[caption=Title,pos=h]{ld{1}{2}@{}d{1}{2}d{1}{2}@{}d{1}{2}d{1}{2}@{}d{1}{2}d{1}{2}@{}d{1}{2}d{1}{2}@{}d{1}{2}d{1}{2}@{}d{1}{2}}{%}{\FL\multicolumn{1}{l}{Component} & \multicolumn{2}{c}{2} & \multicolumn{2}{c}{3} & \multicolumn{2}{c}{4} & \multicolumn{2}{c}{5} & \multicolumn{2}{c}{6} & \multicolumn{2}{c}{7} \ML1. Component & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 & 0.1 \NN2. Component & & & & & & & & & & & & \NN3. Component & & & & & & & & & & & & \NN4. Component & & & & & & & & & & & & \NN5. Component & & & & & & & & & & & & \NN6. Component & & & & & & & & & & & & \NN7. Component & & & & & & & & & & & & \LL}