在下面的代码中,我试图设计我的论文的页面。不幸的是,我的名字没有定义
\documentclass[12pt,twoside]{masterthesis}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{dirtytalk}
\newcommand\tab[1][1cm]{\hspace*{#1}}
\usepackage{placeins}
\usepackage{longtable}
\usepackage{listings}
\usepackage{caption}
\usepackage{amsmath}
\graphicspath{{images/}}
\begin{document}
\begin{titlepage}
\begin{center}
\vspace*{1cm}
\Huge
\textbf{Thesis Title }
\vspace{1.5cm}
\author{author name }
\advisor{Prof.Name 1 \\
prof. Name 2 }
\examiner{Prof. Name 3}
\vfill
A thesis presented for the degree of\\
Master of Data Science and Engineering
\vspace{0.8cm}
\includegraphics[width=0.4\textwidth]{images/university.jpg}
\vspace{0.8cm}
\large
Department of Informatics, Gioengineering, Robotics, and Systems Engineering\\
University of Genoa\\
Italy-Genoa\\
2019\\
\end{center}
\end{titlepage}
但输出错误,即未定义的控制序列,并且作者姓名不能出现