**edit: Thanks to the help of a colleague of mine, I found the solution. Thanks to all the helpers. here is the link: Multiple authors in a Journal style (llncs) Document
I'm using TeXstudio and wish to submit a paper, but having a problem with compiling my Tex code. Before using \affil[1], \affil[2] etc. I had no problem, but I need it to be in this form (when I use the \and, \thanks form it works).
I fought this problem for hours now without a solution. I'll be happy for some help. Thank you so much.
I get the following errors:
'Illegal parameter number in definition of \toc@uthor. \maketitle'
'Illegal parameter number in definition of \toc@uthor. \maketitle'
'Illegal parameter number in definition of \reserved@a. \maketitle'
'Illegal parameter number in definition of \reserved@a. \maketitle'
when I run the following code:
\documentclass[english]{llncs}
\pagenumbering{plain}
\usepackage{amssymb} %add a personalized operator
\usepackage{multirow}
\usepackage{float}
\usepackage{graphics}
\usepackage{float}
\usepackage{graphicx}
\usepackage[dvipsnames]{xcolor}
\usepackage{array}
\usepackage{booktabs}
\usepackage{cite}
\usepackage{color}
\usepackage{hyperref}
\usepackage{cleveref}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
\usepackage{authblk}
\title{Paper's title}
\author[1,2]{A}
\author[1,2]{B}
\author[2,3,4]{C}
\author[1,2]{D}
\affil[1]{institute A}
\affil[2]{institute B}
\affil[3]{institute C}
\affil[4]{institute D}
\institute{}
\renewcommand\Authands{ and }
\begin{document}
\maketitle
\end{document}
Any help would be highly appreciated.
authblkis compatible withllncs. – egreg Jun 08 '19 at 18:11If
– orshw Jun 08 '19 at 19:03authblkdoes not compatible tollncs, there is any alternative toauthblk?https://tex.stackexchange.com/questions/20292/multiple-authors-in-a-journal-style-llncs-document
– orshw Jun 08 '19 at 19:33llncs, do as the class requires. – egreg Jun 08 '19 at 19:34