Created
November 12, 2019 06:13
-
-
Save zr-tex8r/361890ed477dc3be7bed636626403fbd to your computer and use it in GitHub Desktop.
LaTeX:pxchfonのカスタムプリセット定義
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% カスタムのプリセットの定義をpxchfon.cfgという名前のファイルに | |
% 気記述して, TeXから見える場所に配置する. | |
% ※pxchfon 1.6版が必要. | |
% 単ウェイト設定の例 | |
\pxchfonDeclareOneWeightPreset{soeikakupoptai} | |
{:0:hgrpp1.ttc}% 明朝・単ウェイト | |
{:0:hgrpp1.ttc}% ゴシック・単ウェイト | |
% 多ウェイト設定の例 | |
\pxchfonDeclareMultiWeightPreset{oreore} | |
{Hannari.otf}% 明朝体・細字 | |
{Hannari.otf}% 明朝体・中字 | |
{Hannari.otf}% 明朝体・太字 | |
{GenShinGothic-Monospace-Regular.ttf}% ゴシック体・中字 | |
{GenShinGothic-Monospace-Bold.ttf}% ゴシック体・太字 | |
{GenShinGothic-Monospace-Heavy.ttf}% ゴシック体・極太 | |
{GenShinGothic-Monospace-Medium.ttf}% ゴシック体・単ウェイト | |
{GenJyuuGothic-Monospace-Medium.ttf}% 丸ゴシック体 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% pLaTeX文書 | |
\documentclass[a4paper]{jsarticle} | |
\usepackage{otf} | |
% カスタムプリセット指定. 'user:'を前置することに注意! | |
\usepackage[user:soeikakupoptai,alphabet]{pxchfon} | |
\title{pxchfonのカスタムプリセット} | |
\author{某ZR} | |
\begin{document} | |
\maketitle | |
\section{テスト} | |
疎ましい朝が来た、絶望の朝だ。 | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment