使用 tex 编码 (ERT) 在 lyx 中制作表格时:我想在表格下方用小字体显示一些说明文字(使用 \multicolumn)。但是当我输入 {\small [text]} 时,整个表格会缩小,即使我确保在想要缩小的文本之前写入 \small 命令。
\begin{tabular}{lccc}
\multicolumn{4}{l}{Table 1: CPA regulatory costs by risk class} \\ \hline
Risk class & Freq. inspection & Cost inspection & Freq. system revision \\ \hline
$R_t = 1$ & Each year & 20,200 & Every 3rd year \\
$R_t = 2$ & Every 2nd year & 15,200 & Every 6th year \\
$R_t = 3$ & Every 2nd/3rd year & 11,700 & - \\
$R_t = 4$ & When needed & 4,500 & - \\ \hline
\multicolumn{4}{c}{Source: Lovdata - Forurensningsforskriften} \\
\end{tabular}
我只希望线条\multicolumn{4}{c}{Source: Lovdata - Forurensningsforskriften}
小一点。
答案1
这就是你要找的东西吗?
\documentclass{article}
\begin{document}
\begin{tabular}{lccc}
\multicolumn{4}{l}{Table 1: CPA regulatory costs by risk class} \\ \hline
Risk class & Freq. inspection & Cost inspection & Freq. system revision \\ \hline
$R_t = 1$ & Each year & 20,200 & Every 3rd year \\
$R_t = 2$ & Every 2nd year & 15,200 & Every 6th year \\
$R_t = 3$ & Every 2nd/3rd year & 11,700 & - \\
$R_t = 4$ & When needed & 4,500 & - \\ \hline
\multicolumn{4}{c}{\scriptsize Source: Lovdata - Forurensningsforskriften} \\
\end{tabular}
\end{document}
制作