) плюс введение в LaTeX.

инимальный рабочий пример.

---
date : 2018-May-26
output:
    pdf_document
title: "Testing Rmarkdown"
---

```{r,comment = NA}

Gender <- gl(2,1000,labels = c("Men","Women"))
SmokerM <- sample(c("Y","N"),1000,replace = T , prob = c(.3,.7))
SmokerW <- sample(c("Y","N"),1000,replace = T , prob = c(.5,.5))
Smoker <- c(SmokerM,SmokerW)

mydata  <- data.frame(Gender,Smoker)
table(mydata$Gender,mydata$Smoker)

```

This is a text in the body of the document.What font is this ? What is
font for the output of table ? How can we change these 2 fonts ? What 
other categories of items are there in an Rmarkdown which have different
fonts ?       

Мой запрос следующий: Какие шрифты по умолчанию для документа Rmarkdown и как я могу их изменить?

Исследуя это, я наткнулся на эту страницу:

[Переменные Пандока] [1]http://pandoc.org/MANUAL.html#variables-for-latex

Верно ли, что есть 4 шрифта (mainfont / sansfont / monofont / mathfont) для описания 4 категорий вывода в Rmarkdown? Каковы их значения по умолчанию и как я могу их изменить?

Ответы на вопрос(1)

Ваш ответ на вопрос