Files
su2026rwep/MS/SM.qmd
T
2025-06-08 16:32:42 +08:00

114 lines
2.5 KiB
Plaintext

---
msname: MS
smname: SM
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
# csl: _extensions/inst/tex/elsevier-harvard.csl
# csl: ./_extensions/inst/tex/american-chemical-society.csl
csl: ./_extensions/inst/tex/nature.csl
subtitle: "Supplementary Information"
date: ""
format:
elsevier-html:
css: _extensions/inst/css/style.css
docx:
reference-doc: _extensions/inst/word/MS.docx
pdf:
# documentclass: article
latex-clean: false # to keep aux
# toc: true
# toc-location: body
citecolor: blue
colorlinks: true
number-sections: false
sansfont: "Gill Sans"
papersize: a4paper
sansfontoptions:
# - Color=39729E
- Color=2A303B
mainfont: "Source Sans 3" #| Verdana (fontsize: 11pt) # Source Sans 3 | Times New Roman| Helvetica | PT Sans
monofont: "JetBrains Mono"
mathfont: "Cambria Math"
CJKmainfont: SimHei
fontsize: 11pt
keep-md: false
keep-tex: true
include-in-header: "./_extensions/inst/tex/header.tex"
header-includes:
- \let\oldsection\section
- \renewcommand{\section}{\clearpage\oldsection}
- \let\oldsubsection\subsection
- \renewcommand{\subsection}{\clearpage\oldsubsection}
# - \renewcommand{\thepage}{S\arabic{page}}
# - \usepackage{threeparttable}
# - \usepackage{fontspec}
# - \usepackage{endfloat}
# - \setmainfont{Calibri}
# - \usepackage[UTF8, scheme=plain]{ctex}
- \usepackage{float}
- \usepackage[normalem]{ulem}
- \usepackage[doublespacing]{setspace}
# - \usepackage{lineno}
# - \linenumbers
filters:
- latex-environment
- authors-block
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.
{{< pagebreak >}}
```{=latex}
\clearpage
{
\hypersetup{linkcolor=black}
\setcounter{tocdepth}{3}
\tableofcontents
}
```
{{< pagebreak >}}
::: {#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
:::