Skip to content

Instantly share code, notes, and snippets.

@mutolisp
Created March 27, 2019 07:00
Show Gist options
  • Save mutolisp/3eb8fb3c0c254ec62f7cd81fa5586ec6 to your computer and use it in GitHub Desktop.
Save mutolisp/3eb8fb3c0c254ec62f7cd81fa5586ec6 to your computer and use it in GitHub Desktop.
rmarkdown_xetex.rmd
---
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