最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rstudio - Text not aligning when compiling: xelatex and R markdown - Stack Overflow

programmeradmin0浏览0评论

I am using R markdown to create a CV. I use the vitae package and the following template. The problem I am facing is that when compiling with R Studio, I have a jump in one of the lines (see below).

I have tried code below

---
name: 
position: 
address: 
email: 
orcid: 
researchgate: 
googlescholar: 
linkedin: 
bluesky: 
github: 
headcolor: 1A66FF
date: "`r format(Sys.time(), '%B %Y')`"
output: 
  vitae::awesomecv:
    keep_tex: false
    show_footer: true
    includes:
      in_header: header.txt
  pdf_document:
     latex_engine: xelatex
always_allow_html: yes
editor_options: 
  chunk_output_type: console
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(vitae)
library(ggplot2)
library(dplyr)
library(ggrepel)
library(emojifont)
library(fontawesome)
library(kableExtra)
library(huxtable)
library(gridExtra)
```

\faIcon{university} Education
============================
tribble(
  ~Degree, ~Institution, ~Where, ~Year, ~Description,
  "PhD Student", "Stockholm Resilience Centre, Stockholm University", "Stockholm, Sweden", "09/2021 - present", "Research on sustainability and resilience."
) %>%
  detailed_entries(
  what = Degree, 
  when = Year, 
  with = Institution, 
  where = Where, 
  why = Description,
  .protect = FALSE
) ```
`

发布评论

评论列表(0)

  1. 暂无评论