wjschne / apaquarto

A quarto extension for creating APA7 documents in .docx, .html, and .pdf formats
https://wjschne.github.io/apaquarto/
Creative Commons Zero v1.0 Universal
166 stars 14 forks source link

Questions About Customizing APA Format #68

Closed baker-jr-john closed 5 months ago

baker-jr-john commented 5 months ago

First, I appreciate your helping others format their reports in APA style. I have a few questions and would appreciate your assistance:

  1. Is there a way to suppress the title in the header on every page?
header-title
  1. Can the page number on only the first page be suppressed?
header-page-number
  1. Is it possible to suppress the author's note?
author-note

Please let me know if there's a more appropriate place to post these questions. I appreciate your help!

wjschne commented 5 months ago

I just added the ability to suppress many aspects of the title page. See template options for details. In your case, you would set suppress-short-title: true to suppress the running header, and suppress-author-note: true to suppress the Author Note. Suppressing the page number on the first page might be possible, but I have not yet figured how to do it.

baker-jr-john commented 5 months ago

Unfortunately, the title header is still displayed on all of the pages, and the author's note is still present.

I'm using apaquarto version 4.1.0. Here is the YAML for my document.

---
title: "Examining Changes in Patient Satisfaction During the COVID-19 Pandemic"
subtitle: An Analysis of HCAHPS Scores
author:
  - name: John Baker
    affiliations:
      - id: sunynp
  - name: Tyler Eisloeffel
    affiliations:
      - id: sunynp
  - name: Justin Martin
    affiliations:
      - id: sunynp
  - name: Juncheng Shi
    affiliations:
      - id: sunynp
affiliations:
  - id: sunynp
    name: SUNY New Paltz
format:
  apaquarto-pdf:
    documentmode: stu
    course: "BUS461-01: Business Analytics Capstone"
    professor: Professor Tao Li
    duedate: May 14, 2024
    draftfirst: true
    suppress-short-title: true
    suppress-author-note: true
lang: en
language: 
  title-block-correspondence-note: ~
execute:
  echo: true
  freeze: true
---

Can you please let me know if I'm doing anything wrong or if you need more information? I appreciate it!

wjschne commented 5 months ago

I am not sure what the problem might be. It is working well on my machine. Perhaps, at least once, you need to set freeze: false? Also, I have noticed lately that my pdf viewer does not always refresh automatically. Try refreshing it manually (or try closing and reopening RStudio). If neither of those solutions works, I am happy to meet over Zoom to see what else might be going on.

baker-jr-john commented 5 months ago

Unfortunately, neither of those solutions worked. I would gladly meet with you over Zoom to resolve this!

wjschne commented 5 months ago

No problem. Send some times you have available to schneider@temple.edu, and I will pick one.

baker-jr-john commented 5 months ago

Please don't worry about how to suppress the page number on the first page. I thought that was part of APA guidelines, but I was mistaken. I'm excited to meet with you to sort through the other issues.

wjschne commented 5 months ago

Problem fixed in consultation meeting.