
我想將 a 放在footnote
a 下方table
和 上方caption
。由於我使用floatrow
的是我使用的包\floatfoot
,但是沒有選項可以放置floatfoot
在表格下方和標題上方。
微量元素:
\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}
\floatsetup[table]{footposition=bottom}
\captionsetup[table]{labelfont=bf}
\begin{document}
\begin{table}
\begin{tabular}{lr}
Yellow & 3 \\
Green & $k-3$ \\
\end{tabular}
\caption{Apples}
\floatfoot{$k$ number of apples}
\end{table}
\end{document}
答案1
你可以使用\RawCaption
:
\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}
\captionsetup[table]{labelfont=bf}
\begin{document}
\begin{table}
\begin{tabular}{lr}
Yellow & 3 \\
Green & $k-3$ \\
\end{tabular}
\RawCaption{\caption*{\footnotesize$k$ number of apples}}
\caption{Apples}
\end{table}
\end{document}
或甚至是具有所需格式的簡單文字行:
\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}
\captionsetup[table]{labelfont=bf}
\begin{document}
\begin{table}
\begin{tabular}{lr}
Yellow & 3 \\
Green & $k-3$ \\
\end{tabular}\par\medskip
{\footnotesize$k$ number of apples}
\caption{Apples}
\end{table}
\end{document}
答案2
套餐三部分錶提供表格註釋,並且應該可以做你想要的。
\documentclass[12pt]{article}
\usepackage{floatrow}
\usepackage{caption}
\usepackage{threeparttable}
\floatsetup[table]{footposition=bottom}
\captionsetup[table]{labelfont=bf}
\begin{document}
\begin{table}
\begin{threeparttable}[b]
\caption{Apples}
\begin{tabular}{lr}
Yellow & 3 \\
Green & $k-3$ \\
\end{tabular}
\begin{tablenotes}{\footnotesize
\item [] $k$ number of apples
}
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
不幸的是,表格註釋的寬度僅限於表格寬度。因此我建議定義一個固定的表格寬度,tabular*
如下所示:
\begin{tabular*}{0.5\textwidth}{@{\extracolsep{\fill}}lr}
...
\end{tabular*}