gpt4 book ai didi

latex - 如何在 R markdown beamer 中使用 latex 包?

转载 作者:行者123 更新时间:2023-12-04 04:59:13 57 4
gpt4 key购买 nike

我想在 R markdown pdf 和 beamer 中包含 latex 包。

你能帮我在 rmarkdown 投影仪文件中包含 usepackage 命令吗?

非常感谢。

最佳答案

一个简单的解决方案是像这样设置标题:

---
title: "Document title"
author: "Author's name"
date: "Document date"
output: beamer_presentation
header-includes:
- \usepackage[brazil]{babel}
- \usepackage{graphicx}
- \usepackage[a4paper]{geometry}
---

关于latex - 如何在 R markdown beamer 中使用 latex 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27514610/

57 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com