pdf - 在 rmarkdown YAML 中为 pdf 输出设置字体(字体)
问题描述
我正在尝试为在 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 *>
我究竟做错了什么?
解决方案
推荐阅读
- javascript - 如何在 ES6 模块节点应用程序中包含 commonjs 模块?
- loops - Perl:向 foreach 循环添加异常
- python - Jupyter Notebook 中的键盘中断
- javascript - 是否附加了调试器?
- android - 为什么图像上传在 Firebase 存储中失败?
- jestjs - 在 Jest 中测试 .catch(() 块失败
- javascript - 反应:单击按钮编辑后如何更新列表?
- javascript - 输入字段没有对齐中心?
- pyqt5 - 如何在 eventFilter 中设置 QFrame 颜色?
- r - 在 Shiny 中下载嵌套的 DT 表