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.
\hreftake two arguments? http://tex.stackexchange.com/questions/33282/list-of-url-links-with-href Also have you loaded thehyperrefpackage? – Au101 Feb 13 '16 at 21:19\hrefis provided by thehyperrefpackage, without that package it's undefined (hence your error message) and you can't use it, to the best of my knowledge. Which command you should use will depend on what you want to do, but thehyperrefpackage seems to provide lots of good options (haven't really used it myself, though) – Au101 Feb 13 '16 at 21:23\hrefis provided by the hyperref package! :-) – GuM Feb 14 '16 at 01:10