-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathwriting.qmd
589 lines (400 loc) · 24.8 KB
/
writing.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
---
title: "APA Style via Markdown"
format:
html:
fig-cap-location: top
citeproc: false
anchor-sections: false
link-external-icon: false
link-external-newwindow: false
# code-annotations: hover
filters:
- at: post-render
path: _extensions/apaquarto/apacaption.lua
- at: post-render
path: _extensions/apaquarto/apaextractfigure.lua
- at: post-render
path: _extensions/apaquarto/apanote.lua
- at: post-render
path: _extensions/apaquarto/apafloat.lua
- at: post-render
path: _extensions/apaquarto/apafloat.lua
- at: post-render
path: _extensions/apaquarto/citeprocr.lua
- at: post-render
path: _extensions/apaquarto/apaandcite.lua
knitr:
opts_chunk:
dev: ragg_png
editor: source
csl: apa.csl
lightbox: true
---
```{css, echo=FALSE}
.FigureTitle {color:black; font-weight: bold; font-size: 12pt; text-align: left}
.Caption {color:black; font-style: italic; font-size: 12pt; text-align: left}
.FigureNote p {color:black; text-indent: 0; margin: 0; padding: 0; font-size: 11pt}
.quarto-float, .quarto-float-tbl, .figure {margin: 0; margin-block-start: 0; margin-block-end: 0; margin-block-start: 0; margin-inline-start: 0; margin-inline-end: 0}
.table {
border-top: 1px solid black;
border-bottom: 1px solid black;
}
.table>thead {
border-bottom: 1px solid black;
}
.table>:not(caption)>*>* {
border-bottom: none;
}
#austin .sourceCode {text-wrap: wrap;}
.quarto-float, .quarto-float-tbl, .figure {margin: 0; margin-block-start: 0; margin-block-end: 0; margin-block-start: 0; margin-inline-start: 0; margin-inline-end: 0;}
.quarto-figure-center>figure>p, .quarto-figure-center>figure>div {text-align: left;}
.apa {font-family: Times, "Times New Roman", serif; line-height: 2em; font-size: 12pt}
.apa p {text-indent: 0.5in; margin: 0; line-height: 2em; padding: 0; margin-block-start: 0px; margin-block-end: 0px;}
.apa h1, .apa h2, .apa h3, .apa h4, .apa h5, .apa .h1, .apa .h2, .apa .h3, .apa .h4, .apa .h5 {
font-size: 12pt;
border: none;
padding: 0;
margin: 0;
border: none;
line-height: 2;
text-indent: 0;
font-weight: bold;
color: black;
opacity: 100%;
}
.apa h1 {text-align: center;}
.apa h3 {font-style: italic}
.apa h4, .apa h5 {
text-indent: 0.5in;
display:inline-block;
margin: 0;
margin-block-start: 0px;
margin-block-end: 0px;
}
.apa h5 {
font-style: italic;
font-weight: normal;
}
.apa h4 + p, .apa h5 + p {
display:inline;
text-indent: 0;
}
```
```{r}
#| include: false
#| label: setup
library(tidyverse)
library(flextable)
```
(Under Construction)
A good place to start learning about writing Quarto documents is [here](https://quarto.org/docs/get-started/authoring/rstudio.html). I will cover material needed to use apaquarto to write an APA Style document in Markdown text.
[Markdown](https://daringfireball.net/projects/markdown/) makes writing in a consistent style straightforward and easy. Its plain-text format was designed to be easy to read and easy to write, yet also flexible and specific enough that it could be converted automatically into fully formatted documents.
If you are used to writing with a word processor (e.g., MS Word, Google Docs), it might feel disconcerting to not see what the document will look like as you type. This feeling will pass, and the benefits of typing in a plain-text format will become evident. While writing in APA style, the plain-text Markdown approach prevents the introduction of many inconsistencies and makes it much easier to spot and fix any inconsistencies that are already present.
# Create a Quarto Document
To create an Quarto document in RStudio, in the menu (See @fig-newquarto), click *File → New File → Quarto Document*.
![Create new Quarto docuemnt from the RStudio men](img/newquartodocument.png){#fig-newquarto}
The resulting file can be edited. Here is an annotated example of a short Quarto document:
````{verbatim}
---
title: "My Title" # <1>
author: "W. Joel Schneider" # <1>
---
This is plain text. # <2>
A pair asterisks makes *italics*. # <2>
Two asterisks will **bold** text. # <2>
```{r} # <3>
x <- 5 # <3>
``` # <3>
````
1. The yaml between pairs of three hyphens (`---`) contains "metadata" (information about the document). Yaml
2. Markdown text below the yaml becomes part of the document's content.
3. Anything between pairs of three backticks (```` ``` ````) is code. The r between the curly braces (`{r}`) means to run the code in R rather than some other language (e.g., Python or Julia). In this example, `x <- 5` means "Define a new variable `x` to be equal to 5."
# Basic Styling
A comprehensive guide to Markdown conventions in Quarto is [here](https://quarto.org/docs/authoring/markdown-basics.html). Some highlights:
+---------------+-------------------------------------+-----------------------------------+
| Formatting | Markdown | Rendered Text |
+===============+=====================================+===================================+
| *Italic* | `*An italicized phrase*` | *An italicized phrase*. |
+---------------+-------------------------------------+-----------------------------------+
| **Bold** | `A **bolded** word` | A **bolded** word |
+---------------+-------------------------------------+-----------------------------------+
| ~Subscript~ | `H~2~O` | H~2~O |
+---------------+-------------------------------------+-----------------------------------+
| ^Superscript^ | `21^st^` | 21^st^ |
+---------------+-------------------------------------+-----------------------------------+
| En dash (--) | `6--8 hours of sleep` | 6--8 hours of sleep |
+---------------+-------------------------------------+-----------------------------------+
| Em dash (---) | `It wasn't good---it was the best!` | It wasn't good---it was the best! |
+---------------+-------------------------------------+-----------------------------------+
| Bullet List | ``` | - Item A |
| | * Item A | - Item B |
| | * Item B | - Item C |
| | * Item C | |
| | ``` | |
+---------------+-------------------------------------+-----------------------------------+
| Numeric List | ``` | 1. Item A |
| | 1. Item A | 2. Item B |
| | 2. Item B | 3. Item C |
| | 3. Item C | |
| | ``` | |
+---------------+-------------------------------------+-----------------------------------+
| > Block Quote | ``` markdown | > Short cuts make long delays. |
| | > Short cuts make long delays. | |
| | | --- J.R.R. Tolkien |
| | --- J.R.R. Tolkien | |
| | ``` | |
+---------------+-------------------------------------+-----------------------------------+
# Headings in APA Style
APA Style differentiates between [headings at 5 levels](https://apastyle.apa.org/style-grammar-guidelines/paper-format/headings). All headings should be in title case according to [these rules and exceptions](https://apastyle.apa.org/style-grammar-guidelines/capitalization/title-case).
:::{.column-margin .callout-tip}
Quarto works best when there is *at least one blank line above and below the heading*. If you forget to follow this advice, Quarto will try its best, but it might not parse the document correctly.
:::
In markdown, a heading starts with the `#`, followed by a space, and then the text of the heading. The number of `#`s in a row determines the level of the heading:
``` md
# Level 1 Heading
## Level 2 Heading
### Level 3 Heading
#### Level 4 Heading
##### Level 5 Heading
```
## Level 1 Headings
APA Style reserves a small number of level-1 headings with standard names:
- Method
- Results
- Discussion
- References
- Appendices
There should be no level-1 heading for the introduction. The title acts as the heading for the introduction, and apaquarto places it there automatically.
## Levels 2--5
Readers are better able to follow your ideas if you differentiate long sections in your document with headings. I try limit my writing to just levels 1 and 2, but sometimes level 3 headings are needed. I am sparing to the point of stinginess with levels 4 and 5.
## What Can Follow a Heading
- Anything can follow immediately after headings at levels 1--3, including other headings.
- Headings at levels 4 and 5 must have text paragraphs below them. Why? When rendered, level-4 and level-5 headings appear on the same line as the paragraphs they summarize.
``` md
# Level 1 Heading
This paragraph follows the level-1 heading.
## Level 2 Heading
### This Level-3 Heading Directly Follows the Level-2 Heading.
This paragraph follows the level-3 heading.
#### Level 4 Heading
This paragraph will appear on the same line as the level-4 heading.
Subsequent paragraphs go on their own lines.
##### Level 5 Heading
This paragraph will appear on the same line as the level-5 heading.
Subsequent paragraphs go on their own lines.
```
:::{.apa}
# Level 1 Heading {.unlisted}
This paragraph follows the level-1 heading.
## Level 2 Heading {.unlisted}
### This Level-3 Heading Directly Follows the Level-2 Heading. {.unlisted}
This paragraph follows the level-3 heading.
#### Level 4 Heading. {.unlisted}
This paragraph will appear on the same line as the level-4 heading.
Subsequent paragraphs go on their own lines.
##### Level 5 Heading. {.unlisted}
This paragraph will appear on the same line as the level-5 heading.
Subsequent paragraphs go on their own lines.
:::
## Block Quotes and Suppressing Indentation
Sometimes you want to give a longer quote that needs to go in its own paragraph. Block quotes are on their own line starting with the `>` character. For example, Jane Austen's [-@austenMansfieldPark1990] *Mansfield Park* has some memorable insights about the mind:
:::{#austin}
```{verbatim}
> If any one faculty of our nature may be called more wonderful than the rest, I do think it is memory. There seems something more speakingly incomprehensible in the powers, the failures, the inequalities of memory, than in any other of our intelligences. The memory is sometimes so retentive, so serviceable, so obedient; at others, so bewildered and so weak; and at others again, so tyrannic, so beyond control! We are, to be sure, a miracle every way; but our powers of recollecting and of forgetting do seem peculiarly past finding out. (p. 163)
```
:::
If your quote has multiple paragraphs, like this passage from @brownHowKilledPluto2012, separate them with a lone `>` character between the lines:
``` md
> In the entire field of astronomy, there is no word other than planet that has a precise, lawyerly definition, in which certain criteria are specifically enumerated. Why does planet have such a definition but star, galaxy, and giant molecular cloud do not? Because in astronomy, as in most sciences, scientists work by concepts rather than by definitions. The concept of a star is clear; a star is a collection of gas with fusion reactions in the interior giving off energy. A galaxy is a large, bound collection of stars. A giant molecular cloud is a giant cloud of molecules. The concept of a planet—in the eight-planet solar system—is equally simple to state. A planet is a one of a small number of bodies that dominate a planetary system. That is a concept, not a definition. How would you write that down in a precise definition?
>
> I wouldn’t. Once you write down a definition with lawyerly precision, you get the lawyers involved in deciding whether or not your objects are planets. Astronomers work in concepts. We rarely call in the attorneys for adjudication. (p. 242)
```
If the text after a quote is a new paragraph, you can create it in the usual fashion (i.e., plain text with an empty line between the block text and the new paragraph). However, if the text after a quote is part of the same paragraph, you can suppress the indentation by creating a div with the .NoIndent class. As an example:
``` md
Initial paragraph
> Block quote paragraph
:::{.NoIndent}
Because this sentence continues the intial paragraph,
the indentation is suppresed.
:::
```
# Figures
Plots for figures can be created via code chunks. A pre-existing figure can be imported directly via markdown.
## Figures in Code Chunks
[Code chunk](https://quarto.org/docs/computations/r.html) (also known as *code blocks*) are special sections of a Quarto document that run code. Quarto supports many programming languages, but I will focus on R.
An empty code chunk looks like this:
::: {.sourceCode .cell-code}
```{=html}
<pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown">```{r}<br><br>```</code></pre>
```
:::
::: column-margin
Those are not single quotes (`'`) that fence in the code chunk. Those are backticks (<code>\`</code>), which are usually above the Tab key on most keyboards in the US.
![Keyboard with backtick hightlighted](img/keyboardwithbacktick.jpeg){#fig-key}
:::
Directly typing the three backticks and the curly braces needed for a code chunk can be tedious. In RStudio, use the keyboard shortcut {{< kbd win=Ctrl-Alt-I mac=Cmd+Option+I >}} to create chunks. If keyboard shortcuts are hard to remember, there is a green button with a white "C" in RStudio's toolbar that creates code chunks. ![Insert Code Chunk Button](img/insertchunk.png){style="margin:0!important;height:30px"}
At a minimum, an APA-Style figure needs a unique label with the `fig-` prefix, a caption in [title case](https://apastyle.apa.org/style-grammar-guidelines/capitalization/title-case) specified with `fig-cap`, and code for the plot.
```{r}
#| echo: fenced
#| label: fig-myplot
#| fig-cap: This Is the Figure Caption.
library(tidyverse)
tibble(x = seq(0, 8, .01),
y = dlnorm(x)) %>%
ggplot(aes(x,y)) +
geom_area(fill = "royalblue", alpha = .5)
```
[Code chunk options](https://quarto.org/docs/computations/r.html#chunk-options) like `label` and and `fig-cap` options are preceded by `#|`. They tell Quarto about how to run the code and present it the document.
## Notes below Figures and Tables
You can add a note below a figure or table with the chunk option `apa-note`. The note can have markdown formatting (e.g, bolding and italics).
```{r}
#| echo: fenced
#| label: fig-myplot2
#| fig-cap: This Is the Figure Caption.
#| apa-note: This is the note below the figure.
library(tidyverse)
tibble(x = seq(0, 1, .001),
y = dbeta(x,8,2)) %>%
ggplot(aes(x,y)) +
geom_area(fill = "royalblue", alpha = .5)
```
## Importing Figures with Markdown
Comprehensive details on importing and formatting figures with Markdown is [here](https://quarto.org/docs/authoring/figures.html).
The Markdown syntax for creating a figure is
`![caption](file){#fig-label}`
For example,
`![My Caption](myimage.png){#fig-myimage}`
Note that in this context the figure label must start with `#fig-`. Additional information can be inserted into the curly braces. Some common options:
- `fig-alt` An accessible description of the image. It is usually not immediately visible, but it is available to a screen reader.
- `width` Image width
- `apa-note` A note below the figure
For example, in the same same folder as my Quarto document, there is an image file `sampleimage.png`. We can display this image like so:
``` markdown
![A Simple Mediation Model](sampleimage.png){
#fig-myimportedimage
width="5in"
fig-alt="A mediation model in which A causes B, and B causes C."
apa-note="Variable A indirectly causes Variable C."
}
```
![A Simple Mediation Model](sampleimage.png){#fig-myimportedimage width="5in" fig-alt="A path diagram in which A causes B, and B causes C." apa-note="Variable A indirectly causes Variable C."}
## Figure References
In APA style, we often refer to specific tables and figures by their order in the text (e.g., Figure 2, Table 4). Keeping track of which is which is a pain, especially if you decide to reorder them. In Quarto documents, we instead refer to their labels, which are converted to the right numbers later. To refer to the figure created by the code above, we would type `@fig-myplot`, which will be converted to @fig-myplot.
# Tables
As with figures, we can create tables in code chunks or make them directly with Markdown.
# Tables in Code Chunks
The chunk label must begin with `tbl-` instead of `fig-`. The caption is set with `tbl-cap`. I like making tables with [flextable](https://ardata-fr.github.io/flextable-book/) because it ports to to the .docx format without hassle.
```{r}
#| echo: fenced
#| label: tbl-mytable
#| tbl-cap: My Table
#| ft.align: left
#| apa-note: A note below table
library(tidyverse)
library(flextable)
tibble(Letters = c("A", "B", "C"),
Numbers = 1:3) %>%
flextable() %>%
theme_apa()
```
## Tables Made Directly with Markdown
You can create tables with Markdown in several ways. See [here](https://quarto.org/docs/authoring/tables.html#markdown-tables) for details. If you need to make a more complex table in Markdown, I suggest using [RStudio's visual editor](https://quarto.org/docs/visual-editor/content.html#editing-tables). Here is an example of a simple table:
``` markdown
| Letters | Numbers |
|:-------:|:-------:|
| A | 1 |
| B | 2 |
| C | 3 |
: My Caption {#tbl-mytable2 apa-note="Note below table" data-quarto-disable-processing="true"}
```
| Letters | Numbers |
|:-------:|:-------:|
| A | 1 |
| B | 2 |
| C | 3 |
: My Caption {#tbl-mytable2 apa-note="Note below table"}
# Tables and Figures Spanning Two Columns in Journal Mode (.pdf)
When creating tables and figures in journal mode, care must be taken not to make figures and tables wider than the columns, otherwise \LaTeX sometimes makes them disappear (and sometimes takes large swaths of text with it).
You can make figures and tables span the two columns by setting the `apa-twocolumn` chunk option to `true`. This will only affect .pdf documents when in journal mode (i.e., `documentmode: jou`).
```{r}
#| echo: fenced
#| label: fig-myplot3
#| fig-cap: A Figure that Will Span Two Columns in Journal Mode
#| apa-twocolumn: true
library(tidyverse)
tibble(x = seq(0, 1, .001),
y = dbeta(x,2,8)) %>%
ggplot(aes(x,y)) +
geom_area(fill = "royalblue", alpha = .5)
```
# Citations
See [here](https://quarto.org/docs/authoring/footnotes-and-citations.html) for instructions on setting up citations and references.
I recommend managing your citations in [Zotero](https://www.zotero.org/) and exporting them to a file automatically using the [BetterBibTex addon](https://retorque.re/zotero-better-bibtex/). [Installation instructions](https://retorque.re/zotero-better-bibtex/installation/).
The `apa.csl` file is already included in apaquarto so there is no need to supply a reference to it in your metadata.
## Parenthetical Citations
A parenthetical citation uses the reference label in square brackets and starts with `@` like so:
`A sentence that needs a citation [@CameronTrivedi2013].`
A sentence that needs a citation [@CameronTrivedi2013].
### With Multiple Citations
2 or more citations are separated by a semicolon: `[@CameronTrivedi2013; @cohen2003applied]` becomes [@CameronTrivedi2013; @cohen2003applied].
### With Page Numbers
Page references (or any other suffixes) are placed after the reference. If you want a comma, you'll need to insert it yourself: `[@CameronTrivedi2013, pp. 35--41]` becomes [@CameronTrivedi2013, pp. 35--41].
### With Prefixes
- Prefixes (with or without a comma) are placed before the reference: `[e.g., @CameronTrivedi2013]` becomes [e.g., @CameronTrivedi2013].
- If you need a prefix at the beginning of 2 or more citations, you will have rearrange the citations so that the prefix accompanies the citation that is first alphabetically [e.g., @CameronTrivedi2013; @cohen2003applied]. That is, `[e.g., @CameronTrivedi2013; @cohen2003applied]`, not `[e.g., @cohen2003applied; @CameronTrivedi2013]`.
- Any prefixes or suffixes needing a literal semicolon will confuse Quarto (actually Pandoc). To make it clear that you need to print a semicolon, put a backslash before the semicolon: `First Outer Inner Last [FOIL\;@CameronTrivedi2013]` becomes First Outer Inner Last [FOIL\; @CameronTrivedi2013].
::: callout-warning
This "escaped backslash in front of the semicolon trick" is a hack. When you switch to Visual Mode in RStudio, it thinks you made a mistake, and it removes the backslash. If the citation above looks wrong, it is because I forgot to fix it after switching to visual mode and back. I reported this bug to the developers of RStudio. I hope the bug will be fixed soon.
:::
## In-Text Citations
Typically, a plain citation works without any fuss:
`@CameronTrivedi2013 said some interesting things.`
@CameronTrivedi2013 said some interesting things.
::: callout-warning
Outside of apaquarto, a limitation of the `.csl` format requires a special filter to change the separator for multiple authors from `&` to`and`. If you render your document in a different format, `@CameronTrivedi2013` will be "Cameron & Trivedi (2013)."
:::
### With Page Numbers
If you need to include page references, use square brackets afterwards:
`@CameronTrivedi2013 [pp. 101--103] said some interesting things.`
@CameronTrivedi2013 [pp. 101--103] said some interesting things.
### Possessive Citations
An experimental feature of apaquarto is automatic "possessive citations." `@CameronTrivedi2013 ['s] position` becomes @CameronTrivedi2013 ['s] position.
If you render your document in another format, you would need to supply the name in text like this: `Cameron and Trivedi's [-@CameronTrivedi2013] position`, which becomes Cameron and Trivedi's [-@CameronTrivedi2013] position. This works because putting a hyphen before the reference `[-@CameronTrivedi2013]` becomes [-@CameronTrivedi2013].
## Citations for Articles Included in a Meta-Analysis
In a meta-analysis, all studies included in the meta-analysis should appear in the References section but ordinarily should not be cited in the text. Quarto allows references not cited in the text to appear in the References section when they are listed in the the `nocite` field in the metadata. All articles listed in the `nocite` field will be marked with an asterisk in the References section.
``` yaml
nocite: |
@schneider2015intelligence, @schneider2012cattell
```
If marking `nocite` studies with asterisk is unwanted, set the `meta-analysis` field to `false`,
``` yaml
meta-analysis: false
nocite: |
@schneider2015intelligence, @schneider2012cattell
```
## Masked Citations for Anonymous Peer Review
Suppose you want to cite a previous reference of yours, but your anonymity is supposed to be protected in the review process. You can "mask" any citation you wish by setting the `mask` field in the metadata yaml to `true`. Then list all citations that need to be masked in the `masked-citations` field like so:
``` yaml
mask: true
masked-citations:
- schneider2015intelligence
- schneider2012cattell
```
If the `mask` field is set to `false`, the masked citations will print as usual. When `mast` is `true`, depending if they are an inline or parenthetical citations, they will be listed as "Masked Citations (n.d)" or "(Masked Citations, n.d)". In parenthical citations, it is possible to mix masked and unmasked citations.
Setting `mask` to `true` will also remove the authors, affiliations, and author notes from the title page.
# Appendices
If there is just just one appendix, put a level-1 header called `Appendix` after the references:
``` markdown
# Appendix
Text in appendix
```
If there are multiple appendices, begin each with level-1 headers, called `Appendix A`, `Appendix B`, `Appendix C`, and so forth. You can place titles of appendices as level-1 headers.
``` markdown
# Appendix A
# Title of Appendix A
Text in Appendix A
# Appendix B
# Title of Appendix B
Text in Appendix B
```
# References