
배경
APA6 형식의 인용 및 참고문헌이 있는 원고를 작성하려고 합니다. 이를 위해 \documentclass[man]{apa6}
.
그러나 이 클래스가 기본적으로 생성하는 제목 페이지는 원하지 않습니다. 내가 주석을 달 때 그것을 달성하기 위해 \maketitle
계단식 오류가 발생했습니다.
이 문제를 해결하려는 시도
에 주석을 다는 대신 \maketitle
\title{}, \author{}, \affiliation{} 등과 같이 이를 구성하는 필드를 비웠습니다. 그러나 문제는 여전히 지속됩니다.
요망되는 결과
제목 페이지 없이 apa6 형식으로 원고를 쓰고 싶습니다.
암호
\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}
이 문서에는 제목 뒤에 몇 가지 섹션이 있습니다.
오류
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.
필드 데이터 제거
\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}
필드 제거 후 오류
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.
답변1
명령 을 주석 처리할 때 나타나는 오류를 살펴보면 실행 중인 헤드에서 사용되는 \maketitle
를 참조하는 정의되지 않은 제어 시퀀스입니다 . \shorttitle
따라서 제목 페이지가 없도록 하려면 이를 정의해야 합니다. (여기서는 관련 없는 참고문헌 코드를 제거했습니다.)
그러나 이렇게 하면 제목이 전혀 생성되지 않으며 초록도 인쇄되지 않습니다. 왜냐하면 제목이 명령에 의해 생성되기 때문입니다 apa6
\maketitle
.
\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}