I am trying to supress the running head on a pdf render of a manuscript written with papaja
. Commenting out or deleting the shorttitle
from the YAML (see below) both insert "Running head: SHORT TITLE" in the pdf header. Is there a way to completely eliminate it? Rendering as classoption: "doc"
removes it from the first page, but not the subsequent pages.
---
title : "The paper title"
# shorttitle : "running head"
author:
- name : "First Author"
affiliation : "1"
affiliation:
- id : "1"
institution : "Department of Science"
floatsintext : no
figurelist : yes
tablelist : no
footnotelist : no
linenumbers : no
mask : no
draft : no
documentclass : "apa6"
classoption : "man, donotrepeattitle" # suppresses title on 1st page of MS
output: papaja::apa6_pdf
---
# Methods
We report how we determined our sample size, all data exclusions (if any), all manipulations, and all measures in the study. <!-- 21-word solution (Simmons, Nelson & Simonsohn, 2012; retrieved from http://ssrn.com/abstract=2160588) -->
NB: I am aware of this question/answer but it's not a general solution.
EDIT: I figured out how to use package fancyheader
to remove from the main document, but the running head and page number remain on the cover page.
header-includes:
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \fancyhead[L]{}
- \fancyhead[R]{}
header-includes:
- \usepackage{fancyhdr}
- \pagestyle{empty}
- \thispagestyle{empty}
Did the trick.