我已经使用 R简历包和awesomecv
模板生成了一份简历。
使用的包:
packageVersion("vitae");
#> [1] '0.2.2.9000'
packageVersion("tibble");
#> [1] '3.0.1'
packageVersion("dplyr");
#> [1] '1.0.0'
packageVersion("tinytex")
#> [1] '0.24'
跑步:
R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
下面的简单可重复示例显示了我要修改的内容 - 教育部分,其中包含列表(项目符号)以显示博士学位部分中的项目。
我的目标是修改项目_a和_b的缩进并创建它们是项目_A的子项目的外观。我希望它是一个基于制表符的五个空格的缩进,或者任何类似的创建所需外观的东西(即,它们低于项目_A的级别)。可视化所需的输出(与此类似的任何东西都可以,只要它不需要大量代码/操作乳胶模板本身):
- 项目_A
- 项目_a
- 项目_b
可重现的例子:
---
name: John
surname: Doe
position: ""
address: ""
phone: +44 1234 45687
www: stackoverlow.com
email: "email@gmail.com"
twitter: ""
github: ""
linkedin: ""
date: "`r format(Sys.time(), '%B %Y')`"
aboutme: "Hello world"
output: vitae::awesomecv
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(vitae)
library(tibble)
library(dplyr)
library(tinytex)
```
# Education
```{r education}
tribble(
~ degree, ~ uni, ~ loc, ~ dates, ~ this_is_the_list,
"PhD degree", "My Uni", "Uni Place", "2010 - 2020", "item_A",
"PhD degree", "My Uni", "Uni Place", "2010 - 2020", "item_a",
"PhD degree", "My Uni", "Uni Place", "2010 - 2020", "item_b") %>%
detailed_entries(degree, dates, uni, loc, this_is_the_list)
```
示例输出: