如何解决Rmarkdown投影仪幻灯片不显示项目符号项目符号
我试图在Rmarkdown中编写一些投影仪幻灯片。由于投影机幻灯片需要包含一些汉字,因此我必须指定xelatex作为乳胶引擎。
但是,最近我发现xelatex引擎有问题(一个月前没有出现问题):当使用xelatex作为乳胶引擎时,投影仪幻灯片中的逐项项目符号消失了。
有人知道如何解决此问题吗?
下面是一个最小的工作示例:
---
title: trial doc
institute: |
| Department trial
| trial Education
Date: "17 October 2020"
output:
beamer_presentation:
theme: "CambridgeUS"
colortheme: "dolphin"
slide_level: 3
latex_engine: xelatex
df_print: kable
classoption: "aspectratio=169"
fontsize: 10pt
mainfont: Times New Roman
header-includes:
- \setbeamercolor{frametitle}{bg=white}
- \usepackage{ctex}
- \AtBeginSubsection{}
- \AtBeginSection{}
- \setbeamerfont{frametitle}{series=\bfseries}
- \AtBeginDocument{\title[xxx]{xxxxx}}
- \AtBeginDocument{\institute[xxxxx]{\\Department of xxx\\xxx}}
- \AtBeginDocument{\author[xxxxxx]{XXX}}
---
\frametitle{Outline}
\tableofcontents
# 欢迎
\frametitle{\textbf{Welcome}}
some text
some Chinese text 你好
trying to itemize:
- Hello
- subitem
trying some numbered list:
1. hello
2. hello
我得到的输出如下:
当我尝试将pdflatex用作乳胶引擎(在这种情况下,我无法使用ctex程序包,并且无法在我的投影仪幻灯片中包含汉字)时,逐项列出和编号列表的效果很好。
真的很感谢有人可以帮助我!
解决方法
正如上面@ samcarter_is_at_topanswers.xyz提供的那样,我通过遵循github.com/pgf-tikz/pgf/issues/928#issuecomment-700690532中的步骤解决了这个问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。