我想在 之前添加空行\date
,以便将其放在页面末尾,但是当我尝试时\\
,\newline
由于 ,出现了以下错误\maketitle
。我该怎么办?
! LaTeX 错误:这里没有结束的行。
\begin{document}
\frontmatter
\title{\bfseries{Title}}
\author{\bfseries{Name
\thanks{E-mail: \bfseries{mail} AM: \texttt{000000}}}}
\affil{Name \\ University \\ Location}
\date{\bfseries{\today}}
\maketitle
\begin{table}[]
\label{my-label}
\begin{tabular}{|l|l|}
...
答案1
我没有使用你的文档类,但也许我的例子可以帮助你:
\documentclass{article}
\renewcommand*\footnoterule{} %OPTIONAL: Just to remove the footnote seperator in order to look as desired
\begin{document}
\begin{titlepage}
\begin{center}
\vspace{-0.6cm} %vertical space - not use empty lines
\huge{\textsf{\textbf{My Title}}}
\vspace{1.8cm}
\Large{\textbf{Master's Thesis}}
\vspace{0.5cm}
\large{for obtaining the academic degree} \\
\vspace{0.2cm}
\Large{\textbf{Master of Science (MSc)}} \\
\vspace{0.2cm}
\large{at the \\
University of XXXX} \\
\vspace{2.6cm}
\large{submitted by} \\
\Large{\textbf{Author}\footnote{\textbf{Email:} xxx}} \\
\vspace{2.6cm}
\begin{table} [ht]
\centering
\renewcommand{\arraystretch}{1.4}
\begin{tabular}{ll}
\textbf{Thesis supervisor:} & XXX \\
\textbf{Thesis advisors:} & YYY \\
\textbf{Thesis assessor:} & ZZZ \\
\end{tabular}
\end{table}
\vspace*{\fill} %fill the vertical space until end of the page
\large{May 23, 2018} \\
\end{center}
\end{titlepage}
\end{document}
导致: