Thai PDF R Markdown
: simplify the contents. I've removed plot example and use simple date formatting in YAML.preTeX
to pre-tex
for recommended practice of all lower-case letter in sub-directory.Self-contained Thai R Markdown settings, no need for global configuration files. (#6)
thaipdf_document()
(also thaipdf_book()
) accept 2 new arguments:
thai_font
: for Thai font to use, default font is "TH Sarabun New".
line_spacing
: for line spacing, reccommended default is 1.5
Defunct thaipdf_config_set()
and thaipdf_config_get()
These changes enable user to supply thai_font
or line_spacing
in the YAML header of R Markdown directly. Therefore, self-contained document setting would facilitate more reproducible workflow.
Plan to remove thaipdf_config_set()
and thaipdf_config_get()
in an upcoming version
To enable reproducible workflow, next version will let user specify document setting such as thai_font
and line_spacing
in the YAML header of R Markdown.
use_thai_preamble()
: name
argument can be a relative path or absolute path.NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.