抑制 Endfloat 表/图形列表中的持续浮动

抑制 Endfloat 表/图形列表中的持续浮动

我怎样才能抑制 Endfloat 表列表中第二个表的列出?

pseudo-code在这里声明了一个变量table-list-entry,但我认为不存在这样的命令。有什么办法吗?

\documentclass[a4paper,12pt,twoside]{book}
\usepackage{graphicx}
\usepackage[tablesfirst]{endfloat}

\usepackage{caption}
\DeclareCaptionLabelFormat{continued}{#1~#2 (Cont.)}
\captionsetup[ContinuedFloat]{labelformat=continued}

\begin{document}

\begingroup
\begin{table}
\centering
\caption{Tier 1}
\label{plachit}
\end{table}

\addtocounter{posttable}{-1}%deincremeent the endfloat counter
\renewcommand\tableplace{}%don't show and endfloat marker in the main body
\renewcommand\table-list-entry{}%don't show and endfloat marker in the main body
\begin{table}
\ContinuedFloat
\centering
\caption{Tier 2}
\label{kisel1}
\end{table}
\endgroup

\end{document}

答案1

或许这就是您所追求的。

\documentclass[a4paper,12pt,twoside]{book}
\usepackage{graphicx}
\usepackage[tablesfirst,nomarkers]{endfloat}

\usepackage{caption}
\DeclareCaptionLabelFormat{continued}{#1~#2 (Cont.)}
\captionsetup[ContinuedFloat]{labelformat=continued}

\begin{document}

%\begingroup
\begin{table}
\centering
\caption{Tier 1}
\label{plachit}
\end{table}

%\addtocounter{posttable}{-1}%deincremeent the endfloat counter   %% why this?

\begin{table}
\ContinuedFloat
\centering
\caption[]{Tier 2}
\label{kisel1}
\end{table}
%\endgroup

\end{document}

我曾经nomarkers删除过正文中的表格标记。此外,为了阻止重复标题出现在目录中,我在重复标题中使用了空的可选参数,例如\caption[]{....caption...}

相关内容