次のコードがあります:
\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 protected]}
\and \href{Tufts University Department of Mathematics}}
\date{November 2015}
ただし、次のエラーが返されます。
Undefined control sequence.
\@author ->Shivam Gandhi \href
{email: [email protected]} \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.
論文を書くのに ShareLaTeX を使用しているので、コンパイラが原因かもしれません。この問題を解決する方法について何かアイデアはありますか?
ありがとう。
答え1
こんなものがほしいかもしれません
\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:[email protected]}{[email protected]}
\and \href{http://math.tufts.edu/}{Tufts University Department of Mathematics}}
\date{November 2015}
\maketitle
\end{document}