Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is it possible to add an email just below the authors in this code?

\documentclass[11pt,oneside,a4paper]{article}
\usepackage{hyperref}


\title{Hello}
\author{User1 \and User2}



\begin{document}
\maketitle

\section{Introduction}
A1
\section{Literature Review}
A2

\section{Conclusion}
A2

\end{document} 
share|improve this question

3 Answers 3

Just use \\ to drop down onto the next line.

\documentclass[11pt,oneside,a4paper]{article}
\usepackage{hyperref}

\title{Hello}
\author{User1 \\ email \href{mailto:me@somewhere.com}{me@somewhere.com} 
   \and User2 \\ email \href{mailto:someone@somewhere.com}{someone@somewhere.com} }

\begin{document}
\maketitle
\section{Introduction}
A1
\section{Literature Review}
A2
\section{Conclusion}
A2
\end{document}

email

You may want to adjust the options for the hyperref package to improve the appearance.

share|improve this answer
    
Thanks, really appreciate your help. One more thing is it possible two make the text appear in two columns. –  user3741635 Jun 17 at 11:15
    
@user3741635 --- the article document class has a twocolumn option. Note that you will need some text to see the effect of this; the body of your example will fit into the first column. –  Ian Thompson Jun 17 at 11:28

Yes, it can be included in the \author{} tag. Like so:

\author{User1 \\ user1@mailserver.xx \and User2 \\ user2@mailserver.xx}

However, note that this is not the canonical way to do it. Usually the second line in the author tag is for the author's address and affiliation which may include the email address. Sometimes, the email address is rather put into a footnote (e.g. with the \thanks{} tag inside the \author{} tag). But it can be (and is occasionally) done like this, only putting the email address without affiliation under the authors names. You might want to have the email address in monospace font which can be done by also applying the \texttt{} tag like so.

\author{User1 \\ \texttt{user1@mailserver.xx} \and User2 \\ \texttt{user2@mailserver.xx}}
share|improve this answer

Intead of \documentclass{article}, perhaps you could prefer \documentclass{amsart}.
With the class amsart you are able to include several nice commands for author information, such as emails, which will be properly ordered in the document.
You can write the following commands:

   \author{User Guy}  
   \email{userguy@gmail.com}  

   \author{Another Guy}
   \email{anotherguy@yahoo.com}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.