如何在Rmarkdown PDF乳胶引擎中更改字体

时间:2020-08-31 03:26:35

标签: latex r-markdown

我正在使用RMarkdown编织pdflatex文档。我正在寻找一种在pdflatex引擎中更改字体的解决方案。到目前为止,我发现的唯一解决方案需要使用xelatexlualatex引擎。我希望在LaTeX Sans Serif字体目录(https://tug.org/FontCatalogue/sansseriffonts.html)中将字体更改为arev字体

这是我的YAML

---
title: "Manual"
date: "`r format(Sys.time(), '%d %B, %Y')`" 
toc: TRUE             
toc-title: 'Table of Contents'
numbersections: TRUE   
fontsize: 11pt         
linestretch: 2   
link-citations: TRUE   
bibliography: Tex/ref.bib  
csl: Tex/harvard-stellenbosch-university.csl 
header-includes:      
    - \usepackage {hyperref, xcolor, float,graphicx}
    - \usepackage{makeidx}
    - \usepackage[bottom]{footmisc}
    - \usepackage{adjustbox}
    - \definecolor{winered}{rgb}{0.5,0,0}
    - \hypersetup {colorlinks = true, allcolors = winered}
output:
  pdf_document:
    includes:
      in_header: "header.tex" 
---


0 个答案:

没有答案
相关问题