Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is_tinytex

Check if the LaTeX installation is TinyTeX


Description

First find the root directory of the installation via tinytex_root(). Then check if the directory name is "tinytex" (case-insensitive). If not, further check if the first line of the file ‘texmf-dist/web2c/fmtutil.cnf’ under the directory contains "TinyTeX" or ".TinyTeX". If the binary version of TinyTeX was installed, ‘fmtutil.cnf’ should contain a line like Generated by */TinyTeX/bin/x86_64-darwin/tlmgr on Thu Sep 17 07:13:28 2020.

Usage

is_tinytex()

Value

A logical value indicating if the LaTeX installation is TinyTeX.

Examples

tinytex::is_tinytex()

tinytex

Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents

v0.31
MIT + file LICENSE
Authors
Yihui Xie [aut, cre, cph] (<https://orcid.org/0000-0003-0645-5666>), RStudio, PBC [cph], Christophe Dervieux [ctb] (<https://orcid.org/0000-0003-4474-2498>), Devon Ryan [ctb] (<https://orcid.org/0000-0002-8549-0971>), Ethan Heinzen [ctb], Fernando Cagua [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.