如何正确格式化具有多个标题和跨两列的 IEEE 表格论文

如何正确格式化具有多个标题和跨两列的 IEEE 表格论文

您好,我正在Overleaf为 IEEE 撰写论文,在格式化表格方面遇到了一些困难。

以下不正确的我目前有的表格:

在此处输入图片描述

以及下面正确的我正在尝试实现的表格。请注意,它跨越两列,并且在标题“前 10 个期刊 - PM-SSCM”和标题“前 10 个期刊 - DST-SSCM”之间有一个中断,这也是我试图实现的。

在此处输入图片描述

以下是我目前的脚本:

\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{booktabs,chemformula}
\usepackage{multirow,booktabs,blindtext}
\usepackage{siunitx}
\usepackage{tabularx}
\usepackage{booktabs, makecell}
\usepackage{float}
\usepackage{seqsplit, collcell, ragged2e}
\newcolumntype{Y}{>{\arraybackslash\collectcell\seqsplit}X<{\endcollectcell}}
\usepackage{lipsum}

// some paragraphs....

\begin{table*}[ht]
\centering
\small
\setlength{\tabcolsep}{4pt}
\makegapedcells
\begin{tabularx}{\linewidth}{@{}L{0.8}L{1.1}L{1.1} @{}}
    \toprule
Top ten journals related to QUERY-1 \\
    \midrule
Journal Title    &   Publication \\
    &   Journal of cleaner Production
        &   40 \\
    &   International Journal of Production Economics
        &   28 \\
    &   International Journal of Production Research
        &   23 \\
    &   Supply Chain Management an International Journal
        &   20 \\
    &   Business Strategy and the Environment
        &   40 \\
    &   International Journal of Operations Production Management
        &   28 \\
    &   International Journal of Production Research
        &   23 \\
    &   Supply Chain Management an International Journal
        &   20 \\
    \bottomrule
    \toprule
Top ten journals related to QUERY-1 \\
    \midrule
Journal Title    &   Publication \\
    &   Journal of cleaner Production
        &   40 \\
    &   International Journal of Production Economics
        &   28 \\
    &   International Journal of Production Research
        &   23 \\
    &   Supply Chain Management an International Journal
        &   20 \\
    &   Business Strategy and the Environment
        &   40 \\
    &   International Journal of Operations Production Management
        &   28 \\
    &   International Journal of Production Research
        &   23 \\
    &   Supply Chain Management an International Journal
        &   20 \\
    \bottomrule
\end{tabularx}
\end{table*}

我研究了下表这有助于理解多头的概念。

我已经使用了跟随来源为了实现我想要的表格类型,这很有用,但我遇到了一些格式问题,如图所示。我也知道这与我试图实现的示例并不完全相关,但它对于理解主要思想/概念很有用。

也遇到了另一个帖子这也很有用,但不足以让我能够正确解决问题。

感谢您指出正确的方向以找到解决方案。

答案1

这是一个包含Xc列的解决方案:

\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
%\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{booktabs,chemformula}
\usepackage{multirow,booktabs,blindtext}
\usepackage{siunitx}
\usepackage{tabularx}
\usepackage{booktabs, makecell}%
\usepackage{float}
\usepackage{seqsplit, collcell, ragged2e}
\newcolumntype{Y}{>{\arraybackslash\collectcell\seqsplit}X<{\endcollectcell}}
\newcolumntype{L}[1]{>{\RaggedRight\hspace{0pt}%
                     \hsize=#1\hsize}X}
\usepackage{lipsum}

\begin{document}

\begin{table*}[ht]
\centering
\small
\setlength{\tabcolsep}{4pt}
\setcellgapes{3pt}
\makegapedcells
\begin{tabularx}{\linewidth}{@{}X c !{\qquad}Xc}
    \toprule
    Top ten journals related to QUERY-1 & & Top ten journals related to QUERY-1 \\
    \cmidrule(r{1.8em}){1-2} \cmidrule{3-4}
    Journal Title & Publication & Journal Title & Publication \\
    \midrule
     Journal of cleaner Production & 40 & Journal of cleaner Production & 40 \\
     International Journal of Production Economics & 28 & International Journal of Production Economics & 28 \\
     International Journal of Production Research & 23 & International Journal of Production Research & 23 \\
     Supply Chain Management an International Journal & 20 & Supply Chain Management an International Journal & 20 \\
     Business Strategy and the Environment & 40 & Business Strategy and the Environment & 40 \\
     International Journal of Operations Production Management & 28 & International Journal of Operations Production Management & 28 \\
     International Journal of Production Research & 23 & International Journal of Production Research & 23 \\
     Supply Chain Management an International Journal & 20 & Supply Chain Management an International Journal & 20 \\
    \bottomrule
\end{tabularx}
\end{table*}

\end{document} 

在此处输入图片描述

相关内容