Last active
May 27, 2017 14:18
-
-
Save hiterm/98a89bc12e82642ebebf652c1e10a388 to your computer and use it in GitHub Desktop.
源ノ明朝と源ノ角ゴシックをluaLaTeXで使う
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
\documentclass{ltjsarticle} | |
\usepackage[no-math]{luatexja-fontspec} | |
\setmainjfont[BoldFont=Source Han Serif Bold]{Source Han Serif} | |
\setsansjfont[BoldFont=Source Han Sans Bold]{Source Han Sans} | |
%\setmainjfont[BoldFont=file:SourceHanSerif-Bold.ttc(0)]{file:SourceHanSerif-Regular.ttc(0)} | |
%\setsansjfont[BoldFont=file:SourceHanSans-Bold.ttc(0)]{SourceHanSans-Regular.ttc(0)} | |
\begin{document} | |
あいうえお直雲辞間 | |
明朝\textbf{明朝ボールド}\textgt{ゴシック}\textbf{\textgt{ボールドゴシック}} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment