Skip to content

Commit

Permalink
clarify and fix some typos in article-layout.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
yyzeng authored Oct 6, 2023
1 parent 875fdc7 commit f3a2734
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/authoring/article-layout.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ knitr::kable(

### Multiple Outputs

You can also target specific output types (for example, figures) to be placed in the margin. For example, the following code will render a table summarizing the `mtcars` dataset and render a lot of the data in the margin next to the table.
You can also target specific output types (for example, figures) to be placed in the margin. For example, the following code will render a table showing part of the `mtcars` dataset and produce a plot in the margin next to the table.

```{r}
#| fig-column: margin
Expand Down Expand Up @@ -249,7 +249,7 @@ With these options set, footnotes and citations will (respectively) be automatic
Asides allow you to place content aside from the content it is placed in. Asides look like footnotes, but do not include the footnote mark (the superscript number). [This is a span that has the class `aside` which places it in the margin without a footnote number.]{.aside}

``` markdown
[This is a span that has the class aside which places it in the margin without a footnote number.]{.aside}
[This is a span that has the class `aside` which places it in the margin without a footnote number.]{.aside}
```

## Margin Captions
Expand Down Expand Up @@ -347,13 +347,13 @@ All of the below options currently only support setting a value of `margin` whic
+----------------------+---------------------------------------------------------------------------------------------------------+
| Option | Description |
+======================+=========================================================================================================+
| `reference-location` | Where to place footnotes. Defaults to `document.`\ |
| `reference-location` | Where to place footnotes. Defaults to `document`.\ |
| | \[`document` \| `section` \| `block` \| `margin` \] |
+----------------------+---------------------------------------------------------------------------------------------------------+
| `citation-location` | Where to place citations. Defaults to `document`.\ |
| | \[`document` \| `margin` \] |
+----------------------+---------------------------------------------------------------------------------------------------------+
| `cap-location` | Where to place figure and table captions. Defaults to `` `bottom` `` for figures and `top` for tables.\ |
| `cap-location` | Where to place figure and table captions. Defaults to `bottom` for figures and `top` for tables.\ |
| | \[`top` \| `bottom` \| `margin`\] |
+----------------------+---------------------------------------------------------------------------------------------------------+
| `fig-cap-location` | Where to place figure captions. Defaults to `bottom`.\ |
Expand Down Expand Up @@ -438,7 +438,7 @@ Here are all of the available column specifiers:

While most of the layout capabilities described are supported for both HTML and PDF output, some are available only for HTML output. You can use the full set of columns for HTML. Then, when you render PDF or LaTeX output, content will automatically be placed in the most appropriate related column (typically this will mean using the main column and right margin). Here is how columns are mapped:

- Any column that uses the right margin (e.g. `page`, `screen`, `screen-right`, etc. will be rendered as `page-right` in LaTeX.
- Any column that uses the right margin (e.g. `page`, `screen`, `screen-right`, etc.) will be rendered as `page-right` in LaTeX.
- Any column that uses the left margin will be rendered as normal body content.

### Page Geometry
Expand Down

0 comments on commit f3a2734

Please sign in to comment.