This commit is contained in:
2025-04-28 23:44:10 +08:00
parent da5b7ef20f
commit 5da805da50
44 changed files with 28969 additions and 37 deletions
+20 -4
View File
@@ -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.