Created
April 16, 2017 06:50
-
-
Save zr-tex8r/25cbaa861994f84b7a8a874b8741be81 to your computer and use it in GitHub Desktop.
LaTeX:LuaLaTeXだとかな混植が簡単にできて最高だという件
This file contains hidden or 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
% LuaLaTeX文書,UTF-8 | |
% jlreqクラス・縦組の例 | |
\documentclass[lualatex,tate,paper=a6,twocolumn]{jlreq} | |
\usepackage{luatexja-fontspec} | |
\setmainjfont[ | |
YokoFeatures={JFM=jlreq}, %jlreqのJFMを | |
TateFeatures={JFM=jlreqv}, %維持する | |
AltFont={% 代替フォント設定 | |
{Range="3040-"30FF, Font=IPAexMincho}, | |
{Range={`☃,`⛄}, Font=SourceHanSans}}, | |
]{IPAexGothic} | |
\begin{document} | |
{\TeX}と☃は一切関係ありません。ご注意ください。 | |
\end{document} |
This file contains hidden or 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
% LuaLaTeX文書, UTF-8 | |
% ltjsarticleクラス・横組の例 | |
\documentclass[a6paper]{ltjsarticle} | |
\usepackage{luatexja-fontspec} | |
\setmainjfont[ | |
AltFont={% 代替フォント設定 | |
{Range="3040-"30FF, Font=IPAexMincho}, | |
{Range={`☃,`⛄}, Font=SourceHanSans}} | |
]{IPAexGothic} | |
\begin{document} | |
{\TeX}と☃は一切関係ありません。ご注意ください。 | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment