如何创建跨越多个页面的紧凑长表

如何创建跨越多个页面的紧凑长表

我正在尝试创建一个紧凑的文献综述表,它占用了更多的行数页面。我可以接受比当前版本更小的字体大小。输出非常简洁,如附件所示。

期待您对代码的善意建议和帮助。

感谢并问候,Arjun

\documentclass[12pt]{article}
\usepackage{longtable}
\documentclass[10pt]{article}
%\usepackage[doublespacing]{setspace}
\usepackage{setspace}
\usepackage{amsmath} 
\usepackage{cases}
\doublespacing
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{array,ragged2e}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{subcaption}
\usepackage{longtable}
\usepackage{array}
\usepackage[labelfont=bf]{caption}
\captionsetup[figure]{labelfont=bf}
\usepackage{subcaption}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{breqn}
\usepackage[toc,page,header]{appendix}
\usepackage[numbers,super,sort&compress]{natbib}
\usepackage[draft]{hyperref}
\usepackage{url}
\usepackage{enumitem}
\usepackage{lscape}
\usepackage{comment}
\usepackage{makecell}
\renewcommand\theadfont{\normalfont}
\usepackage{appendix}
%\usepackage{babel}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{siunitx}
\usepackage{tabularx}
\usepackage{multirow}
\begin{longtable}{|c|c|c|c|c|}
\caption{ Various research efforts to improve the design of Mixing tank}
\label{Tab:CycloneDesignChanges}
\hline

 \centering
    %\begin{tabular}{|c|c|c|c|c|}\hline
        Article &   Target Part & Design Modification & $S_{50}$ Range(\micron) &Summary of Findings\\\hline
        
        \multicolumn{5}{|c|}{Design changes on a mixing tank to function as a Particle Separator($D_{50}$ \leq 3\micron)}                                         \\ \hline
        
        \multicolumn{1}{|m{2cm}|}{Arjun Kumar Pukkella(2018)}& Inlet section &\multicolumn{1}{m{3cm}|}{Baffle Plate design}& 0.45-0.75 &
        \multicolumn{1}{m{5cm}|}{Controlled the cut point by adjusting the guide plate location to alter the inlet clearance  }\\\hline

        \multicolumn{1}{|m{2cm}|}{\citeauthor{yoshida2005}(2005) \cite{yoshida2005}}& Inlet section &\multicolumn{1}{m{3cm}|}{Secondary injection flow}& 0.7-1.25 &
        \multicolumn{1}{m{5cm}|}{The secondary injection flow should be in the proximity of upper plate and the injection velocity should be a maximum. High tangential velocities are reported in the region close to the secondary injection flow.}\\\hline
        
        \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline

      \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
    \multicolumn{1}{|m{2cm}|}{\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}}& Inlet section  &\multicolumn{1}{m{3cm}|}{Compressed air injection. Secondary flow} & 1.1-1.75 &
        \multicolumn{1}{m{5cm}|}{It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.}\\\hline
        
        
        
   % \end{tabular}
\end{longtable}

在当前输出中,表格看起来非常简洁,每页仅打印三行。我正在寻找更紧凑的文献综述表格

答案1

您的文档示例存在许多严重缺陷。其中,表格中文本的双倍间距是次要问题:

  • 文档以两个开头\documentclass,导致编译错误
  • 错过的是\begin{document}\end{document}
  • 在序言中,一些软件包被加载了两次,并且有不同的选项
  • 正如评论中提到的那样,所有这些\multicolumn{1}{...}{...}都是多余的
  • 在同一列中定义不同的单元格宽度\multicolumns 是没有意义的,列宽总是采用单元格最宽的宽度。
  • 您的文档可能需要双倍行距,但是如果您希望在表格中使用单倍行距的文本,则只需在表格组前插入命令即可\singlespace

一种可能的解决方案可以提供以下 MWE。其中为每个页面添加了表头:

\documentclass[12pt]{article}
\usepackage[margin=20mm]{geometry}   % <---
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{setspace}
\doublespacing
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{ragged2e}
\usepackage{array, longtable, makecell,  multirow, tabularx}
\renewcommand\theadfont{\normalfont}

\usepackage[font=small,labelfont=bf]{caption}
\usepackage{subcaption}

\usepackage{cases}
\usepackage{amsmath, amssymb, breqn}
\usepackage[toc,page,header]{appendix}
\usepackage[numbers,super,sort&compress]{natbib}
\usepackage{enumitem}
\usepackage{lscape}
\usepackage{comment}
\usepackage{siunitx}

\usepackage[draft]{hyperref}
\usepackage{lipsum} %new, for dummy text

\begin{document}
\lipsum[66]

\begingroup
    \singlespacing
    \small
    \newcolumntype{L}[1]{>{\RaggedRight}m{#1}}
    \setlength\tabcolsep{3pt}
\begin{longtable}{|L{32mm}|L{22mm}|L{22mm}|L{21mm}|L{55mm}|}
    \caption{ Various research efforts to improve the design of Mixing tank}
    \label{Tab:CycloneDesignChanges}    \\
    \hline
\makecell{Article}
    & \makecell{Target\\ Part} 
        & \makecell{Design\\ Modification}
            & \makecell{X Range\\ (\si{\micro\metre})}
                & \makecell{Summary of\\ Findings}    \\
\endfirsthead
    \caption[]{Various research efforts to improve the design of Mixing tank (cont.)} \\
    \hline
\makecell{Article}
    & \makecell{Target\\ Part}
        & \makecell{Design\\ Modification}
            & \makecell{X Range\\ (\si{\micro\metre})}
                & \makecell{Summary of\\ Findings}    \\
\endhead
    \multicolumn{5}{r}{\footnotesize\textit{Continued on the next page}}
\endfoot\endlastfoot
% table body
\multicolumn{5}{|c|}{Design changes on a mixing tank to function as a Particle Separator ($D_{50}\leq \qty{3}{\micro\metre}$)}\\ 
    \hline
Arjun Kumar Pukkella (2018)
    & Inlet section 
        & Baffle Plate design 
            & 0.45-0.75
                & Controlled the cut point by adjusting the guide plate location to alter the inlet clearance.  \\
    \hline
\citeauthor{yoshida2005} (2005) \cite{yoshida2005}
    & Inlet section 
        & Secondary injection flow
            & 0.7-1.25 
                & The secondary injection flow should be in the proximity of upper plate and the injection velocity should be a maximum. High tangential velocities are reported in the region close to the secondary injection flow.   \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
                & 1.1-1.75 
                    & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013}(2013) \cite{HIRAIWA2013}
    & Inlet section  
        &  Compressed air injection. Secondary flow 
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone. \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
             & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        &  Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\citeauthor{HIRAIWA2013} (2013) \cite{HIRAIWA2013}
    & Inlet section  
        & Compressed air injection. Secondary flow
            & 1.1-1.75 
                & It was observed that the tangential and axial velocities are higher in the upper cylindrical part with the free air inflow cyclone than that without the free air inflow cyclone.    \\
    \hline
\end{longtable}
\endgroup

\lipsum[66]
\end{document}

第一页是:

在此处输入图片描述

最后一页:

在此处输入图片描述

答案2

主要问题出在我的代码中的 doublespacing 命令上。当我删除它时,问题就解决了。感谢所有试图提供帮助的人。

相关内容