update
This commit is contained in:
@@ -15,7 +15,19 @@ format:
|
||||
toc: true
|
||||
css: _extensions/inst/css/style.css
|
||||
keep-md: true
|
||||
epub: default
|
||||
# epub: default
|
||||
# nature-pdf:
|
||||
# # journal.cite-style is included in the tex file but ignored by pandoc if
|
||||
# # cite-method is not `natbib`.
|
||||
# journal:
|
||||
# cite-style: sn-nature
|
||||
# # `citeproc` is the pandoc default. Set `cite-method: natbib` if required
|
||||
# # to use the bst styles from the upstream template.
|
||||
# cite-method: natbib
|
||||
# keep-tex: true
|
||||
# equal-margins: false
|
||||
# acs-pdf:
|
||||
# keep-tex: true
|
||||
docx:
|
||||
reference-doc: _extensions/inst/word/MS.docx
|
||||
pdf:
|
||||
@@ -68,11 +80,10 @@ editor:
|
||||
|
||||
|
||||
```{r}
|
||||
#| label: setup
|
||||
#| include: false
|
||||
#| cache: false
|
||||
lang <- "en"
|
||||
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf # nolint
|
||||
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf # nolint
|
||||
isRendering <- isTRUE(getOption("knitr.in.progress"))
|
||||
require(tidyverse)
|
||||
require(lubridate)
|
||||
@@ -80,7 +91,9 @@ require(patchwork)
|
||||
require(drwateR)
|
||||
rmdify::rmd_init()
|
||||
biburl <- "https://drc.drwater.net/datapool/public/BB/Ref.bib"
|
||||
if (!isRendering) { download.file(biburl, destfile = "Ref.bib") }
|
||||
if (!isRendering) {
|
||||
download.file(biburl, destfile = "Ref.bib")
|
||||
}
|
||||
```
|
||||
|
||||
# Introduction
|
||||
@@ -97,6 +110,9 @@ To cite a figure in `SM.qmd`, use this syntax: `r zref("sfg-demofigure")`.
|
||||
|
||||
# Conclusions
|
||||
|
||||
|
||||
<!-- {{< include _acs.qmd >}} -->
|
||||
|
||||
# Acknowledgements {.unnumbered}
|
||||
|
||||
This work was financially supported by the National Natural Science Foundation of China (52030002, 51878649), and Youth Innovation Promotion Association CAS.
|
||||
|
||||
Reference in New Issue
Block a user