Skip to content

Commit

Permalink
address #3 with option
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherkenny committed Jul 4, 2024
1 parent dab4b71 commit 564b6f2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ format:
- `Numbered`: Numbered reference style, usually used with `journal.cite-style: sn-vancouver`.
- `referee`: double spaced for first submissions
- `lineno`: print line numbers in the margin
- `equal-margins`: set equal margins on even and odd pages

Since `cite-method: citeproc` is the
[default](https://quarto.org/docs/authoring/footnotes-and-citations.html#sec-biblatex),
Expand Down
6 changes: 5 additions & 1 deletion _extensions/nature/partials/doc-class.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@
$for(classoption)$
$classoption$$sep$,
$endfor$
]{sn-jnl}
]{sn-jnl}

$if(equal-margins)$
\setlength\evensidemargin{\oddsidemargin}
$endif$
Binary file modified template.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ format:
# to use the bst styles from the upstream template.
cite-method: natbib
keep-tex: true
equal-margins: false
author:
- name: Author One
affiliations:
Expand Down Expand Up @@ -106,3 +107,7 @@ row 3 & data 7 & data 8 & data 9\footnotemark[2] \\
<!-- the pattern below controls the placement of the references -->
:::{#refs}
:::

# Appendix {.appendix}

{{< lipsum 5 >}}

0 comments on commit 564b6f2

Please sign in to comment.