我正在尝试用 LaTeX 创建一个横跨多页的长水平表格。该表格最初是用 word 格式创建的,从头开始编写表格代码太耗时(我必须对其他类似大小的表格重复该过程),因此我一直在使用网站表格生成器以帮助完成转换过程。在选项中,我选中了以下选项:
- 转义特殊 TeX 符号
- 压缩空格
- 智能输出格式
- 上面的标题
- 水平居中放置桌子
- 将表格缩放至文本宽度
- 旋转桌子(横向模式)
- 将表格拆分为多个页面
- 添加表格延续标题
我已经创建了以下代码的完全可编译版本:
\documentclass{article}
\usepackage{lscape}
\usepackage{longtable}
\usepackage[table,xcdraw]{xcolor}
\begin{document}
% Please add the following required packages to your document preamble:
% \usepackage[table,xcdraw]{xcolor}
% If you use beamer only pass "xcolor=table" option, i.e. \documentclass[xcolor=table]{beamer}
% \usepackage{lscape}
% \usepackage{longtable}
% Note: It may be necessary to compile the document several times to get a multi-page table to line up properly
\begin{landscape}
\begin{longtable}[c]{llllllllllll}
\caption{}
\label{tab:my-table}\\
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} &
{\color[HTML]{000000} Loren Ipsum Dotem} \\
\endfirsthead
%
\multicolumn{12}{c}%
{{\bfseries Table \thetable\ continued from previous page}} \\
\endhead
%
\rowcolor[HTML]{D9D9D9}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{D9D9D9}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{D9D9D9}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{D9D9D9}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{D9D9D9}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} \\
\rowcolor[HTML]{FFFFFF}
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem} &
{\color[HTML]{000000} Lorem Ipsum Dotem}
\end{longtable}
\end{landscape}
\end{document}
软件包已按照输出代码的要求实施到序言文件中。代码编译时没有错误。但是,表格没有分成多页。
即使使用“longtable”包,表格也会突然切断,只占用 1 页。如果能提供任何帮助,我将不胜感激,我没有太多使用 LaTeX 编程的经验,因此如果我忽略了这个问题,我也不会感到惊讶。
答案1
欢迎来到 TeX.SE!
- 使用表格生成器(总是)会导致代码非常混乱,我强烈建议您直接在 LaTeX 编辑器中编写表格。这并不难。
- 您的表格比 宽得多
\textheight
。因此它会溢出页面。 - 可以通过将单元格内容写在更多行中来解决此问题,即使用表格环境,该环境可以自动将单元格内容拆分为更多行。例如,
xltabular
它是 od 的组合longtable
,并提供具有列类型tabularx
的此类功能X
- 在表格中使用多
X
列时,使用较小的字体是明智的,这样单元格中的内容可以更好地填充单元格
xltabular
在清理了因使用表格生成器和使用而不是 而造成的所有混乱之后,您的表格的示例longtable
如下:
\documentclass{article}
\usepackage{pdflscape}
\usepackage{booktabs, xltabular}
\usepackage[table,xcdraw]{xcolor}
\begin{document}
\begin{landscape}
\setlength\extrarowheight{3pt}
\setlength{\tabcolsep}{3pt}
\footnotesize
\begin{xltabular}{\linewidth}{@{} *{12}{X} @{}}
\caption{On the first page}
\label{tab:my-table} \\
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem &
Loren Ipsum Dotem \\
\endfirsthead
%
\caption[]{continued from previous page} \\
\endhead
% table body
\rowcolor[HTML]{D9D9D9}
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
\rowcolor[HTML]{D9D9D9}
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
\rowcolor[HTML]{D9D9D9}
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
\rowcolor[HTML]{D9D9D9}
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
\rowcolor[HTML]{D9D9D9}
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dote \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem &
Lorem Ipsum Dotem \\
\end{xltabular}
\end{landscape}
\end{document}
笔记:您的表格未使用任何规则。这很不寻常。人们通常会添加一些水平线,例如来自booktabs
包的规则,通过这些水平线将表格与周围的文本以及列标题与表格主体分隔开来。
(仅显示表格第一部分的一部分)