IEEEtran 的 \IEEEoverridecommandlockouts 与 \maketitle 发生冲突

IEEEtran 的 \IEEEoverridecommandlockouts 与 \maketitle 发生冲突

问题的标题说明了一切。

   \documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts      
%% INFOCOM 2013 addition:

\makeatletter
\def\ps@headings{%
\def\@oddhead{\mbox{}\scriptsize\rightmark \hfil \thepage}%
\def\@evenhead{\scriptsize\thepage \hfil \leftmark\mbox{}}%
\def\@oddfoot{}%
\def\@evenfoot{}}
\makeatother
\pagestyle{headings}

\usepackage{cite}
\usepackage{url}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage[noend]{algorithmic}
\usepackage{subfig}
\usepackage{amssymb, amsmath,graphicx,charter, latexsym}
\usepackage{enumerate}
\usepackage{comment}
\usepackage{verbatim}

\newtheorem{definition}{Definition}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{theorem}{Theorem}
\newtheorem{example}{Example}
%\newcommand{\abs}[1]{\lvert#1\rvert}
\newcommand{\abs}[1]{\lvert#1\rvert}
\newtheorem{remark}{Remark}
\newtheorem{observation}{Observation}
% *** SPECIALIZED LIST PACKAGES ***
%


\allowdisplaybreaks[4]
\usepackage{bbm}

% *** ALIGNMENT PACKAGES ***
%

\begin{document}
\title{\bf{XXX}}
\author{XXX
\thanks{This material is based upon work partially supported by XXX}
   \\Department of XXXX
   \\Email: \{XXX\}@XXX.edu
}
\maketitle
\end{document}

我正在使用该类IEEEtran撰写会议论文。为了撰写致谢,我使用了\IEEEoverridecommandlockouts。不幸的是,LaTeX 编译返回许多错误,例如“标签未对齐或放错位置\maketitle”。我该怎么办?

相关内容