---
msname: MS
smname: SM
isSM: true
# bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
# csl: _extensions/drwater/dwinst/nature.csl
subtitle: "Supplementary Information"
date: ""
keep-tex: true
latex-clean: false # to keep aux
linenumber: true
format:
  dwms-html: default
  dwms-docx: default
  dwms-pdf: 
    toc: false # 手动设置了
filters:
  - latex-environment
  - authoraffil
lightbox: auto
commands: [clab]
---

\thispagestyle{empty}

```{r}
#| include: false
#| cache: false
options(tinytex.clean = FALSE)
lang <- "en"
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf
isRendering <- isTRUE(getOption('knitr.in.progress'))
require(tidyverse)
require(patchwork)
require(drwateR)
rmdify::rmd_init()
```


Figures and/or tables are provided below as the supplementary evidences to the main text.


```{=latex}
\clearpage
{
\hypersetup{linkcolor=black}
\setcounter{tocdepth}{3}
\tableofcontents
}
```

# [@sfg-demo]

[A new supplementary figure.]{.clab options="r2q0101"}

::: {#sfg-demo}

```{r}
#| out-width: "40%"

if (!isRendering) {
  data.frame(x = 1:10, y = 1:10) |>
    ggplot(aes(x, y)) +
    geom_point() +
    theme_sci(3, 2.0)

  ggsavep("../figures/demo.pdf", loadit = FALSE)
}

ggsavep("../figures/demo", loadit = TRUE)
```

Caption of demo figure

:::

