[OS X TeX] adding multiple authors
Ross Moore
ross.moore at mq.edu.au
Sun Feb 12 19:26:50 EST 2012
Hello Alireza,
On 13/02/2012, at 3:50 AM, Alireza Dehghani wrote:
> I am trying to use multiple authors with multiple affiliation using
> authblk package. I
> think I am coding it right, but latex compiler is completely skipping
> the author block.
> Not giving any error either. Any idea ? thanks.
authblk does not make the link between AMS's \authors macro
and its own \AB at authors .
The way to do this is indicated below.
> Here is what I wrote :
> \documentclass[12pt]{amsart}
> \usepackage{hyphenat}
> \usepackage{flafter}
> \usepackage{txfonts}
> \usepackage{cite, graphicx}
> \usepackage{geometry}
> \usepackage{anysize}
> \usepackage{titlesec}
> \usepackage{amsmath, amsthm}
> \usepackage{multirow}
> \usepackage[square,super,comma,sort&compress]{natbib}
> \usepackage{enumerate}
> \usepackage{textcomp}
> \usepackage[version=3]{mhchem}
> \usepackage{subfigure}
> \usepackage{authblk}
> \geometry{a4paper}
> \linespread{1.15}
> \marginsize{2.5cm}{2.5cm}{2.5cm}{2.5cm}
> \titlelabel{\thetitle.\quad}
> \pagestyle{plain}
> \pagenumbering{arabic}
> %\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> %Abstract
> \renewcommand{\abstractname}{\textbf{\bf Abstract:}}
> \title{My Title}
> \author[1]{author1}
>
> \author[1]{author2}
>
> \author[2]{author3}
>
> \author[2]{author4}
>
> \affil[1]{affil1}
>
> \affil[2]{affil2 }
Put in here the lines:
\makeatletter
\let\authors\AB at authors
\makeatother
>
> \begin{document}
>
> \maketitle
> {\normalfont \bf Keywords:} keyword1; keyword2; keyword3.
>
> \input{source/Introduction.tex}
>
> \input{source/Experimental.tex}
>
> \input{source/Discussion.tex}
>
> \bibliographystyle{unsrt}
> \bibliography{library}
> \end{document}
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the MacOSX-TeX
mailing list