Closed atusy closed 5 years ago
---
output:
pdf_document:
latex_engine: xelatex
header-includes: |
\usepackage{zxjatype}
\setjafontscale{1}
lang: ja-JP
mainfont: Noto Serif
mainfontoptions: Scale=MatchUppercase
sansfont: Noto Sans
monofont: Noto Mono
mathfont: Noto Serif
CJKmainfont: Noto Serif CJK JP
CJKoptions: Scale=1
---
$$
\int^{b}_{a} f(x) dx = \lim_{n \to \infty} \sum^{n-1}_{i=0} f(x_{i}) Δ x
$$
**美しい**日本語と
**Beautiful** English.
といった具合にする.数式も Noto にできてシームレス.
mainfontoptions, sansfontoptions, monofontoptions, mathfontoptions, CJKoptions
によってオプション設定も可能.
https://www.pandoc.org/MANUAL.html#fonts