Add multiple authors

609 views
Skip to first unread message

Alireza Dehghani

unread,
Feb 13, 2012, 12:53:51 AM2/13/12
to LaTeX for UTM Thesis
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. (The package i am trying to use is "authblk" and the document
class is "amsart" which i do not want to change.)
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 }

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

najmi....@gmail.com

unread,
Feb 13, 2012, 1:02:07 AM2/13/12
to utmthesi...@googlegroups.com
Because it was declared before \begin document?
> --
> To post to this group, email to utmthesi...@googlegroups.com
> To unsubscribe, email to utmthesis-disc...@googlegroups.com
> For more, visit http://groups.google.com/group/utmthesis-discuss?hl=en

--
https://sites.google.com/site/najmizabidi/
Reply all
Reply to author
Forward
Message has been deleted
0 new messages