我正在使用以下代码:
\documentclass{article}
\usepackage{amsmath,xcolor,moresize,background,lipsum}
\usepackage[14pt]{extsizes}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage[top=2cm,left=2cm,right=2cm,bottom=2cm]{geometry}
\backgroundsetup{scale=1,opacity=0.5,color=black,angle=0,contents={\includegraphics[width=\paperwidth,height=\paperheight]{Screenshot.jpg}}}
\newcommand\DeactivateBG{\backgroundsetup{contents={}}}
\newcommand\ActivateBG{\backgroundsetup{contents={\includegraphics[width=\papewidth,height=\paperheight]{Screenshot.jpg}}}}
\begin{document}
\begin{titlepage}
\ActivateBG
\begin{centering}
\Huge
\textcolor{blue}{
Title}
\end{centering}
\end{titlepage}
\end{document}
我得到以下结果: 我做错了什么,无法成功插入背景图像?(Screenshot.jpg 已成功上传至 overleaf)谢谢。