I am trying to change the fontfamily for a paragraph using markdown and pandoc with xetex. I couldn't find references to this online.
I am currently setting my main font using this answer:
---
mainfont: DejaVuSerif.ttf
sansfont: DejaVuSans.ttf
monofont: DejaVuSansMono.ttf
mathfont: texgyredejavu-math.otf
---
I am looking for this pseudocode
# Chapter 1
{\setFontFamily{DejaVu} %%%% EDIT: \setFontFamily is a name example. I don't know if it exists.%%%%
paragraph 1
}
{\setFontFamily{merriweather}
paragraph 2
}
Thank you
\setFontFamily
?fontspec
provides\setfontfamily
which is used completely different – DG' Feb 28 at 20:16\setFontFamily
. I will try to edit the question. Sorry once again – manolius Mar 1 at 8:22