更新模板

This commit is contained in:
2023-11-08 11:22:22 +08:00
parent f869a9dda7
commit ef86d0125e
96 changed files with 9958 additions and 18 deletions
+1
View File
@@ -0,0 +1 @@
../../_extensions
+77
View File
@@ -0,0 +1,77 @@
---
subtitle: "申请书"
author: "中国科学院生态环境研究中心"
lang: zh
date: today
csl: _extensions/inst/china-national-standard-gb-t-7714-2015-numeric.csl
format:
html:
theme: cosmo
keep-md: true
css: _extensions/inst/style.css
code-link: true
epub: default
pdf:
pdf-engine: xelatex
keep-tex: false
toc-title: 目录
classoption:
- 12pt
- lang=cn
- chinesefont=founder # founder|ctexfont|nofont
- scheme=chinese
- color=blue # blue|green|
- titlestyle=hang
# - twoside
header-includes:
- \usepackage{ctex}
- \linespread{1.5}
docx:
toc: false
highlight-style: github
reference-doc: _extensions/inst/repcn.docx
---
::: {.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}
:::
# 摘要
# 项目背景与国内外现状介绍
# 研究内容与目标
# 研究方案
# 预期目标
# 年度计划
# 经费预算
# 参考文献{-}
+82
View File
@@ -0,0 +1,82 @@
---
subtitle: "申请书"
author: "中国科学院生态环境研究中心"
lang: zh
date: today
csl: _extensions/inst/china-national-standard-gb-t-7714-2015-numeric.csl
format:
html:
theme: cosmo
keep-md: true
css: _extensions/inst/style.css
code-link: true
epub: default
pdf:
pdf-engine: xelatex
keep-tex: false
toc-title: 目录
classoption:
- 12pt
- lang=cn
- chinesefont=founder # founder|ctexfont|nofont
- scheme=chinese
- color=blue # blue|green|
- titlestyle=hang
# - twoside
header-includes:
- \usepackage{ctex}
- \linespread{1.5}
docx:
toc: false
highlight-style: github
reference-doc: _extensions/inst/repcn.docx
---
::: {.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}
#| label: setup
#| include: false
#| cache: false
lang <- "cn"
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf
isRendering <- !isTRUE(getOption('knitr.in.progress'))
require(lubridate)
require(tidyverse)
require(patchwork)
require(drwateR)
require(rmdify)
rmdify::rmd_init()
require(langeR)
require(dateR)
require(uniteR)
require(limvis)
require(sf)
```
# 摘要
# 项目背景与国内外现状介绍
# 研究内容与目标
# 研究方案
# 预期目标
# 年度计划
# 经费预算
# 参考文献{-}
+14 -7
View File
@@ -1,13 +1,20 @@
---
title: "Proposal"
subtitle: "关于...的研究项目"
date: today
subtitle: "申请书"
---
# 研究背景
```{r}
#| include: false
# 研究目的
require(drwateR)
require(rmdify)
rmdify::rmd_init()
```
# 研究内容
```{r}
#| output: asis
dir(".", pattern = "[_-]") |>
purrr::map(~paste0("## [", .x, "](", .x, "/index.qmd)\n\n")) |>
unlist() |>
cat()
# 实施方案
```