我在 overleaf 上使用 \maketitle 时遇到了问题,代码运行正常并产生了所需的输出,但仍然出现错误,我想找出为什么会发生这种情况。
所以问题是:
这是乳胶代码:(错误出在 \maketitle 上)
\documentclass[
article,
11pt,
oneside,
a4paper,
brazil,
brazil,
sumario=tradicional
]{abntex2}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\usepackage{nomencl}
\usepackage{color}
\usepackage{graphicx}
\usepackage{adjustbox}
\usepackage{microtype}
\usepackage{float}
\usepackage{caption}
\usepackage{verbatim}
\usepackage{mathrsfs}
\usepackage{amsmath}
\newsavebox\foobox
\newlength{\foodim}
\newcommand{\slantbox}[2][0]{\mbox{%
\sbox{\foobox}{#2}%
\foodim=#1\wd\foobox
\hskip \wd\foobox
\hskip -0.5\foodim
\pdfsave
\pdfsetmatrix{1 0 #1 1}%
\llap{\usebox{\foobox}}%
\pdfrestore
\hskip 0.5\foodim
}}
\def\Laplace{\slantbox[-.45]{$\mathscr{L}$}}
\usepackage{lipsum}
\usepackage{hyperref}
\usepackage{csquotes}
\usepackage[sorting=none]{biblatex}
%\addbibresource{bibli.bib}
\title{Desenvolvimento de um sistema}
\autor{Ana M Brito}
\local{Brasil}
\data{Setembro de 2021}
\definecolor{blue}{RGB}{41,5,195}
\makeatletter
\makeatother
\setlrmarginsandblock{3cm}{3cm}{*}
\setulmarginsandblock{3cm}{3cm}{*}
\checkandfixthelayout
\setlength{\parindent}{1.3cm}
\setlength{\parskip}{0.2cm}
\SingleSpacing
\begin{document}
\frenchspacing
\maketitle % error here
\begin{resumoumacoluna}
Resumo aqui
\vspace{\onelineskip}
\end{resumoumacoluna}
\textual
\section{Introdução}
introducao
\end{document}