apa6: la eliminación de maketitle genera error

apa6: la eliminación de maketitle genera error

Fondo

Estoy intentando escribir un manuscrito que tenga citas y bibliografía en formato APA6. Para este propósito, estoy usando \documentclass[man]{apa6}.

Sin embargo, no quiero la página de título que crea esta clase de forma predeterminada. Para lograrlo, cuando comenté el \maketitle, generé errores en cascada.

Intenta abordar este problema.

En lugar de comentar el \maketitle, vacié los campos que lo constituyen, como \title{}, \author{}, \affiliation{}, etc. Sin embargo, el problema aún persiste.

Resultado deseado

Quiero escribir un manuscrito con formato apa6 y sin portada

Código

\documentclass[man]{apa6}

\usepackage[american]{babel}

\usepackage{csquotes}
\usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{bibliography.bib}

\title{Sample APA-Style Document Using the \textsf{apa6} Package}

\author{Brian D.\ Beitzel}
\affiliation{SUNY Oneonta}

\leftheader{Beitzel}

\abstract{This demonstration paper uses the \textsf{apa6} \LaTeX\
  class to format the document in compliance with the 6th Edition of
  the American Psychological Assocation's \textit{Publication Manual.}
  The references are managed using \textsf{biblatex}.}

\keywords{APA style, demonstration}

\begin{document}
\maketitle
\section{Introduction}
\end{document}

Hay algunas secciones en este documento después del título.

Errores

Undefined control sequence. \section
Undefined control sequence. \end{document}
Undefined control sequence. \end{document}
Please (re)run Biber on the file:(biblatex) shortsample(biblatex) and rerun LaTeX afterwards.

Eliminando los datos de los campos

\documentclass[man]{apa6}

\usepackage[american]{babel}

\usepackage{csquotes}
\usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{bibliography.bib}

\title{}

\author{}
\affiliation{}

\leftheader{}

\abstract{}

\keywords{}

\begin{document}
\maketitle
\section{Introduction}
\end{document}

Errores después de eliminar los campos.

There's no line here to end. \maketitle
There's no line here to end. \maketitle
There's no line here to end. \maketitle
Please (re)run Biber on the file:(biblatex) shortsample(biblatex) and rerun LaTeX afterwards.

Respuesta1

Si observa el error que obtiene cuando comenta el \maketitlecomando, es una secuencia de control indefinida que se refiere a \shorttitle, que se usa en el encabezado de ejecución. Entonces necesitas definir eso para no tener una página de título. (He eliminado el código de bibliografía que es irrelevante aquí).

Pero al hacer esto no se creará ningún título y tampoco se imprimirá el resumen, ya que lo produce el apa6 \maketitlecomando.

\documentclass[man]{apa6}

\usepackage[american]{babel}

\usepackage{csquotes}


\title{Sample APA-Style Document Using the \textsf{apa6} Package}

\author{Brian D.\ Beitzel}
\affiliation{SUNY Oneonta}
\shorttitle{Short Title}
\leftheader{Beitzel}

\abstract{This demonstration paper uses the \textsf{apa6} \LaTeX\
  class to format the document in compliance with the 6th Edition of
  the American Psychological Assocation's \textit{Publication Manual.}
  The references are managed using \textsf{biblatex}.}

\keywords{APA style, demonstration}

\begin{document}
%\maketitle
\section{Introduction}
\end{document}

información relacionada