[Tex/LaTex] Undefined Control Sequence Problem

sharelatex

I have the following code:

\title{Improvement of the Cascadic Multigrid Algorithm with a Gauss Seidel 
Smoother to Efficiently Compute the Fiedler Vector of a Graph Laplacian}
\author{Shivam Gandhi \href{email: shivam.jgandhi@gmail.com}
   \and \href{Tufts University Department of Mathematics}}
\date{November 2015}

However, it is returning the following error:

Undefined control sequence.
\@author ->Shivam Gandhi \href 
                               {email: shivam.jgandhi@gmail.com} \and \href ...
l.19 \maketitle

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I am using ShareLaTeX for writing the paper, so it may be the compiler. Any ideas on how to fix this problem?

Thanks.

Best Answer

You may want something like this

\documentclass[a4paper]{article}
\usepackage{hyperref}
\begin{document}
\title{Improvement of the Cascadic Multigrid Algorithm with a Gauss Seidel 
Smoother to Efficiently Compute the Fiedler Vector of a Graph Laplacian}
\author{Shivam Gandhi
  \href{mailto:shivam.jgandhi@gmail.com}{shivam.jgandhi@gmail.com}
  \and \href{http://math.tufts.edu/}{Tufts University Department of Mathematics}}
\date{November 2015}
\maketitle
\end{document}
Related Question