五张桌子

五张桌子

大家好,提前感谢你们的帮助!

我在使用 LaTeX 撰写论文时遇到了问题,在网上我找不到解决方法。

LaTeX 文本如下:

\documentclass{article}
\usepackage{multirow}
\begin{document}
The diversity of feedstocks which can be processed by pyrolysis and the large number of design variables make it difficult to identify the optimum pyrolysis technology for a given situation.

\begin{tabular}{ccccc}
\hline
Target & Particle size & Reactor type & Heating rate & Operation mode\\
\hline
\multirow{4}{3em}{Bio-oil\\Syngas\\Biochar\\Heat} &
\multirow{4}{3em}{Trucks\\Chips\\Fine particles} &
\multirow{4}{3em}{Fixed bed\\Moving bed\\Fluidized bed} &
\multirow{4}{3em}{Slow\\Fast} &
\multirow{4}{3em}{Batch\\Continuous\\Intermittent}\\
\end{tabular}

%%%%%%%%%%%%%%%%%%% FAST SLOW %%%%%%%%%%%%%%%%%%%

\subsection{Fast and slow pyrolysis}
Slow pyrolysis, or conventional carbonization, is the oldest industrial technologies developed by humankind \cite{Harris:1999}.
\end{document}

但输出是这样的:

在此处输入图片描述

任何想法? :)

答案1

叠印的原因是\multirow{4}{...}。其文本覆盖了当前行和接下来的三行。但接下来的三行不存在。至少应提供虚行。

五张桌子

但据我所见,各列彼此独立。因此,它实际上不是一个大表,而是五个独立的表。

\documentclass{article}
\usepackage{booktabs}% nicer horizontal lines

\begin{document}
The diversity of feedstocks which can be processed by pyrolysis and the
large number of design variables make it difficult to identify the optimum
pyrolysis technology for a given situation.

\begingroup
  \centering
  \begin{tabular}[t]{c}
    \toprule
    Target \\
    \midrule
    Bio-oil \\ Syngas \\ Biochar \\ Heat \\
    \bottomrule
  \end{tabular}%
  \hspace{.5em plus 1fill}
  \begin{tabular}[t]{c}
    \toprule
    Particle size \\
    \midrule
    Trucks \\ Chips \\ Fine particles \\
    \bottomrule
  \end{tabular}
  \hspace{.5em plus 1fill}
  \begin{tabular}[t]{c}
    \toprule
    Reactor type \\
    \midrule
    Fixed bed \\ Moving bed \\ Fluidized bed \\
    \bottomrule
  \end{tabular}
  \hspace{.5em plus 1fill}
  \begin{tabular}[t]{c}
    \toprule
    Heating \\ rate \\
    \midrule
    Slow \\ Fast \\
    \bottomrule
  \end{tabular}
  \hspace{.5em plus 1fill}
  \begin{tabular}[t]{c}
    \toprule
    Operation \\ mode \\
    \midrule
    Batch \\ Continuous \\ Intermittent \\
    \bottomrule
  \end{tabular}
  \par
\endgroup

\subsection{Fast and slow pyrolysis}
Slow pyrolysis, or conventional carbonization, is the oldest industrial
technologies developed by humankind.
\end{document}

结果

一张桌子

这里有一个“单表”版本:

\documentclass{article}
\usepackage{booktabs}
\usepackage{multirow}

\begin{document}
The diversity of feedstocks which can be processed by pyrolysis and the
large number of design variables make it difficult to identify the optimum
pyrolysis technology for a given situation.

\begin{center}
  \setlength{\tabcolsep}{1.5\tabcolsep}
  \begin{tabular*}{\linewidth}{@{\kern\tabcolsep\extracolsep{\fill}}ccccc}
    \toprule
    Target & Particle size & Reactor type
    & \begin{tabular}[b]{@{}c@{}} Heating\\rate\end{tabular}
    & \begin{tabular}[b]{@{}c@{}} Operation\\mode\end{tabular}
    \\
    \cmidrule(lr){1-1}
    \cmidrule(lr){2-2}
    \cmidrule(lr){3-3}
    \cmidrule(lr){4-4}
    \cmidrule(lr){5-5}
    Bio-oil & Trucks & Fixed bed & Slow & Batch \\
    Syngas & Chips & Moving bed & Fast & Continuous \\
    Biochar & Fine particles & Fluidized bed & & Intermittent \\
    Heat & & & & \\
    \bottomrule
  \end{tabular*}
\end{center}

\subsection{Fast and slow pyrolysis}
Slow pyrolysis, or conventional carbonization, is the oldest industrial
technologies developed by humankind.
\end{document}

结果一表

相关内容