rstudio - Rmarkdown doesn't display dots in formulae (pdf output) -
i'm trying recent 1.0 version of rstudio, generated document worked ok, i' having problems dots in formulae when compiling pdf_output. example when write:
$a(l) = 1 - 1.6 l + 0.96 l^2 - 0.256 l^3$
i in pdf:
i´ve searched in web , found nothing useful. in advance help.
babel
expects commas decimal separators when using spanish. thus, work out of box (and in opinion proper solution).
$a(l) = 1 - 1,6 l + 0,96 l^2 - 0,256 l^3$
however, can still example work. according this tex.se answer, can force babel use dots decimal separator setting language way (notice there no lang
option):
--- title: "test" output: pdf_document header-includes: - \usepackage[spanish,es-nodecimaldot]{babel} ---
Comments
Post a Comment