update template
This commit is contained in:
@@ -8,23 +8,32 @@ format:
|
||||
css: _extensions/inst/css/style.css
|
||||
docx:
|
||||
reference-doc: _extensions/inst/word/MS.docx
|
||||
elsevier-pdf:
|
||||
classoption: [nopreprintline]
|
||||
revision: true
|
||||
keep-tex: true
|
||||
latex-clean: false
|
||||
include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
|
||||
pdf:
|
||||
# documentclass: article
|
||||
latex-clean: false # to keep aux
|
||||
citecolor: blue
|
||||
colorlinks: true
|
||||
number-sections: false
|
||||
sansfont: "Gill Sans"
|
||||
papersize: a4paper
|
||||
sansfontoptions:
|
||||
- Color=39729E
|
||||
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
|
||||
keep-md: false
|
||||
include-in-header: "./_extensions/inst/tex/header.tex"
|
||||
header-includes:
|
||||
- \let\oldsection\section
|
||||
- \renewcommand{\section}{\clearpage\oldsection}
|
||||
# - \usepackage{threeparttable}
|
||||
# - \usepackage{fontspec}
|
||||
# - \usepackage[nomarkers]{endfloat}
|
||||
- \usepackage[normalem]{ulem}
|
||||
- \renewcommand{\thetable}{S\arabic{table}}
|
||||
- \renewcommand{\thefigure}{S\arabic{figure}}
|
||||
- \renewcommand{\theequation}{S\arabic{equation}}
|
||||
- \setmainfont{Calibri}
|
||||
# - \usepackage{endfloat}
|
||||
# - \setmainfont{Calibri}
|
||||
# - \usepackage[UTF8, scheme=plain]{ctex}
|
||||
# - \usepackage{float}
|
||||
- \usepackage{float}
|
||||
- \usepackage[normalem]{ulem}
|
||||
- \usepackage[doublespacing]{setspace}
|
||||
- \usepackage{lineno}
|
||||
@@ -32,9 +41,11 @@ format:
|
||||
filters:
|
||||
- latex-environment
|
||||
- authors-block
|
||||
lightbox: auto
|
||||
commands: [clab]
|
||||
---
|
||||
|
||||
|
||||
```{r}
|
||||
#| label: setup
|
||||
#| include: false
|
||||
@@ -47,7 +58,7 @@ require(lubridate)
|
||||
require(patchwork)
|
||||
require(drwateR)
|
||||
rmdify::rmd_init()
|
||||
biburl <- "http://drwater.rcees.ac.cn/datapool/public/BB/Ref.bib"
|
||||
biburl <- "https://drc.drwater.net/datapool/public/BB/Ref.bib"
|
||||
if (!isRendering) { download.file(biburl, destfile = "Ref.bib") }
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user