Skip to content

Instantly share code, notes, and snippets.

@hiterm
Last active May 19, 2017 13:00
Show Gist options
  • Save hiterm/1ec832ccff3f44a252cf56d180db6b0e to your computer and use it in GitHub Desktop.
Save hiterm/1ec832ccff3f44a252cf56d180db6b0e to your computer and use it in GitHub Desktop.
源ノ明朝と源ノ角ゴシックをupLaTeXで使ってみるテスト(ttc版)
\documentclass[uplatex]{jsarticle}
\usepackage[deluxe]{otf}
\usepackage[directunicode*, noalphabet]{pxchfon}[2017/04/08]
\setminchofont[0]{SourceHanSerif-Regular.ttc}
\setboldminchofont[0]{SourceHanSerif-Bold.ttc}
\setgothicfont[0]{SourceHanSans-Regular.ttc}
\setboldgothicfont[0]{SourceHanSans-Bold.ttc}
\begin{document}
明朝\textbf{ボールド}\textgt{ゴシック}\textgt{\textbf{ゴシックボールド}}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment