diff options
Diffstat (limited to '.vim/skel/tex')
-rw-r--r-- | .vim/skel/tex | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.vim/skel/tex b/.vim/skel/tex index 5ace63f..5b576c6 100644 --- a/.vim/skel/tex +++ b/.vim/skel/tex @@ -19,8 +19,10 @@ +\usepackage{microtype} +\usepackage[match]{luatexja-fontspec} +\ltjsetparameter{jacharrange={-2,-3}} \usepackage{fontspec} -\usepackage{xeCJK} \usepackage{amsmath,amsthm,amssymb} \usepackage{unicode-math} @@ -34,7 +36,18 @@ \setmathfont[Scale = MatchLowercase]{Asana-Math.otf} -\setCJKmainfont{Noto Serif CJK JP} +\setmainjfont[ + BoldFont = Noto Serif CJK JP Medium, +]{Noto Serif CJK JP} + +\setsansjfont[ + BoldFont = Noto Sans CJK JP Medium, +]{Noto Sans CJK JP DemiLight} + +\setmonojfont[ + BoldFont = Noto Sans CJK JP Medium, + Scale = .93 +]{Noto Sans CJK JP Demilight} \usepackage{etoolbox} \AtBeginEnvironment{equation}{\large} |