我使用 figcaps 包将我的图表和表格放在文档末尾。但是,我不想在实际图表之前出现带有图表标题的图表列表页面。我该如何隐藏此页面?
\documentclass[12pt]{article}
\usepackage[figon,print figures]{figcaps}
\def\tablepagename{TABLES}
\def\figurepagename{FIGURES}
\begin{document}
.....
谢谢。
答案1
您可以重新定义内部\@figurecaps
:
\documentclass[12pt]{article}
\usepackage[figon,print figures]{figcaps}
\def\tablepagename{TABLES}
\def\figurepagename{FIGURES}
\makeatletter
\def\@figurecaps{\@ifundefined{tf@pof}{}{\if@filesw
\immediate\closeout\tf@pof\fi
\@ifundefined{appendixname}{}{\def\appendixname{}}
\parindent\z@
\reset@figtab%\clearpage\section*{\figurecapname}\vspace{1cm}%
%\@mkboth{\uppercase{\figurecapname}}{\uppercase{\figurecapname}}%
%\addcontentsline{toc}{section}{\figurecapname}%
%\def\figure{\def\addcontentsline####1####2####3{}%
%\def\@captype{figure}%
%\begingroup\set@literal\@fcaponly
%}\def\endfigure{\endgroup\bigskip}%
%{\let\@makecaption=\@makefcaption
%\@input{\jobname.\lof}%
%}%
\clearpage}}%
\makeatother
\begin{document}
test text
\begin{figure}
\centering
\rule{3cm}{2cm}
\caption{A test figure}
\end{figure}
\begin{table}
\centering
\rule{3cm}{2cm}
\caption{A test table}
\end{table}
\end{document}