Files
su2026rwep/MS/SM.qmd
T
2024-10-29 16:17:04 +08:00

88 lines
2.0 KiB
Plaintext

---
msname: MS
smname: SM
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
csl: _extensions/inst/tex/elsevier-harvard.csl
format:
elsevier-html:
css: _extensions/inst/css/style.css
docx:
reference-doc: _extensions/inst/word/MS.docx
elsevier-pdf:
classoption: [nopreprintline]
revision: true
keep-tex: true
latex-clean: false
include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
header-includes:
# - \usepackage{threeparttable}
# - \usepackage{fontspec}
# - \usepackage[nomarkers]{endfloat}
- \usepackage[normalem]{ulem}
- \renewcommand{\thetable}{S\arabic{table}}
- \renewcommand{\thefigure}{S\arabic{figure}}
- \renewcommand{\theequation}{S\arabic{equation}}
- \setmainfont{Calibri}
# - \usepackage[UTF8, scheme=plain]{ctex}
# - \usepackage{float}
- \usepackage[normalem]{ulem}
- \usepackage[doublespacing]{setspace}
- \usepackage{lineno}
- \linenumbers
filters:
- latex-environment
- authors-block
commands: [clab]
---
```{r}
#| label: setup
#| include: false
#| cache: false
lang <- "en"
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf # nolint
isRendering <- isTRUE(getOption("knitr.in.progress"))
require(tidyverse)
require(lubridate)
require(patchwork)
require(drwateR)
rmdify::rmd_init()
biburl <- "http://drwater.rcees.ac.cn/cloud/s/ref_ming/download/Ref.bib"
if (!isRendering) { download.file(biburl, destfile = "Ref.bib") }
```
# Supplementary Material {-}
Figures and/or tables are provided below as the supplementary evidences to the main text.
\pagebreak
::: {#sfg-demofigure}
```{r}
#| out-width: 60%
#| lightbox:
#| group: all
if (!isRendering) {
mtcars |>
ggplot(aes(x = wt, y = mpg)) +
geom_point() +
labs(x = "Weight", y = "Miles per Gallon") +
dwfun::theme_sci(3, 3)
ggsavep("../figures/demofigure.pdf", loadit = FALSE)
} # End of isrendering
ggsavep("../figures/demofigure.pdf", loadit = TRUE)
```
"This is demo figure in supplementary material"
:::