Created
April 8, 2017 07:21
-
-
Save zr-tex8r/75969dda8ecb209886e4034272fe8d35 to your computer and use it in GitHub Desktop.
LaTeX: pLaTeX+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
% upLaTeX文書, 文字コードはUTF-8 | |
\documentclass[uplatex,a4paper]{jsarticle} | |
% 源ノアレはアレなので 'directunicode*' が必要 | |
\usepackage[directunicode*,noalphabet]{pxchfon}[2017/04/08]% v0.9 | |
\usepackage[english]{babel} | |
\usepackage[main=japanese]{pxbabel} | |
% TTC版の源ノアレを使う | |
\setminchofont [0]{SourceHanSerif-Regular.ttc} | |
\setkoreanminchofont [1]{SourceHanSerif-Regular.ttc} | |
\setschineseminchofont[2]{SourceHanSerif-Regular.ttc} | |
\settchineseminchofont[3]{SourceHanSerif-Regular.ttc} | |
\setgothicfont [0]{SourceHanSans-Medium.ttc} | |
\setkoreangothicfont [1]{SourceHanSans-Medium.ttc} | |
\setschinesegothicfont[2]{SourceHanSans-Medium.ttc} | |
\settchinesegothicfont[3]{SourceHanSans-Medium.ttc} | |
\begin{document} | |
☃源ノ\textsf{アレ☃} | |
\begin{itemize} | |
\item 私のジャパリバスは\textsf{フレンズ}でいっぱいです。 | |
\item \foreignlanguage{korean}{% | |
내 자파리버스는 \textsf{프렌즈}로 가득 차 있어요.} | |
\item \foreignlanguage{schinese}{% | |
我的加帕里巴士装满了\textsf{朋友}。} | |
\item \foreignlanguage{tchinese}{% | |
我的加帕里巴士裝滿了\textsf{朋友}。} | |
\end{itemize} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The output: https://twitter.com/zr_tex8r/status/850604791235436544