부록 앞에 나타나는 표

부록 앞에 나타나는 표

내 테이블은 페이지 상단의 부록 제목 앞에 나타납니다. [H], [H!], [hbt!] 등 다양한 명령어를 사용해 보았지만 테이블이 이동하지 않습니다. 여기에 패키지와 충돌이 있을 수 있나요?

내 문서의 하단은 다음과 같습니다.

\printcredits
\bibliographystyle{unsrtnat}
% Loading bibliography database
\bibliography{mybibliography}

\newpage
\appendix
\section{Appendix}



\begin{table*}[h]
\caption{Average peer effect - Pre-COVID sample.}
\begin{center}
\begin{footnotesize}
\begin{tabular}{l D{)}{)}{10)3} D{)}{)}{10)3} D{)}{)}{11)3} D{)}{)}{11)3}}
\hline
 & \multicolumn{1}{c}{Model 1} & \multicolumn{1}{c}{Model 2} & \multicolumn{1}{c}{Model 3} & \multicolumn{1}{c}{Model 4} \\
\hline

\hline
\end{tabular}
 \begin{tablenotes}
      \begin{footnotesize}
       \item \textit{Notes:} The table reports results of a logistic regression, explaining the probability for a dwelling to adopt a retrofit measure. 0-50 meters is a dummy variable for location between 0 and 50 meters from the nearest block leader; other distance variables are defined correspondingly (The reference category is a distance larger than 500 meters). Standard errors (clustered at community level) are in parentheses. *,**,*** indicate statistical significance at the 10\%, 5\% and 1\% level respectively.   
      \end{footnotesize}
       
    \end{tablenotes}
\end{footnotesize}
\end{center}
\end{table*}

\end{document}

내가 사용하는 패키지:

\documentclass[a4paper,fleqn]{cas-dc}

% If the frontmatter runs over more than one page
% use the longmktitle option.

%\documentclass[a4paper,fleqn,longmktitle]{cas-sc}

%\usepackage[numbers]{natbib}
%\usepackage[authoryear]{natbib}
\usepackage[numbers]{natbib}
%\usepackage[hypcap=true]{hyperref}
\usepackage{threeparttable}
\usepackage{tabularx}
\usepackage{float}
\usepackage{placeins}
\usepackage{appendix}
\usepackage[final]{changes}

답변1

cas-dc 클래스에 익숙하지 않고 다운로드하기가 너무 귀찮아서 기사를 대신 사용했습니다. 또한 나는 표 자체를 포기했습니다.

그러면 표 형식 \section과 표 형식이 모두 내부에 배치되어 \twocolumn[...]전체 너비와 올바른 순서가 모두 만들어집니다.

\documentclass[a4paper,fleqn,twocolumn]{article}
\usepackage{threeparttable}
\usepackage{appendix}
\usepackage{caption}
\usepackage{lipsum}% random text

\begin{document}
\tableofcontents

\listoftables

\appendix
\twocolumn[\section{Appendix}
  \captionof{table}{Average peer effect - Pre-COVID sample.}
  \begin{tablenotes}
    \footnotesize
    \item \textit{Notes:} The table reports results of a logistic regression, explaining the probability for a dwelling to adopt a retrofit measure. 0-50 meters is a dummy variable for location between 0 and 50 meters from the nearest block leader; other distance variables are defined correspondingly (The reference category is a distance larger than 500 meters). Standard errors (clustered at community level) are in parentheses. *,**,*** indicate statistical significance at the 10\%, 5\% and 1\% level respectively.   
  \end{tablenotes}
  \vspace{\textfloatsep}]

\lipsum[1-6]

\end{document}

관련 정보