我必须将多个表格附加到一个表格中,因为它们水平方向放不下。我有一个包含 31 个国家的变量,我想将它们放在 3 个不同的页面中,因为那里有足够的空间来容纳所有表格。
因此,前两个表中有 10 个国家,最后一个表中有 11 个国家。我怎样才能将它们合并到一个表中?或者我可以让不适合这一页的国家继续显示在下一页(年份也应该显示在下一页,以便查看哪些观察结果属于哪一年)?
我一直在使用以下命令来处理表格的第一部分,但找不到如何继续下去的方法。
\begin{longtable}{lllllllllll}
\caption{}
\label{tab:my-table}\\
year & Argnetina & Australia & Belarus & Bolivia & Brazil & Chile & Colombia & Costa Rica & Denmark & Georgia \\
\endfirsthead
%
\multicolumn{11}{c}%
{{\bfseries Table \thetable\ continued from previous page}} \\
year & Argnetina & Australia & Belarus & Bolivia & Brazil & Chile & Colombia & Costa Rica & Denmark & Georgia \\
\endhead
%
1970 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1971 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1972 & 0 & 0 & . & 1 & 0 & 0 & 0 & 0 & 0 & . \\
1973 & 0 & 0 & . & 0 & 0 & 1 & 0 & 0 & 0 & . \\
1974 & 0 & 0 & . & 0 & 0 & 0 & 0 & 1 & 0 & . \\
1975 & 1 & 0 & . & 0 & 0 & 1 & 0 & 0 & 0 & . \\
1976 & 0 & 1 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1977 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1978 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1979 & 0 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1980 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1981 & 1 & 0 & . & 0 & 1 & 0 & 0 & 1 & 1 & . \\
1982 & 1 & 1 & . & 1 & 0 & 1 & 0 & 0 & 0 & . \\
1983 & 0 & 0 & . & 0 & 1 & 0 & 0 & 0 & 1 & . \\
1984 & 1 & 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0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2008 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\
2009 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2010 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2011 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2012 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2013 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2014 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2015 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 1 \\
2016 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2017 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2018 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0
\end{longtable}
答案1
渴望评论...
为了澄清我的意见,请尝试按如下方式编写表格:
\documentclass{article}
\usepackage[margin=20mm]{geometry}
\usepackage{caption}
\begin{document}
\begin{table}[hb]
\small
\caption{Crisis}
\label{tab:crisis-1}
\begin{tabular}{@{} lllllllllll @{}}
year
& Argnetina & Australia & Belarus & Bolivia & Brazil & Chile & Colombia
& Costa Rica & Denmark & Georgia \\
% table body is on one page
1970 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
\end{tabular}
\end{table}%
%
\begin{table}[hb]
\ContinuedFloat
\small
\caption[]{Crisis (cont.)}
\label{tab:crisis-2}
second part of the table (table body is on one page)
\end{table}%
%
\begin{table}[hb]
\ContinuedFloat
\small
\caption[]{Crisis (cont.)}
\label{tab:crisis-3}
third part of the table (table body is on one page)
\end{table}
\end{document}
附录: 您可以旋转列标题。在这种情况下,表格宽度会显著缩小,因此您可以在一个表格中合并一半考虑的州的数据。
\documentclass{article}
\usepackage[margin=20mm]{geometry}
\usepackage{rotating}
\usepackage{booktabs, makecell}
\usepackage{caption}
%---------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%
\begin{document}
\begin{table}[hb]
\small
\settowidth\rotheadsize{Papua New Guinea}
\caption{Crisis}
\label{tab:crisis-1}
\begin{tabular}{@{} lllllllllll @{}}
year
& \rothead{Argnetina}
& \rothead{Australia}
& \rothead{Belarus}
& \rothead{Bolivia}
& \rothead{Brazil}
& \rothead{Chile}
& \rothead{Colombia}
& \rothead{Costa Rica}
& \rothead{Denmark}
& \rothead{Georgia} \\
% table body is on one page
1970 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1971 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1972 & 0 & 0 & . & 1 & 0 & 0 & 0 & 0 & 0 & . \\
1973 & 0 & 0 & . & 0 & 0 & 1 & 0 & 0 & 0 & . \\
1974 & 0 & 0 & . & 0 & 0 & 0 & 0 & 1 & 0 & . \\
\addlinespace[3pt]
1975 & 1 & 0 & . & 0 & 0 & 1 & 0 & 0 & 0 & . \\
1976 & 0 & 1 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1977 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1978 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1979 & 0 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
\addlinespace[3pt]
1980 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1981 & 1 & 0 & . & 0 & 1 & 0 & 0 & 1 & 1 & . \\
1982 & 1 & 1 & . & 1 & 0 & 1 & 0 & 0 & 0 & . \\
1983 & 0 & 0 & . & 0 & 1 & 0 & 0 & 0 & 1 & . \\
1984 & 1 & 0 & . & 1 & 0 & 0 & 0 & 0 & 0 & . \\
\addlinespace[3pt]
1985 & 0 & 1 & . & 1 & 0 & 1 & 1 & 0 & 0 & . \\
1986 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1987 & 1 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1988 & 1 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1989 & 1 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
\addlinespace[3pt]
1990 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1991 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1992 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1993 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1994 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & . \\
\addlinespace[3pt]
1995 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
1996 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
1997 & 0 & 1 & 1 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\
1998 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \\
1999 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 1 & 0 \\
\addlinespace[3pt]
2000 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2002 & 1 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\
2003 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2004 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
\addlinespace[3pt]
2005 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\
2006 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2007 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2008 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\
2009 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
\addlinespace[3pt]
2010 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2011 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2012 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2013 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2014 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
\addlinespace[3pt]
2015 & 1 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 1 \\
2016 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2017 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
2018 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0
\end{tabular}
\end{table}%
%
\begin{table}[hb]
\ContinuedFloat
\small
\caption[]{Crisis (cont.)}
\label{tab:crisis-2}
second part of the table (table body is on one page)
\end{table}%
%
\begin{table}[hb]
\ContinuedFloat
\small
\caption[]{Crisis (cont.)}
\label{tab:crisis-3}
third part of the table (table body is on one page)
\end{table}
\end{document}
(红线表示页面布局)
已添加数量(2): 在这种情况下,当您喜欢用颜色强调单元格内容时(正如@js bibra 在他的回答中所建议的(他尚未提供代码),那么您需要:
- 添加到文档(或表格)序言
\usepackage{collcell}
\usepackage[table]{xcolor}
\newcommand{\checkvalue}[1]{%
\ifnum#1 = 1
\cellcolor{red}{\textbf{#1}}%
\else
\ifnum#1 = 0
\cellcolor{green}{\textbf{#1}}%
\else
\cellcolor{yellow!10}{\textbf{#1}}%
\fi
\fi
}
\newcommand\mc{\multicolumn{1}{c}{.}}
\newcommand\rh[1]{\multicolumn{1}{c}{\rothead{#1}}}
\newcolumntype{C}{>{\collectcell\checkvalue}c<{\endcollectcell}}
- 在表格中用
.
包含点 ( ) 的多列单元格替换所有点.
。为此定义了新命令\mc
(您可以选择更多含义名称) - 将旋转的列标题括在多列单元格中(因为这是定义新命令
\rh
。
前十年(及各州)的完整代码示例为:
\documentclass{article}
\usepackage{rotating}
\usepackage{booktabs, makecell}
\usepackage{collcell}
\usepackage[table]{xcolor}
\newcommand{\checkvalue}[1]{%
\ifnum#1 = 1
\cellcolor{red}{\textbf{#1}}%
\else
\ifnum#1 = 0
\cellcolor{green}{\textbf{#1}}%
\fi
\fi
}
\newcommand\mc{\multicolumn{1}{c}{\cellcolor{yellow!10}{\textbf{.}}}}
\newcommand\rh[1]{\multicolumn{1}{c}{\rothead{#1}}}
\newcolumntype{C}{>{\collectcell\checkvalue}c<{\endcollectcell}}
\usepackage[skip=1ex]{caption}
\begin{document}
\begin{table}[hb]
\small
\caption{Crisis}
\label{tab:crisis-1}
\settowidth\rotheadsize{Costa Rica}%{Papua New Guinea} % <--- The lengst state name
\begin{tabular}{l *{10}{C!{\color{white}\vrule}} }
\hline
\rh{year}
& \rh{Argnetina}
& \rh{Australia}
& \rh{Belarus}
& \rh{Bolivia}
& \rh{Brazil}
& \rh{Chile}
& \rh{Colombia}
& \rh{Costa Rica}
& \rh{Denmark}
& \rh{Georgia} \\
\hline
1970 & 0 & 0 &\mc& 0 & 0 & 0 & 0 & 0 & 0 &\mc\\
1971 & 0 & 0 &\mc& 0 & 0 & 0 & 0 & 0 & 0 &\mc\\
1972 & 0 & 0 &\mc& 1 & 0 & 0 & 0 & 0 & 0 &\mc\\
1973 & 0 & 0 &\mc& 0 & 0 & 1 & 0 & 0 & 0 &\mc\\
1974 & 0 & 0 &\mc& 0 & 0 & 0 & 0 & 1 & 0 &\mc\\
\addlinespace[2pt]
1975 & 1 & 0 &\mc& 0 & 0 & 1 & 0 & 0 & 0 &\mc\\
1976 & 0 & 1 &\mc& 0 & 1 & 0 & 0 & 0 & 0 &\mc\\
1977 & 0 & 0 &\mc& 0 & 0 & 0 & 0 & 0 & 0 &\mc\\
1978 & 0 & 0 &\mc& 0 & 0 & 0 & 0 & 0 & 0 &\mc\\
1979 & 0 & 0 &\mc& 0 & 1 & 0 & 0 & 0 & 0 &\mc\\
\hline
\end{tabular}
\end{table}
\end{document}
这使:
答案2
使用缩写代替国家名称(在以下 MWE 中,我使用了ISO 3166-1 缩写) 并将表格旋转为横向页面,所有 31 列都可以放在两页上。我还减少了两列之间的水平空白,并减小了列标题的字体大小,以节省更多空间。
\documentclass{article}
\usepackage{geometry}
\usepackage{longtable}
\usepackage{makecell}
\usepackage{booktabs}
\usepackage{pdflscape}
\begin{document}
\begin{landscape}
\renewcommand{\theadfont}{\footnotesize}
\setlength{\tabcolsep}{4.5pt}
\begin{longtable}{@{}l*{31}{c}@{}}
\caption{caption text here}\label{label}\\
\toprule
\thead{year} & \thead{AR} & \thead{AU} & \thead{BY} & \thead{BO} & \thead{BR} & \thead{CL} & \thead{CO} & \thead{CR} & \thead{AR} & \thead{AU} & \thead{BY} & \thead{BO} & \thead{BR} & \thead{CL} & \thead{CO} & \thead{CR}& \thead{AR} & \thead{AU} & \thead{BY} & \thead{BO} & \thead{BR} & \thead{CL} & \thead{CO} & \thead{CR} & \thead{AR}\\
\midrule
\endfirsthead
\caption{caption text here - continued}\label{label}\\
\toprule
\thead{year} & \thead{AR} & \thead{AU} & \thead{BY} & \thead{BO} & \thead{BR} & \thead{CL} & \thead{CO} & \thead{CR} & \thead{AR} & \thead{AU} & \thead{BY} & \thead{BO} & \thead{BR} & \thead{CL} & \thead{CO} & \thead{CR}& \thead{AR} & \thead{AU} & \thead{BY} & \thead{BO} & \thead{BR} & \thead{CL} & \thead{CO} & \thead{CR} & \thead{AR}\\
\midrule
\endhead
\bottomrule
\multicolumn{32}{p{\linewidth}}{AR~= Argentina, AU~= Australia, BY~= Belarus, BO~= Bolivia, BR~= Brazil, CL~= Chile, CO~= Colombia, CR~= Costa Rica, DK~= Denmark, GE~= Georgia}
\endfoot
1970 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1971 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1972 & 0 & 0 & . & 1 & 0 & 0 & 0 & 0 & 0 & . \\
1973 & 0 & 0 & . & 0 & 0 & 1 & 0 & 0 & 0 & . \\
1974 & 0 & 0 & . & 0 & 0 & 0 & 0 & 1 & 0 & . \\
\addlinespace
1975 & 1 & 0 & . & 0 & 0 & 1 & 0 & 0 & 0 & . \\
1976 & 0 & 1 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1977 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1978 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1979 & 0 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
\addlinespace
1980 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1981 & 1 & 0 & . & 0 & 1 & 0 & 0 & 1 & 1 & . \\
1982 & 1 & 1 & . & 1 & 0 & 1 & 0 & 0 & 0 & . \\
1983 & 0 & 0 & . & 0 & 1 & 0 & 0 & 0 & 1 & . \\
1984 & 1 & 0 & . & 1 & 0 & 0 & 0 & 0 & 0 & . \\
\addlinespace
1985 & 0 & 1 & . & 1 & 0 & 1 & 1 & 0 & 0 & . \\
1986 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1987 & 1 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1988 & 1 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
1989 & 1 & 0 & . & 0 & 1 & 0 & 0 & 0 & 0 & . \\
\addlinespace
1990 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 & 0 & . \\
1991 & 0 & 0 & . & 0 & 0 & 0 & 0 & 0 &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