Моя таблица начинается с цифры 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}

Это исправление было описано в этомответ леандриса.

Связанный контент