我的表格從 2 開始編號,為什麼?

我的表格從 2 開始編號,為什麼?

我有一個表,在scriptsize編譯時我的程式碼編號為 2.2 而不是 2.1。它是為我的第二章準備的。有誰知道我該怎麼做才能開始將此表編號為 2.1?

先致謝!

\begin{table}[h]
    \centering
    \scriptsize
    \label{table:2.1}
\setlength{\extrarowheight}{2pt}
    \captionsetup{skip=0.5\baselineskip,size=scriptsize}
     \caption{An overview of meta-competences that enable engineering students to solve the future challenge, based on \shortcite{Siddique2013}}
    \begin{tabular}{ l | l }
    \textbf{Dim.} & \textbf{Description} \\
    \midrule
    \textbf{MC1} & \textbf{The ability to manage information} \\
    \midrule
    MC1.1 & To gather, interpret, validate and use information \\
    MC1.2 & Understand and use quantitative and qualitative information \\
    MC1.3 & Discard useless information \\
    \midrule
    \textbf{MC2} & \textbf{The ability to manage thinking} \\
    \midrule
    MC2.1 & Ability to identify and manage dilemmas associated with the realization of complex, \\ & sustainable, socio-techno eco-systems \\
    MC2.2 & Ability to think across disciplines \\
    MC2.3 & Holistic thinking, conceptual thinking and switching from divergent and convergent thinking \\
    MC2.4 & Ability to speculate and to identify research topics worthy of investigation \\
    MC2.5 & Ability to engage in critical discussion  \\
    MC2.6 & Identify and explore opportunities for developing break-through products, systems or services \\
    MC2.7 & Ability to think strategically by using both theory and methods \\
    \midrule
    \textbf{MC3} & \textbf{The ability to manage collaboration} \\
    \midrule
    MC3.1 & Ability to manage the collaboration process in local and global settings \\
    MC3.2 & Ability to create new knowledge collaboratively in a diverse team \\
    MC3.3 & Competence in negotiation \\
    MC3.4 & Teamwork competence \\
    \midrule
    \textbf{MC4} & \textbf{The ability to manage learning} \\
    \midrule
    MC4.1 & Ability to identify the competencies and meta-competencies needed to create value in the engineering world  \\
    MC4.2 & Ability to self-instruct and self-monitor learning \\
    MC4.3 & Ability to interact with multiple modes of learning \\
    MC4.4 &  Ability to manage a lifetime of learning or lifelong learning \\
    \midrule
    \textbf{MC5} & \textbf{The ability to manage attitude} \\
    \midrule
    MC5.1 & Ability to self-motivate  \\
    MC5.2 & Ability to cope with chaos \\
    MC5.3 & Ability to identify and acknowledge mistakes and unproductive paths;  \\
    MC5.4 & Ability to assess and manage risk taking \\
    \bottomrule

\end{tabular}
\end{table}

答案1

tabularx我在環境中使用時遇到了類似的問題table,並且一些 其他 人們也這樣做了。雖然在不了解 OP 文件類別和序言的情況下我們無法確定,但這可能與與套件互動所引起的效果相同longtable

作為緩解措施(這並不能解決實際問題),您可以手動減少表格計數器,如下所示:

\begin{table}
  % Manually decrease table counter to mitigate a bug with tabularx loading
  % longtable and skipping uneven table numbers.
  \addtocounter{table}{-1}
  \begin{tabularx}{\textwidth}{lYY}
    % your table content
  \end{tabularx}
\end{table}

此修復已在此描述萊德里斯的回答

相關內容