Latex 乳胶自调台的制作

Latex 乳胶自调台的制作,latex,tabular,Latex,Tabular,我正在尝试用乳胶制作自我调节表。这将是一个大表,所以如果没有足够的空间,我需要文本转到下一行,但我不能这样做。我需要有5列。 下面是我管理的图像,但“描述”现在进入下一个单元格。如果有人能告诉我哪里出了问题,我将不胜感激。我在这上面花了很多时间 我使用的代码 \begin{table}[h] \begin{tabularx}{\textwidth}{|l|X|X|X|X|} \hline Author & Clustering Technique & Dataset &

我正在尝试用乳胶制作自我调节表。这将是一个大表,所以如果没有足够的空间,我需要文本转到下一行,但我不能这样做。我需要有5列。 下面是我管理的图像,但“描述”现在进入下一个单元格。如果有人能告诉我哪里出了问题,我将不胜感激。我在这上面花了很多时间

我使用的代码

    \begin{table}[h]
\begin{tabularx}{\textwidth}{|l|X|X|X|X|}
\hline
Author & Clustering Technique & Dataset & Description & Industry\\
\hline
\citeauthor{shen2009study} & Quantiles & Customer and Transaction Department store & RFM; Customer Lifetime Value; Target Marketing; Data Mining 
 &  Retail Store \\ 
 \hline
\citeauthor{aggelis2005customer} & Quantiles & E-Banking Dataset & Data Mining; e-banking; RFM analysis & Banking\\

\hline
\end{tabularx}
\end{table}
编辑:我还需要它来适应一页或能够在下一页继续。

非常迟的答案

为了调整我使用的
p{.1\textwidth}
列的宽度,这是段落对齐,列的宽度等于
0.1
文本正文(或其其他部分)的宽度

为了在下一页继续该表,如果需要,我使用了来自的优秀环境
longtable

\documentclass{article}
\usepackage{longtable,natbib}
\开始{document}
\开始{longtable}{p{.1\textwidth}}p{.15\textwidth}p{.25\textwidth}p{.3\textwidth}p{.15\textwidth}}
%\标题[短标题]{Full caption}\label{long}\\
\赫林
%第一个标题的内容
作者&聚类技术&数据集&描述与行业\\
\赫林
\首尾
%如果表格在其他页面中继续,则以下标题的内容
作者&聚类技术&数据集&描述与行业\\
\赫林
\端头
%所有页脚的内容
\赫林
\尾足
%最后一个页脚的内容
\赫林
\末梢脚
\citeauthor{shen2009study}和分位数&客户和交易百货公司&RFM;顾客终身价值;目标营销;数据挖掘与零售商店\\
\赫林
\citeauthor{aggelis2005customer}和分位数以及电子银行数据集和数据挖掘;电子银行;RFM分析与银行业务\\
\结束{longtable}
\结束{document}
上述代码的输出:


为了避免侵入下一个单元格,您可以通过建议
说明的可能连字符点来帮助latex

\documentclass{book}
\usepackage{tabularx}

\begin{document}


    \begin{table}[h]
\begin{tabularx}{\textwidth}{|l|X|X|X|X|}
\hline
Author & Clustering Technique & Dataset & De\-scrip\-tion & Industry\\
\hline
xxx & Quantiles & Customer and Transaction Department store & RFM; Customer Lifetime Value; Target Marketing; Data Mining 
 &  Retail Store \\ 
 \hline
xxxxxx xxx xxxx xxxxxx xxx & Quantiles & E-Banking Dataset & Data Mining; e-banking; RFM analysis & Banking\\
\hline
\end{tabularx}
\end{table}


\end{document}


(如果您需要表格来允许分页符,请使用
xltabular
软件包)

您可以发布序言吗?所以我们知道页面的宽度等()