如何刪除未使用的清單?

如何刪除未使用的清單?

我使用 IEEEtrans 和 TexLive 2022 版本來寫乳膠。

我希望在兩列中間有一個表格,如下所示(組合單元格 T3、組合單元格 T4 和文字寬度)

期待

這是代碼:

\documentclass[journal]{IEEEtran}
\usepackage{tabularx,caption}
\begin{document}

\begin{table*}[!ht]

\captionof{table}{Comparison}

\label{tab:sequence comparison} 
\noindent\begin{tabularx}{\textwidth} { |c | c |c |c |c |}
\hline
  \textbf{\makecell{Place/Transition}} & \textbf{\makecell{Explanation}} & \textbf{\makecell{Holding  time}}  & \textbf{\makecell{X}} & \textbf{\makecell{A}} \\ 
  \hline
  $T_1$  & Unloading wafers from LL & $w$ & $xxxxxxxxxxxxx$ & $aaaaaaaaa$ \\
  \hline
  $T_2$ & Unloading wafers from step 5 & $w$ & $x$ & $a$\\
  \hline
  $T_3$ &  Loading wafers to step 1 & $w$ & $x$ & $a$\\
  \hline
  $T_4$ & Unloading wafers from step 2 & $w$ & $x$ & $a$\\
  \hline
  $T_5$ & Loading wafers to step 3 & $w$ & $x$ & $a$\\
  \hline
  $T_6$ & Unloading wafers from step 4 & $w$ & $x$ & $a$\\
  \hline
  \end{tabularx}
\end{table*}
\end{document}

這是結果(右側有額外未使用的欄位)。

結果

我需要修改什麼程式碼?

謝謝。

答案1

我認為只能將表格放在下一頁的頂部(不可能放在頁面的中間)。且tabularx環境需要一些X寬度可變的列來佔據總文字寬度。

\documentclass{IEEEtran}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{caption}
\usepackage{lipsum}
\begin{document}
\lipsum[1-6]
\begin{table*}[!ht]
\renewcommand{\arraystretch}{1.5}
\captionof{table}{Comparison}
\label{tab:sequence comparison} 
\noindent\begin{tabularx}{\textwidth} { | c | >{\centering\arraybackslash} X | c |  >{\centering\arraybackslash} X  | >{\centering\arraybackslash} X |}
\hline
  \textbf{Place/Transition} & \textbf{Explanation} & \textbf{Holding  time}  & \textbf{X} & \textbf{A} \\ 
  \hline
  $T_1$  & Unloading wafers from LL & $w$ & $xxxxxxxxxxxxx$ & $aaaaaaaaa$ \\
  \hline
  $T_2$ & Unloading wafers from step 5 & $w$ & $x$ & $a$\\
  \hline
  \multirow{2}{*}{$T_3$} &  Loading wafers to step 1 & $w$ & $x$ & $a$\\
  \cline{2-5}
   & Unloading wafers from step 2 & $w$ & $x$ & $a$\\
  \hline
  \multirow{2}{*}{$T_4$} & Loading wafers to step 3 & $w$ & $x$ & $a$\\
  \cline{2-5}
   & Unloading wafers from step 4 & $w$ & $x$ & $a$\\
  \hline
  \end{tabularx}
\end{table*}
\lipsum[1-13]
\end{document}

在此輸入影像描述

相關內容