Repository navigation
apaquarto 7.0.1
A fix release for 7.0.0, chiefly for #171: in 7.0.0 a figure whose note was too long for the rest of its page could have the end of the note silently cut off in the .pdf. This release fixes that, and brings the spacing around figures, tables and headings into line with the APA manual in every format.
Before you upgrade
Nothing in a document's YAML has to change, but pages will lay out differently, so re-check page-sensitive documents:
- A blank line around every figure and table. Outside journal mode, a figure or table now stands a double-spaced blank line clear of the text above and below it, in .pdf, typst, .docx and .html alike, as APA asks: "If text appears on the same page as a table or figure, add a double-spaced blank line between the text and the table or figure."
- No blank line above .pdf headings. A heading in the .pdf used to have an extra blank line above it. It now takes one line in the text's spacing, as in typst and as APA asks.
- .pdf figures are no longer
[H]floats in a manuscript (floatsintext, the default). They are set in the text flow, which is what lets a long note continue on the next page. A figure left to float (floatsintext: false, or journal mode) is unchanged. - .pdf tables sit flush left, and their notes sit closer. A markdown table is no longer centred, and its note is on the line under the table rather than a line and a half below it.
- A custom Word reference document keeps its own styles. The new .docx spacing lives in apaquarto's reference document (the
FigureTitle,FigureNote,FigureWithoutNoteandAfterWithoutNotestyles), so copy those settings across if you use your own.
Fixes
- Long figure notes are no longer cut off (#171), in .pdf and typst. A figure, its title and caption, and the first lines of its note stay together; a note too long for the page continues on the next one. A short note near the foot of a page still never separates from its figure: the figure moves to the next page whole.
- Short tables are no longer broken across pages in the .pdf. A markdown or
knitr::kabletable of up to 15 rows moves to the next page whole with its title, where 7.0.0 could break it after the first row. Longer tables, and tables from flextable or kableExtra, break across pages as before. - typst figure notes stay with their figures. A note given on a markdown image or a code chunk is written inside the figure, so a page break can't separate them.
- Dissertations:
- typst is double spaced at 24pt, with block quotations and reference entries single spaced at 14pt, matching the .pdf (it was 26pt and 16pt);
- a block quotation in the .pdf stands a double space from the text above and below it;
- a block quotation in .docx is no longer indented on the right.
Installing
quarto add wjschne/apaquartoTo pin this version instead of following the latest:
quarto add wjschne/apaquarto@v7.0.1The full changelog, including earlier versions, is at
https://wjschne.github.io/apaquarto/changelog.html.