LaTeXでAPA 7形式の原稿を作成する
LaTeXでAPA 7形式の論文を作成するには、apa7ドキュメントクラスと適切なクラスオプションが必要です。余白や見出しのフォントを手動で調整することなく、学生用論文、学術誌投稿用論文、参考文献リストを設定できます。
結論:学生の課題には \documentclass[stu]{apa7} を、学術誌への投稿原稿には \documentclass[man]{apa7} を使用します。参考文献を自動化するには、APAスタイルを指定してbiblatexを読み込んでください。
適切なドキュメントクラスオプションの選択
A minimal working APA 7 template
Here is a complete setup for a student paper using the apa7 class. You can copy this code into any online LaTeX editor or local project folder to get started immediately.
Basic document structure
Preamble and metadata
Declare the document class as stu for student work, add your packages for language and bibliography, and define your title, author, and institutional affiliation.
\documentclass[stu, 12pt]{apa7} \usepackage[english]{babel} \usepackage[style=apa]{biblatex} \addbibresource{references.bib} \title{The Impact of Sleep on Working Memory} \shorttitle{Sleep and Working Memory} \author{Jane A. Doe} \affiliation{Department of Psychology, University of Leeds} \course{PSYC 301: Advanced Research Methods} \professor{Dr. Robert Smith} \duedate{March 14, 2026}Body and citations
Begin the document, generate the title block with \maketitle, and cite sources using standard biblatex commands.
\begin{document} \maketitle \section{Introduction} Recent studies show sleep deprivation impairs cognitive performance \parencite{smith2024}. \printbibliography \end{document}
Setting up APA 7 references
The official APA 7 style requires specific hanging indents and author-date formatting. If you use standard BibTeX, you need an APA style file like apalike. However, using biblatex with the biber backend provides more accurate formatting for electronic sources, DOIs, and URLs.
Always load biblatex with the style=apa parameter in your preamble. When citing in the text, use \parencite{key} for parenthetical citations like (Smith, 2024) and \textcite{key} for narrative citations like Smith (2024).
Adding tables and figures
APA 7 style requires tables and figures to follow specific formatting rules: clear, concise captions, minimal horizontal rules, and notes placed underneath the table body.
You can use the standard table and tabular environments inside your APA document, but remember to wrap them in the table float so LaTeX places them correctly. For complex statistical tables, packages like booktabs help maintain clean lines that adhere to APA guidelines.
よくある質問
What is the easiest way to use an APA 7 template online?
You can create a new project in Texeno, upload your files as a .zip, or start from scratch using the \documentclass[stu]{apa7} preamble. Texeno compiles documents on TeX Live 2026 with full support for the apa7 class and biblatex.
How do I switch from student mode to manuscript mode?
Change \documentclass[stu]{apa7} to \documentclass[man]{apa7} in your preamble. Manuscript mode removes the course and instructor fields and formats the document for journal submission.
Why are my citations not showing up in APA format?
あなたの論文を Texeno で試してみましょう。
無料で始めて、プロジェクトを .zip でアップロードし、リコンパイルを押すだけ。コンパイル時間を延ばしたくなったらアップグレードしてください。
書き始める