我在编译以下代码时遇到此错误。此外,\maketitle 不起作用。
失控的论点?{ \at \textsuperscript {1,3}计算科学系!段落在 \institute 完成之前结束。
平均能量损失
%\documentclass[smallextended]{svjour3}
\documentclass[twocolumn]{svjour3}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{comment}
\usepackage[center]{caption}
\usepackage{subcaption}
\usepackage{float}
\usepackage[backend=biber,style=authoryear]{biblatex}
\usepackage{csquotes}
\usepackage[section]{placeins}
%Important
%\addbibresource{swa_ref.bib}
\usepackage[linesnumbered,lined,boxed,commentsnumbered]{algorithm2e}
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{{./images/}}
%Table packages
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage[figuresright]{rotating}
\setlength{\rotFPtop}{0pt plus 1fil}
\usepackage{makecell}
\renewcommand{\theadfont}{\bfseries}
% Insert the name of "your journal" with
\journalname{None}
\title{Some Title}
\author{Author1\textsuperscript{1}\and \textsuperscript{\Letter}~Author2\textsuperscript{2}\and Author3\textsuperscript{3}
}
\institute{ \at
\textsuperscript{1,3}Department of Computational Science
\and
\at
\textsuperscript{\Letter}~Corresponding author\\
\textsuperscript{2}Department of Computer Science \& Engineering
\email{[email protected]}
}
%\date{Drafted:\today}
% The correct dates will be entered by the editor
\begin{document}
\maketitle
\begin{abstract}
To be written later.
\keywords{keywords \and keywords \and keywords \and keywords \and keywords \and keywords}
\end{abstract}
%\input{introduction}
%\input{implementation}
%\input{evaluation}
%\input{casestudy}
%\input{conclusion}
% Authors must disclose all relationships or interests that
% could have direct or potential influence or impart bias on
% the work:
%
\section*{Conflict of interest}
The authors declare that they have no conflict of interest.
%\printbibliography
\end{document}
答案1
为了使\maketitle
工作能够添加\usepackage[misc]{ifsym}
到您的 MWE 中以供标志使用\Letter
。
% !TeX TS-program = pdflatex
%\documentclass[smallextended]{svjour3}
\documentclass[twocolumn]{svjour3}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{comment}
\usepackage[center]{caption}
\usepackage{subcaption}
\usepackage{float}
\usepackage[backend=biber,style=authoryear]{biblatex}
\usepackage{csquotes}
\usepackage[section]{placeins}
%Important
%\addbibresource{swa_ref.bib}
\usepackage[linesnumbered,lined,boxed,commentsnumbered]{algorithm2e}
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{{./images/}}
%Table packages
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage[figuresright]{rotating}
\setlength{\rotFPtop}{0pt plus 1fil}
\usepackage{makecell}
\renewcommand{\theadfont}{\bfseries}
\usepackage[misc]{ifsym}% added <<<<<<<<<<<<<<<<
% Insert the name of "your journal" with
\journalname{None}
\title{Some Title}
\author{Author1\textsuperscript{1}\and \textsuperscript{\Letter}~Author2\textsuperscript{2}\and Author3\textsuperscript{3}
}
\institute{\at
\textsuperscript{1,3}Department of Computational Science
\and
\at \textsuperscript{\Letter}~Corresponding author\\
\textsuperscript{2}Department of Computer Science \& Engineering
\email{[email protected]}
}
\date{Drafted:\today}
\begin{document}
\maketitle
\begin{abstract}
To be written later.
\keywords{keywords \and keywords \and keywords \and keywords \and keywords \and keywords}
\end{abstract}
%\input{introduction}
%\input{implementation}
%\input{evaluation}
%\input{casestudy}
%\input{conclusion}
% Authors must disclose all relationships or interests that
% could have direct or potential influence or impart bias on
% the work:
%
\section*{Conflict of interest}
The authors declare that they have no conflict of interest.
%\printbibliography
\end{document}