Created
March 27, 2019 07:00
-
-
Save mutolisp/3eb8fb3c0c254ec62f7cd81fa5586ec6 to your computer and use it in GitHub Desktop.
rmarkdown_xetex.rmd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Untitled" | |
author: "your name" | |
date: "3/27/2019" | |
header-includes: | |
- \usepackage{fontspec} | |
- \usepackage{xeCJK} | |
- \setCJKmainfont{Songti TC} # change to your font names | |
output: | |
pdf_document: | |
keep_tex: yes | |
latex_engine: xelatex | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment