我是 Latex 的新手,正在努力为文章正确设置特定封面的格式。
我有以下代码,它满足预期,甚至可以编译。然而,“\AP@ 定义中的参数编号非法”编译时出现错误。
需要进行哪些改变才能使错误消失?
\usepackage{afterpage}
\afterpage{
\newgeometry{textwidth=\paperwidth, textheight=\paperheight, noheadfoot, nomarginpar}
\newenvironment{capa}[2]{
\begin{list}{}{
\setlength{\topskip}{0pt}
\setlength{\leftmargin}{#1}
\setlength{\rightmargin}{#2}
\setlength{\listparindent}{0pt}
\setlength{\itemindent}{0pt}
\setlength{\parsep}{\parskip}
\setlength{\parindent}{0mm}
}
\item[]}{\end{list}}
\definecolor{grayish}{RGB}{89,89,89}
\centering
\includegraphics[scale=0.4]{xxxxxxxx} \\
\begin{capa}{7.9cm}{1.9cm}
\vspace*{65mm}
\noindent{
\textcolor{grayish}{\LARGE{xxxxxxxxx}}}
\vspace*{9mm}\\
\textcolor{grayish} {\LARGE { \noindent{ \textbf{xxxxxxxx}}} \\}
\vspace*{50mm}
\noindent { \textcolor{grayish} {\large{xxxxxxxxx}} \\ \\
\textcolor{grayish} {\large{xxxxxxxxx}}} \\
\\
\noindent {\textcolor{grayish} {\large{xxxxxxx }}\\
\textcolor{grayish} {\large{ \textit {xxxxxxxx}}}}
\vspace*{30mm}
\Small {ffffefefefe}
\newpage
\end{capa}
\restoregeometry}
谢谢您的帮助!干杯。