Last active
May 5, 2017 13:45
-
-
Save hiterm/4775e4843f8cffcc1fe439fee888de66 to your computer and use it in GitHub Desktop.
源ノ明朝と源ノ角ゴシックをupLaTeXで使ってみるテスト(pxchfon+otfパッケージ使用)
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
% エラーが出る場合はフォントをTeX側から見える位置に置くか, | |
% export OSFONTDIR=/usr/shar/fonts とする. | |
% http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1904 | |
\documentclass[a4paper, ja=standard, uplatex, dvipdfmx]{bxjsarticle} | |
\title{title} | |
\author{author} | |
\usepackage[deluxe]{otf} | |
\usepackage[directunicode*, noalphabet]{pxchfon}[2017/04/08] | |
\setminchofont{SourceHanSerifJP-Regular.otf} | |
\setboldminchofont{SourceHanSerifJP-Bold.otf} | |
\setgothicfont{SourceHanSansJP-Regular.otf} | |
\setboldgothicfont{SourceHanSansJP-Bold.otf} | |
\begin{document} | |
\maketitle | |
\section{セクション} | |
明朝\textbf{ボールド}\textgt{ゴシック}\textgt{\textbf{ゴシックボールド}} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment