diff options
author | katherine <ageha@airen-no-jikken.icu> | 2023-03-19 14:55:29 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2023-03-19 14:55:29 -0700 |
commit | a7667ba928eb1380bf9967ce67854d40c237b0cd (patch) | |
tree | ee585ad7185a9ba9b878fa8a371d3f46877cb73f /.vim/skel | |
parent | fd016c131c503236b91127b8562d2d31f0504186 (diff) | |
download | dotfiles-a7667ba928eb1380bf9967ce67854d40c237b0cd.tar.gz |
tex skel luatexja
Diffstat (limited to '.vim/skel')
-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} |