新创建的浮动无列表选项

新创建的浮动无列表选项

我已经创建了一些新的浮点数,并使用 endfloat 将它们放在文档的末尾,我需要像 nofiglist 一样隐藏列表,这可能吗?

\documentclass[twocolumn]{article}
\usepackage[demo]{graphicx}

\let\normalcaption=\caption
\usepackage{float}
\usepackage{float}
\let\caption=\normalcaption


\usepackage{rotating}
\usepackage[nofiglist]{endfloat}

\newcommand{\lipsum}{Lorem ipsum dolor sit amet, consectetur adipiscing elit. In malesuada consequat mollis. Duis viverra vestibulum quam id vehicula. Donec vel tellus a orci adipiscing euismod. Suspendisse lacinia metus lorem. Vivamus pellentesque, lacus quis blandit tincidunt, elit nunc ullamcorper enim, ut laoreet metus risus sed neque. Sed ac nibh ante, pellentesque vehicula sem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi vel libero leo. Donec aliquam placerat arcu, et ultrices leo semper et. Curabitur dignissim, eros vitae dignissim porta, velit arcu vehicula tortor, vel blandit sapien magna in risus.}%


\newfloat{map}{tbp}{lomap}
\floatname{map}{Map}
%\DeclareDelayedFloat{map}{Maps}

\newfloat{photo}{htbp}{lop}
\floatname{photo}{Photo}
%\DeclareDelayedFloat{photo}{Photo}
\newfloat{scheme}{htbp}{scheme}
\floatname{scheme}{scheme}


\makeatletter
\def\sidewaysphoto{\@rotfloat{photo}}
\let\endsidewaysphoto\end@rotfloat

\newenvironment{sidewaysphoto*}{\@rotdblfloat{photo}}{\end@rotdblfloat}



\makeatother

\DeclareDelayedFloat{map}[mmm]{Maps}
\DeclareDelayedFloat{photo}[ppp]{Photos}
\DeclareDelayedFloatFlavor{sidewaysphoto}{photo}


\begin{document}
\lipsum
\begin{sidewaysphoto}
    \centering
    \includegraphics{myPhoto}
    \caption{xxxxxxxMy Photo 1}
\end{sidewaysphoto}

\lipsum
\begin{photo}
    \centering
    \includegraphics{myPhoto}
    \caption{My Photo 2}
\end{photo}
\lipsum
\begin{figure}
    \centering
    \includegraphics{myFigure}
    \caption{My Figure}
\end{figure}
\lipsum
\begin{map}
    \centering
    \includegraphics{myMap}
    \caption{My Map}
\end{map}
\lipsum
\end{document} 

答案1

这可以通过

\SetupDelayedFloat{map}{nolist}

另请参阅:endfloat 文档,第 8.3 节“其他浮动环境”

相关内容