update
This commit is contained in:
@@ -1,33 +1,23 @@
|
||||
---
|
||||
msname: MS
|
||||
smname: SM
|
||||
abstract: ABSTRACT
|
||||
keywords:
|
||||
- KEYWORD1
|
||||
- KEYWORD2
|
||||
- KEYWORD3
|
||||
date: last-modified
|
||||
# abstract: ""
|
||||
# keywords:
|
||||
# - KEYWORD1;
|
||||
# date: last-modified
|
||||
highlights: ""
|
||||
date: ""
|
||||
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
|
||||
# csl: https://www.zotero.org/styles/elsevier-harvard
|
||||
csl: _extensions/inst/tex/elsevier-harvard.csl
|
||||
csl: ./_extensions/inst/tex/american-chemical-society.csl
|
||||
# csl: ./_extensions/inst/tex/nature.csl
|
||||
# titlegraphical: "../figures/GA.pdf"
|
||||
format:
|
||||
elsevier-html:
|
||||
toc: true
|
||||
css: _extensions/inst/css/style.css
|
||||
keep-md: true
|
||||
# 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
|
||||
epub: default
|
||||
docx:
|
||||
reference-doc: _extensions/inst/word/MS.docx
|
||||
pdf:
|
||||
@@ -35,11 +25,12 @@ format:
|
||||
latex-clean: false # to keep aux
|
||||
citecolor: blue
|
||||
colorlinks: true
|
||||
number-sections: true
|
||||
number-sections: false
|
||||
sansfont: "Gill Sans"
|
||||
papersize: a4paper
|
||||
sansfontoptions:
|
||||
- Color=39729E
|
||||
# - 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"
|
||||
@@ -48,78 +39,86 @@ format:
|
||||
keep-md: false
|
||||
include-in-header: "./_extensions/inst/tex/header.tex"
|
||||
header-includes:
|
||||
# - \usepackage{threeparttable}
|
||||
# - \usepackage{fontspec}
|
||||
- \usepackage{endfloat}
|
||||
# - \usepackage{endfloat}
|
||||
# - \usepackage[UTF8, scheme=plain]{ctex}
|
||||
- \usepackage{float}
|
||||
- \usepackage[normalem]{ulem}
|
||||
- \usepackage[doublespacing]{setspace}
|
||||
- \usepackage{lineno}
|
||||
- \linenumbers
|
||||
- \usepackage{caption}
|
||||
- \captionsetup{singlelinecheck=off}
|
||||
# elsevier-pdf:
|
||||
# keep-tex: true
|
||||
# keep-md: false
|
||||
# include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
|
||||
# latex-clean: false
|
||||
# header-includes:
|
||||
# # - \usepackage{threeparttable}
|
||||
# # - \usepackage{fontspec}
|
||||
# # - \usepackage{endfloat}
|
||||
# - \setmainfont{Calibri}
|
||||
# - \usepackage[UTF8, scheme=plain]{ctex}
|
||||
# - \usepackage{float}
|
||||
# - \usepackage[normalem]{ulem}
|
||||
# - \usepackage[doublespacing]{setspace}
|
||||
# - \usepackage{lineno}
|
||||
# - \linenumbers
|
||||
# journal:
|
||||
# # - A comprehensive model was contructed to evaluate the risk of odor occurrences
|
||||
# # - Turbidity distribution determine underwater light and MIB-producing *Planktothrix*
|
||||
# # - Increasing flowrate increases turbidity that can control *Planktothrix* and MIB
|
||||
# # - Odor control based on flow regulation in source water is "green" and fundamental
|
||||
# formatting: preprint # preprint | review | doublebind
|
||||
# model: 1p
|
||||
# cite-style: authoryear
|
||||
# # graphical-abstract: ""
|
||||
# # highlights:
|
||||
filters:
|
||||
- latex-environment
|
||||
- authors-block
|
||||
lightbox: auto
|
||||
commands: [clab]
|
||||
editor:
|
||||
markdown:
|
||||
wrap: sentence
|
||||
---
|
||||
|
||||
|
||||
::: {.content-visible when-format="html"}
|
||||
# Color tip {.unnumbered}
|
||||
|
||||
- [Something should be deleted]{.del}
|
||||
- [Something bad]{.bad}
|
||||
- [Something good]{.good}
|
||||
- [Something todo]{.todo}
|
||||
- [Something should be added]{.add}
|
||||
- [I am a comment]{.com}
|
||||
:::
|
||||
|
||||
|
||||
```{r}
|
||||
#| 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)
|
||||
require(patchwork)
|
||||
rmdify::rmd_init()
|
||||
biburl <- "https://drc.drwater.net/datapool/public/BB/Ref.bib"
|
||||
if (!isRendering) {
|
||||
download.file(biburl, destfile = "Ref.bib")
|
||||
}
|
||||
dwfun::init()
|
||||
```
|
||||
|
||||
# Introduction
|
||||
|
||||
Blabla. [Bla blaBla blaBla blaBla blaBla bla Bla bla.]{.clab options=r1q0101}
|
||||
{{< pagebreak >}}
|
||||
|
||||
# Materials and methods
|
||||
|
||||
To cite a figure in `SM.qmd`, use this syntax: `r zref("sfg-demofigure")`.
|
||||
|
||||
# Results
|
||||
|
||||
# Discussion
|
||||
|
||||
# Conclusions
|
||||
# Abstract {-}
|
||||
|
||||
|
||||
<!-- {{< include _acs.qmd >}} -->
|
||||
{{< pagebreak >}}
|
||||
|
||||
# Acknowledgements {.unnumbered}
|
||||
{{< include MS_main.qmd >}}
|
||||
{{< include MS_methods.qmd >}}
|
||||
{{< include MS_results.qmd >}}
|
||||
<!-- {{< include MS_discussion.qmd >}} -->
|
||||
|
||||
This work was financially supported by the National Natural Science Foundation of China (52030002, 51878649), and Youth Innovation Promotion Association CAS.
|
||||
{{< pagebreak >}}
|
||||
|
||||
# References {.unnumbered}
|
||||
<!-- {{< include _est.qmd >}} -->
|
||||
|
||||
```{r}
|
||||
# References {-}
|
||||
|
||||
```
|
||||
::: {#refs}
|
||||
:::
|
||||
|
||||
{{< pagebreak >}}
|
||||
|
||||
<!-- {{< include _nature.qmd >}} -->
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Main
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Methods
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Results
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
---
|
||||
msname: MS
|
||||
smname: SM
|
||||
subtitle: Supplementary Material
|
||||
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
|
||||
csl: _extensions/inst/tex/elsevier-harvard.csl
|
||||
# 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
|
||||
@@ -12,23 +15,30 @@ format:
|
||||
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=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: 12pt
|
||||
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}
|
||||
@@ -37,8 +47,8 @@ format:
|
||||
- \usepackage{float}
|
||||
- \usepackage[normalem]{ulem}
|
||||
- \usepackage[doublespacing]{setspace}
|
||||
- \usepackage{lineno}
|
||||
- \linenumbers
|
||||
# - \usepackage{lineno}
|
||||
# - \linenumbers
|
||||
filters:
|
||||
- latex-environment
|
||||
- authors-block
|
||||
@@ -46,54 +56,58 @@ lightbox: auto
|
||||
commands: [clab]
|
||||
---
|
||||
|
||||
\thispagestyle{empty}
|
||||
|
||||
```{r}
|
||||
#| label: setup
|
||||
#| include: false
|
||||
#| cache: false
|
||||
options(tinytex.clean = FALSE)
|
||||
lang <- "en"
|
||||
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf # nolint
|
||||
isRendering <- isTRUE(getOption("knitr.in.progress"))
|
||||
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf
|
||||
isRendering <- isTRUE(getOption('knitr.in.progress'))
|
||||
require(tidyverse)
|
||||
require(lubridate)
|
||||
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") }
|
||||
```
|
||||
|
||||
# Supplementary Material {-}
|
||||
|
||||
Figures and/or tables are provided below as the supplementary evidences to the main text.
|
||||
|
||||
{{< pagebreak >}}
|
||||
|
||||
\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)
|
||||
|
||||
```{=latex}
|
||||
\clearpage
|
||||
{
|
||||
\hypersetup{linkcolor=black}
|
||||
\setcounter{tocdepth}{3}
|
||||
\tableofcontents
|
||||
}
|
||||
```
|
||||
|
||||
This is demo figure in supplementary material
|
||||
|
||||
{{< 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
|
||||
|
||||
:::
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# Data availability
|
||||
|
||||
The data that support the findings of this study are available upon request.
|
||||
|
||||
# Code availability
|
||||
|
||||
Analysis scripts are available via GitHub at https://git.drwater.net/.
|
||||
|
||||
# Acknowledgements
|
||||
|
||||
This research was financially supported by the National Natural Science Foundation of China (52030002, W2412156, 51878649) and the National Key R&D Program of China (2022YFC3203603).
|
||||
|
||||
# Author contributions
|
||||
|
||||
J.F. led data curation, methodology development, formal analysis, contributed to manuscript writing. editing, while supporting visualisation. M.S. (Corresponding Author) led conceptualization, formal analysis, and visualization while supporting methodology and co-leading manuscript writing and editing. Y.G., Y.A., and T.C. supported methodology and formal analysis. S.H. provided methodological and analytical support. M.Y. (Corresponding Author) co-led conceptualization and project administration, providing supervision and validation.
|
||||
|
||||
# Competing interests
|
||||
|
||||
The authors declare no competing interests.
|
||||
|
||||
# Additional information
|
||||
|
||||
Correspondence and requests for materials should be addressed to Ming Su or Min Yang.
|
||||
Reference in New Issue
Block a user