--- msname: MS smname: SM bibliography: [../BB/Ref.bib, ../BB/localRef.bib] csl: _extensions/drwater/dwinst/nature.csl subtitle: "Supplementary Information" date: "" format: dwms-html: default dwms-docx: default dwms-pdf: latex-clean: false # to keep aux keep-md: false keep-tex: true header-includes: - \doublespacing - \linenumbers - \let\oldsection\section - \renewcommand{\section}{\clearpage\oldsection} - \let\oldsubsection\subsection - \renewcommand{\subsection}{\clearpage\oldsubsection} filters: - latex-environment - authoraffil --- \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 :::