- 源真ゴシックをダウンロード&インストール(ttfファイルたちを右クリックして「全てのユーザーに対してインストール」): http://jikasei.me/font/genshin/#_8
- 源様明朝をダウンロード&インストール(ttfファイルたちを右クリックして「全てのユーザーに対してインストール」): https://github.com/ButTaiwan/genyo-font/tree/bc2fa246196fefc1ef9e9843bc8cdba22523a39d/JP
-
texmf-local/fonts/map/dvipdfmx/genshin.map
rml UniJIS-UTF16-H GenYoMinJP-Medium.ttf rmlv UniJIS-UTF16-V GenYoMinJP-Medium.ttf rml Identity-H GenYoMinJP-Medium.ttf rmlv Identity-V GenYoMinJP-Medium.ttf rml H GenYoMinJP-Medium.ttf rmlv V GenYoMinJP-Medium.ttf unijmin-h UniJIS-UTF16-H GenYoMinJP-Medium.ttf unijmin-v UniJIS-UTF16-V GenYoMinJP-Medium.ttf cidmin-h Identity-H GenYoMinJP-Medium.ttf/AJ16 cidmin-v Identity-V GenYoMinJP-Medium.ttf/AJ16 gbm UniJIS-UTF16-H GenShinGothic-Regular.ttf gbmv UniJIS-UTF16-V GenShinGothic-Regular.ttf gbm Identity-H GenShinGothic-Regular.ttf gbmv Identity-V GenShinGothic-Regular.ttf gbm H GenShinGothic-Regular.ttf gbmv V GenShinGothic-Regular.ttf unijgoth-h UniJIS-UTF16-H GenShinGothic-Regular.ttf unijgoth-v UniJIS-UTF16-V GenShinGothic-Regular.ttf cidgoth-h Identity-H GenShinGothic-Regular.ttf/AJ16 cidgoth-v Identity-V GenShinGothic-Regular.ttf/AJ16 otf-ujmr-h UniJIS-UTF16-H GenYoMinJP-Medium.ttf otf-ujmr-v UniJIS-UTF16-V GenYoMinJP-Medium.ttf otf-cjmr-h Identity-H GenYoMinJP-Medium.ttf/AJ16 otf-cjmr-v Identity-V GenYoMinJP-Medium.ttf/AJ16 hminr-h H GenYoMinJP-Medium.ttf hminr-v V GenYoMinJP-Medium.ttf otf-ujgr-h UniJIS-UTF16-H GenShinGothic-Regular.ttf otf-ujgr-v UniJIS-UTF16-V GenShinGothic-Regular.ttf otf-cjgr-h Identity-H GenShinGothic-Regular.ttf/AJ16 otf-cjgr-v Identity-V GenShinGothic-Regular.ttf/AJ16 hgothr-h H GenShinGothic-Regular.ttf hgothr-v V GenShinGothic-Regular.ttf otf-ujmb-h UniJIS-UTF16-H GenYoMinJP-Bold.ttf otf-ujmb-v UniJIS-UTF16-V GenYoMinJP-Bold.ttf otf-cjmb-h Identity-H GenYoMinJP-Bold.ttf/AJ16 otf-cjmb-v Identity-V GenYoMinJP-Bold.ttf/AJ16 hminb-h H GenYoMinJP-Bold.ttf hminb-v V GenYoMinJP-Bold.ttf otf-cjgb-h Identity-H GenShinGothic-Bold.ttf/AJ16 otf-cjgb-v Identity-V GenShinGothic-Bold.ttf/AJ16 otf-ujgb-h UniJIS-UTF16-H GenShinGothic-Bold.ttf otf-ujgb-v UniJIS-UTF16-V GenShinGothic-Bold.ttf hgothb-h H GenShinGothic-Bold.ttf hgothb-v V GenShinGothic-Bold.ttf otf-ujmgr-h UniJIS-UTF16-H GenShinGothic-Monospace-Light.ttf otf-ujmgr-v UniJIS-UTF16-V GenShinGothic-Monospace-Light.ttf otf-cjmgr-h Identity-H GenShinGothic-Monospace-Light.ttf/AJ16 otf-cjmgr-v Identity-V GenShinGothic-Monospace-Light.ttf/AJ16 hmgothr-h H GenShinGothic-Monospace-Light.ttf hmgothr-v V GenShinGothic-Monospace-Light.ttf
- コマンドプロンプト(管理者)で mktexlsr を実行(または C:\usr\local\share\texmf-dist\ls-R を削除)。
TeXファイルのプリアンブル。
\usepackage[deluxe]{otf}
TeXサンプル。
\documentclass[a4paper,9pt]{extarticle} %\usepackage{amsmath,amsthm,amscd,amssymb} %\usepackage{enumerate,tasks} %\usepackage{graphicx} \usepackage{newtxtext,newtxmath} \usepackage[deluxe]{otf} \usepackage[margin=6mm]{geometry} \AtBeginDvi{\special{papersize=297mm,210mm}} \setlength{\parindent}{0pt} \begin{document} \textbf{和文太字} \end{document}
秀丸マクロ( C:\Users\***\AppData\Roaming\Hidemaruo\Hidemaru\Macro みたいなところ)。
save; #encode = encode & 0x3F; $enc = ""; if (#encode==1) $enc = " --kanji=sjis "; if (#encode==3) $enc = " --kanji=euc "; if (#encode==4) $enc = " --kanji=jis "; if (#encode==6) $enc = " --kanji=utf8 "; title " コンパイル..."; run "cmd /c ptex2pdf.exe -l -ot \"" + $enc + "\" -od " + "\"-f genshin.map\" " + basename; endmacro;
meryマクロ。
var compile = 'cmd /c cd /d "' + document.Path + '" & platex ' + document.Name + ' & dvipdfmx -f genshin.map -V 4 '+ document.Name.replace(".tex",""); document.Save(); new ActiveXObject("WScript.Shell").Run(compile,1,true);