diff --git a/Gemfile.lock b/Gemfile.lock index bf672ce..839777b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -236,9 +236,9 @@ GEM minitest (5.25.5) net-http (0.6.0) uri - nokogiri (1.18.8-x64-mingw-ucrt) + nokogiri (1.18.9-x64-mingw-ucrt) racc (~> 1.4) - nokogiri (1.18.8-x86_64-linux-gnu) + nokogiri (1.18.9-x86_64-linux-gnu) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) @@ -250,7 +250,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.4.1) + rexml (3.4.2) rouge (3.30.0) rubyzip (2.4.1) safe_yaml (1.0.5) diff --git a/_posts/2025-02-20-groff-apa.md b/_posts/2025-02-20-groff-apa.md index 35c482d..fefd20a 100644 --- a/_posts/2025-02-20-groff-apa.md +++ b/_posts/2025-02-20-groff-apa.md @@ -110,6 +110,14 @@ The `.RP no` macro is needed for this, but it produces a cover page. Use PDF-edi 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). +## Suppress Page Headers + +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: + +``` +.ds CH +``` + # Font 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 . SH . ce . nop \&\\*[REFERENCES] -.\" sp +.\" sp 2 .\" nr PS 12 . par@reset .. @@ -249,7 +257,7 @@ Below is a list explaining each change made: - To make the heading centered, put `.ce` above where the heading is rendered (`.nop \%\\*[REFERENCES]`). - (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. -- (Optional) `.sp` adds an extra line of space below it. +- (Optional) `.sp 2` adds two extra lines of space below the heading. ## Space Between Entries @@ -395,8 +403,8 @@ This is how it looks like after some changes: .ds ref*spec!J ". " " "\fI" "\fP" .ds ref*spec!N """ "(" "" ")" .ds ref*spec!O ". " " -.ds ref*spec!P ", " " "p.\~" -.ds ref*spec!PP ", " " "pp.\~" +.ds ref*spec!P ", " " "\~" +.ds ref*spec!PP ", " " "\~" .ds ref*spec!T ". " " .ds ref*spec!T:0 ". " " .ds ref*spec!T:2 ". " " @@ -411,6 +419,7 @@ The list below details the changes: - 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. - 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. - All `\fP` in `arg 5` are moved to `arg 4` to make sure the punctuations after each field are not in bold or italics. +- 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. ### Period Suppression diff --git a/google79ff2fc0ec05eea5.html b/google79ff2fc0ec05eea5.html deleted file mode 100644 index 1d9e257..0000000 --- a/google79ff2fc0ec05eea5.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: google79ff2fc0ec05eea5.html \ No newline at end of file