update template to adapt new drwater extensions

This commit is contained in:
2025-07-28 21:09:10 +08:00
parent e3a53e3177
commit c419bb7fda
64 changed files with 714 additions and 44873 deletions
+8 -65
View File
@@ -8,79 +8,22 @@ smname: SM
highlights: ""
date: ""
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
# csl: https://www.zotero.org/styles/elsevier-harvard
csl: ./_extensions/inst/tex/american-chemical-society.csl
# csl: ./_extensions/inst/tex/nature.csl
csl: _extensions/drwater/dwinst/nature.csl
# titlegraphical: "../figures/GA.pdf"
format:
elsevier-html:
toc: true
css: _extensions/inst/css/style.css
keep-md: true
epub: default
docx:
reference-doc: _extensions/inst/word/MS.docx
pdf:
# documentclass: article
latex-clean: false # to keep aux
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
dwms-html: default
dwms-docx: default
dwms-pdf:
fontsize: 12pt
keep-md: false
include-in-header: "./_extensions/inst/tex/header.tex"
keep-tex: true
header-includes:
# - \usepackage{threeparttable}
# - \usepackage{fontspec}
# - \usepackage{endfloat}
# - \usepackage[UTF8, scheme=plain]{ctex}
- \usepackage{float}
- \usepackage[normalem]{ulem}
- \usepackage[doublespacing]{setspace}
- \usepackage{lineno}
- \usepackage{endfloat}
- \doublespacing
- \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: "![](../figures/GA.pdf)"
# # highlights:
filters:
- latex-environment
- authors-block
lightbox: auto
commands: [clab]
- authoraffil
---