我浏览了一下无法在表格之间产生垂直空间但我想找一些稍微不同的东西:我不太想把桌子放在一起一定- 我很乐意让 LaTeX(或任何人 :) 来决定。但如果它们要一起出现,那么我需要一些额外的空间。当我使用时threeparttable
,一个临时的解决方案可能是只使用“盲”脚注,但我想有人可以想出比这更优雅的东西……
梅威瑟:
\documentclass{article}
\usepackage{tabulary}
\usepackage{threeparttable}
\usepackage{array}
\usepackage{siunitx}
\usepackage{booktabs}
\usepackage{lipsum}
\renewcommand{\arraystretch}{1.2}
\sisetup{round-mode=places,round-precision=1, add-decimal-zero=true, add-integer-zero=true, round-integer-to-decimal}
\begin{document}
\lipsum[1]
\begin{table}
\begin{threeparttable}
\caption{this is my first table's captive caption}
% \begin{tabulary}{\textwidth}{*{8}{L}}
% \begin{tabulary}{\textwidth}{*{2}{L}*{6}{S[table-format=3.2]}} \toprule
\begin{tabulary}{\textwidth}{@{}*{2}{L}*{6}{S[table-format=3.2]}@{}} \toprule
× & TOTALLY & {1000} & {2000} & {3000} & {4000} & {5000} & {6000\tnote{1}}\\ \midrule
DDD 1 & 47.6 & 29.1 & 1.0 & 0.2 & 1.9 & 15.2 & 0.0\\
Unweighted average: & × & × & × & × & × & × & ×\\
DDD & 39.4545 & 9.8695 & 15.3365 & 0.6915 & 2.246 & 10.6705 & 0.5105\\ \bottomrule
\end{tabulary}
\begin{tablenotes}
\item [1] the first note ...
\end{tablenotes}
\end{threeparttable}
\end{table}
\begin{table}
\begin{threeparttable}
\caption{this is my first table's captive caption}
% \begin{tabulary}{\textwidth}{*{8}{L}}
% \begin{tabulary}{\textwidth}{*{2}{L}*{6}{S[table-format=3.2]}} \toprule
\begin{tabulary}{\textwidth}{@{}*{2}{L}*{6}{S[table-format=3.2]}@{}} \toprule
× & TOTALLY & {1000} & {2000} & {3000} & {4000} & {5000} & {6000\tnote{1}}\\ \midrule
DDD 1 & 47.6 & 29.1 & 1.0 & 0.2 & 1.9 & 15.2 & 0.0\\
Unweighted average: & × & × & × & × & × & × & ×\\
BBB & 33.8 & 11.3 & 9.1 & 0.4 & 1.8 & 11.0 & 0.2\\
GGG & 32.9904 & 8.60325 & 9.3845 & 0.0495 & 1.43225 & 10.79525 & 0.119\\
DDD & 39.4545 & 9.8695 & 15.3365 & 0.6915 & 2.246 & 10.6705 & 0.5105\\ \bottomrule
\end{tabulary}
\begin{tablenotes}
\item [1] the first note ...
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
答案1
出现在同一个页面顶部或者底部的浮动元素之间用\floatsep
空格隔开。
article
该类的默认值为12pt plus 2pt minus 2pt
只要在文件序言中说,
\setlength{\floatsep}{24pt plus 4pt minus 4pt}
(或您认为最合适的值)。