\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{indentfirst}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{graphicx}
\graphicspath{ {Desktop/} }
\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: [email]}
\and \href{Tufts University Department of Mathematics}}
\date{November 2015}
I am writing a paper and the above code is causing problems when I compile in TeXworks through pdfTeX. It returns this issue:
Undefined control sequence.
\@author ->Shivam Gandhi \href
{email: shivam.jgandhi@gmail.com} \and \href ...
l.20 \maketitle
I am not sure why this error is happening. I wrote the paper in ShareLaTeX and it compiled fine, but now there are problems.


\hrefis part of thehyperrefpackage, and usually has the syntax\href{URL}{text}. If you try adding\usepackage{hyperref}and use that syntax, does it help? – Arun Debray Feb 05 '16 at 20:27