如何解决如何在Rmarkdown PDF乳胶引擎中更改字体
我正在使用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}
- \hypersetup {colorlinks = true,allcolors = winered}
output:
pdf_document:
includes:
in_header: "header.tex"
---
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。