在rmarkdown YAML中为PDF输出设置字体(字体)

时间:2020-07-13 10:32:11

标签: pdf fonts latex r-markdown

我正在尝试设置在rMarkdown中创建的pdf文档的字体

---
title: "Intro"
date: "10/07/2020"
output: 
    pdf_document:
        latex_engine: xelatex
mainfont: Arial
---

这不起作用。我收到以下错误

tlmgr.pl: Local TeX Live (2019) is older than remote repository (2020).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
! LaTeX Error: File `unicode-math.sty' not found.

! Emergency stop.
<read *> 

我在做什么错了?

0 个答案:

没有答案