我刚刚检查了大量与类似问题相关的问题,例如这里,这里,这里,这里等等;但它们都会导致以下错误:
Undefined Control Sequence \IEEEoverridecommandlockouts\IEEEpubid...
这是我的模板文件代码的核心:
\documentclass[letterpaper, 10 pt, conference]{ieeeconf}
\IEEEoverridecommandlockouts
\overrideIEEEmargins
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{amsmath}
\usepackage[normalem]{ulem}
\usepackage[flushleft]{threeparttable}
%\usepackage{fancyhdr}
\title{\LARGE \bf
My Papr's Title
}
\author{Me$^{1}$ and Someone Else$^{2}$% <-this % stops a space
\thanks{$^{1}$My Affiliation
{\tt\small my email address}}%
\thanks{$^{2}$Her Affiliation
{\tt\small her email address}}%
}
\makeatletter
\setlength\@fptop{0\p@}
\makeatother
\IEEEoverridecommandlockouts\IEEEpubid{\makebox[\columnwidth]{978-1-4799-4937-3/14/\$31.00~\copyright{}2014 IEEE \hfill} \hspace{\columnsep}\makebox[\columnwidth]{ }}
\begin{document}
%\IEEEpubid{\makebox[\columnwidth]{\hfill 9781-4244-3941-6/09/\$25.00~\copyright~2009 IEEE}
%\hspace{\columnsep}\makebox[\columnwidth]}
\maketitle
\begin{abstract}\end{abstract}
\section{INTRODUCTION}
\section*{Acknowledgment}
\begin{thebibliography}{99}
\bibitem{1}
V.~Braitenberg. \textit{Vehicles. Experiments in synthetic psychology}. The MIT Press, 1984.
\end{thebibliography}
\end{document}
您能指导我如何正确插入版权声明吗?
答案1
\IEEEoverridecommandlockouts
由 提供,IEEEtran.cls
而不是IEEEconf.cls
。\overrideIEEEmargins
在 1.7+ 版本中不受支持。
\bf
不应在 LaTeX 中使用,因为 20 多年前它就被弃用了。请注意不要在标题等地方引入虚假空格。
例如,
\documentclass[letterpaper,10pt,conference]{IEEEtran}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[normalem]{ulem}
\usepackage[flushleft]{threeparttable}
\title{\LARGE \bfseries My Paper's Title}% \bf was deprecated 20+ years ago and ought not be used in LaTeX
\author{Me$^{1}$ and Someone Else$^{2}$% <-this % stops a space
\thanks{$^{1}$My Affiliation
{\tt\small my email address}}%
\thanks{$^{2}$Her Affiliation
{\tt\small her email address}}%
}
\makeatletter
\setlength\@fptop{0\p@}
\makeatother
\begin{document}
\IEEEoverridecommandlockouts
% \overrideIEEEmargins is no longer supported
\IEEEpubid{\makebox[\columnwidth]{978-1-4799-4937-3/14/\$31.00~\copyright{}2014 IEEE \hfill} \hspace{\columnsep}\makebox[\columnwidth]{ }}
\maketitle
\begin{abstract}\end{abstract}
\section{INTRODUCTION}
\section*{Acknowledgment}
\begin{thebibliography}{99}
\bibitem{1}
V.~Braitenberg. \textit{Vehicles. Experiments in synthetic psychology}. The MIT Press, 1984.
\end{thebibliography}
\end{document}
编译无错误: