You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-02-20-groff-apa.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,14 @@ The `.RP no` macro is needed for this, but it produces a cover page. Use PDF-edi
110
110
111
111
which works because even though the title (`.TL`) is required, it stops at the abstract (`.AB`, which ends at `.AE`; the `no` argument suppresses the "Abstract" heading).
If instead you want to **not** have any page headers (including page numbering) for reasons such as plagerism report checkers potentially producing errors, disabling automatic page numbering is as easy as defining the central header to be empty:
116
+
117
+
```
118
+
.ds CH
119
+
```
120
+
113
121
# Font <aname=font></a>
114
122
115
123
Many lecturers demand assignments to be submitted in double-spaced Times New Roman in 12 point size. This section covers how to change the font family, size, style, and line spacing.
@@ -239,7 +247,7 @@ And this is what it will look like fixing the issues (lines that are commented o
239
247
. SH
240
248
. ce
241
249
. nop \&\\*[REFERENCES]
242
-
.\" sp
250
+
.\" sp 2
243
251
.\" nr PS 12
244
252
. par@reset
245
253
..
@@ -249,7 +257,7 @@ Below is a list explaining each change made:
249
257
250
258
- To make the heading centered, put `.ce` above where the heading is rendered (`.nop \%\\*[REFERENCES]`).
251
259
- (Optional) `.nr PS 14` above it increases the font size to 14pt, just remember to reset it back to normal (12pt) with `.nr PS 12` after.
252
-
- (Optional) `.sp` adds an extra line of space below it.
260
+
- (Optional) `.sp 2` adds two extra lines of space below the heading.
253
261
254
262
## Space Between Entries <aname=spacebetweenentries></a>
255
263
@@ -395,8 +403,8 @@ This is how it looks like after some changes:
395
403
.ds ref*spec!J ". " " "\fI" "\fP"
396
404
.ds ref*spec!N """ "(" "" ")"
397
405
.ds ref*spec!O ". " "
398
-
.ds ref*spec!P ", " " "p.\~"
399
-
.ds ref*spec!PP ", " " "pp.\~"
406
+
.ds ref*spec!P ", " " "\~"
407
+
.ds ref*spec!PP ", " " "\~"
400
408
.ds ref*spec!T ". " "
401
409
.ds ref*spec!T:0 ". " "
402
410
.ds ref*spec!T:2 ". " "
@@ -411,6 +419,7 @@ The list below details the changes:
411
419
- In both the `.ds ref*spec!T:0` and `.ds ref*spec!T:2` rows, `\fI` in `arg 3` and `\fP` in `arg 5` are removed to not italicise the text and because of redundancy (`\fP` resets font style back to the previous style), respectively.
412
420
- In the `.ds ref*spec!V` row, its `arg 1` is changed from empty (`""`) to a comma (`,`) to add a comma after the journal/periodical field; its `arg 3` is changed from bold-ing (`\fI`) to italicising (`\fB`) the text.
413
421
- All `\fP` in `arg 5` are moved to `arg 4` to make sure the punctuations after each field are not in bold or italics.
422
+
- When numbering pages, APA does not denote with `p.` for single pages or `pp.` for page ranges, so they were removed in their respective rows.
414
423
415
424
### Period Suppression <aname=periodsuppression></a>
0 commit comments