我正在使用RMarkdown编织pdflatex
文档。我正在寻找一种在pdflatex
引擎中更改字体的解决方案。到目前为止,我发现的唯一解决方案需要使用xelatex
或lualatex
引擎。我希望在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"
---