endfloat - 출현 순서

endfloat - 출현 순서

패키지를 사용하여 endfloat문서 끝에 표를 배치합니다. 기본적으로 테이블 목록이 먼저 나타난 다음 테이블 자체가 나타납니다. 먼저 테이블이 있고 마지막에는 목록이 있도록 순서를 변경하고 싶습니다. 가능합니까?

다음은 유사한 예이지만 숫자가 포함되어 있습니다.

\documentclass{article}

\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[tablefirst,markers]{endfloat}

\begin{document}

\section{Example}

It is an example. 
\begin{figure}[h!]
    \centering
    \rule{1cm}{1cm}
    \caption{Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption}
    \label{sample}
\end{figure}

\end{document}

답변1

이것이 당신이 원하는 것입니까?

\documentclass{article}

\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[tablesfirst,markers,nolists]{endfloat}
\AtBeginFigures{\clearpage\listoftables\clearpage\listoffigures\clearpage}

\begin{document}

\section{Example}

It is an example. 
\begin{figure}[htp]
    \centering
    \rule{1cm}{1cm}
    \caption{Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption}
    \label{sample}
\end{figure}

\begin{table}[htp]
    \centering
    \rule{1cm}{1cm}
    \caption{Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption}
    \label{table}
\end{table}

\end{document}

아니면 이게 더 비슷한가요?

\documentclass{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[tablesfirst,markers,nolists]{endfloat}
\begin{document}

\section{Example}

It is an example. 
\begin{figure}[htp]
    \centering
    \rule{1cm}{1cm}
    \caption{Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption}
    \label{sample}
\end{figure}

\begin{table}[htp]
    \centering
    \rule{1cm}{1cm}
    \caption{Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption. Sample caption}
    \label{table}
\end{table}

\clearpage
\processdelayedfloats
\listoftables\listoffigures

\end{document}

관련 정보