2

I am writing a journal paper using Springer template and I am trying to use \inst and \institute to add different affiliation for one author. However, I couldn't solve the error "! Undefined control sequence".

I have tried different solution mentioned in this website but non is working for me. The following example will occur the same error

\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}
2
  • $^\inst{1,2}$ this part that is going to create the error, yet I don't know why. Commented May 24, 2017 at 9:22
  • 1
    The filecontents* environment in the example file for svjour3 is just an example; you can safely remove it from your document.
    – egreg
    Commented May 24, 2017 at 9:51

1 Answer 1

3

The svjour3 class doesn't use superscript numbers to identify the addresses.

\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}

The arrow in the picture represents the text, the institutions will be at the bottom of the page.

enter image description here

1
  • Thank you very much for the clarfication. This work for me. Commented May 28, 2017 at 11:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .