![如何在 cleanthesis latex 模板中添加献词页?](https://linux22.com/image/475362/%E5%A6%82%E4%BD%95%E5%9C%A8%20cleanthesis%20latex%20%E6%A8%A1%E6%9D%BF%E4%B8%AD%E6%B7%BB%E5%8A%A0%E7%8C%AE%E8%AF%8D%E9%A1%B5%EF%BC%9F.png)
我正在使用 overleaf 上的 clean thesis latex 模板,我想添加一个致谢页。我尝试将此命令添加到 main.tex,但出现错误。如何在 cleanthesis latex 模板中添加致谢页?谢谢!
\newcommand{\dedication}[1]{
\cleardoublepage
\thispagestyle{empty}
\vspace*{\stretch{1}}
\begin{flushright}
\emph{#1}
\end{flushright}
\vspace*{\stretch{3}}
\clearpage
}
\begin{document}
\dedication{To my family.}
\tableofcontents
\chapter{Introduction}
% Your document content goes here
\end{document}