我正在使用 Springer 模板撰写期刊论文,并尝试使用\inst
和\institute
为一位作者添加不同的隶属关系。但是,我无法解决错误“!未定义的控制序列”。
我尝试了本网站提到的不同解决方案,但都不起作用。以下示例将发生相同的错误
\RequirePackage{fix-cm}
\documentclass[smallcondensed]{svjour3}
\smartqed
\usepackage{graphicx}
\usepackage{authblk}
\usepackage{pbox}
\usepackage{commath}
\usepackage[numbers,sort&compress]{natbib}
\usepackage{rotating}
\usepackage{algorithm2e,algorithmic}
\usepackage{epstopdf}
\usepackage{longtable}
\usepackage{tabularx,ragged2e,booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage{apacite}
\usepackage[misc,geometry]{ifsym}
\usepackage{amsmath}
\usepackage{url}
\usepackage[margin=1in]{geometry}
\usepackage{mathptmx}
\journalname{Journal Nmae}
%
\begin{document}
\title{Insert your title here
}
\subtitle{Do you have a subtitle?\\ If so, write it here}
\author{AuthorA $^\inst{1,2}$ \and
AuthorB $^\inst{1}$ \and
AuthorC $^\inst{1}$
}
\institute{F. Author \at
first address \\
Tel.: +123-45-678910\\
Fax: +123-45-678910\\
\email{[email protected]}
\and
S. Author \at
second address
}
\date{}
\maketitle
\end{document}
答案1
该类svjour3
不使用上标数字来标识地址。
\documentclass[smallcondensed]{svjour3}
\usepackage{graphicx}
\usepackage{authblk}
\usepackage{pbox}
\usepackage{commath}
\usepackage[numbers,sort&compress]{natbib}
\usepackage{rotating}
\usepackage{algorithm2e,algorithmic}
\usepackage{epstopdf}
\usepackage{longtable}
\usepackage{tabularx,ragged2e,booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage{apacite}
\usepackage[misc,geometry]{ifsym}
\usepackage{amsmath}
\usepackage{url}
\usepackage[margin=1in]{geometry}
\usepackage{mathptmx}
\journalname{Journal Nmae}
\smartqed
\begin{document}
\title{Insert your title here}
\subtitle{Do you have a subtitle?\\ If so, write it here}
\author{AuthorA \and
AuthorB \and
AuthorC
}
\institute{%
AuthorA \and AuthorB \and AuthorC
\at
first address \\
Tel.: +123-45-678910\\
Fax: +123-45-678910\\
\email{[email protected]}
\and
AuthorA
\at
second address
}
\date{}
\maketitle
\end{document}
图片中的箭头代表文字,机构会在页面底部。