# NOT RUN {
# Running this will write `thai-preamble.tex` to your working directory
use_thai_preamble()
# Write `thai-preamble.tex` under pre-tex/ directory (a directory must exist)
use_thai_preamble(name = "pre-tex/thai-preamble.tex")
# Specify Thai font to use
use_thai_preamble(thai_font = "Laksaman")
# }
# NOT RUN {
# Example
.old_wd <- setwd(tempdir())
use_thai_preamble()
setwd(.old_wd)
# }
Run the code above in your browser using DataLab