侧向稳定和 APSR

侧向稳定和 APSR

我有以下代码:

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Please note that whilst this template provides a 
% preview of the typeset manuscript for submission, it 
% will not necessarily be the final publication layout.
%
%% Document class options: (**...** are defaults)
%  - bibtex: Uses bibtex+natbib, chicago.bst 
%  - biblatex: Uses biblatex-chicago
%      You MUST select one of the above two options, depending
%      on whether you prefer bibtex or biblatex. This template
%      contains code that uses bibtex.
%  - twocolumn: Switch to two column for main text
%  - singlespace/onehalfspace/**doublespace**: 
%         changes line spacing for main text
%  - **blind**/nonblind: Anonymises authors 
%         and affiliations, or not
%  - autowc: Automatically inserts a word count
%         after the abstract, using texcount. 
%         The abstract is ignored. 
%         NOTE THAT THIS WILL ONLY WORK IF YOU HAVE  
%         INSTALLED TEXCOUNT, AND HAVE ENABLED --shell-escape
%         OR --enable-write18. (These will work on Overleaf.)
%         If you get an error about "texcount not found", delete
%         the autowc option, and manually specify the wordcount 
%         with \totalwordcount{xxx}.
%%% autowc may cause longer compilation time. You can 
%%% disable it first while actively editing, and only
%%% enable it when you're ready to take stock and check
%%% on your work.
\documentclass[biblatex]{apsr_submission}

\title{American Political Science Review \emph{(APSR)} Submission Template}
 \author{Author One}
       {Affiliation A}
       {Author One is PhD Candidate, ABC Department, Affiliation A, 12345 NY. ([email protected])}

\author{Author Two}
       {Affiliation C}
       {Author Two is Assistant Professor, Faculty of Z, Affiliation B, 42813. Corresponding Author ([email protected]) Additional notes about Author Two.}

\author{Author Three}
       {Affiliation B}
       {Author Three is ...}

 %% These are used for the headers
\runningtitle{APSR Submission Template}
\runningauthor{Author One, Author Two, and Author Three} % 4 + Authors, Author One et al. 

%% Useful packages


%% If you are using a custom figure or table environment from a package and it's not getting framed, add \makeframedenv{MyFigure} in the preamble, where the custom figure environment is \begin{MyFigure}...\end{MyFigure}.
%% Currently table, table*, figure, figure*, longtable, supertabular, sidewaystable and sidewaysfigure will be automatically framed.

%% Handy for setting wide tables/figures in landscape
\usepackage{pdflscape}
\usepackage{rotating} 

\begin{document}

%%% DO NOT REMOVE THESE LINES. For automatic word count.
%TC:ignore
\begin{frontmatter}
\begin{abstract}
Your abstract. It should be at least three lines long to accommodate the dropped-cap. \lipsum[1]
\end{abstract}
\end{frontmatter}
%%% DO NOT REMOVE THIS LINE. For automatic word count.
%TC:endignore


\section{Introduction}   

\begin{sidewaystable}
\caption{An example table}
\label{tab:widgets}
\centering
\begin{tabular}{lr}
Item & Quantity \\\midrule
Widgets & 42 \\
Gadgets & 13
\end{tabular}
\floatnote{This is a note for this table.}
\end{sidewaystable}

\end{document}

apsr_submission cls 可以从以下网址下载这里

显然,sidewaystable 不起作用。我收到以下错误:

! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.312 \caption
              {The logit model \label{logit}}
? 

文件 apsr 类也应该与 sideways 一起工作。

我不知道错误在哪里。有什么帮助吗?提前致谢。

相关内容