Last active
February 1, 2020 02:52
-
-
Save igaiga/ab5b4039e0f5bb0e6d225580cbcb9c9b to your computer and use it in GitHub Desktop.
Re:VIEW Starterで細ゴシック+ページ番号も細く
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
%%% 日本語フォントの太さを細くするよう変更 | |
%%% (Notoフォントを使っていることが前提なので、Docker環境を使うか、 | |
%%% Notoフォントを自分でインストールすること) | |
%%% 参考:https://tm23forest.com/contents/veryeasy-latex-meiryo-font | |
\special{pdf:mapline uphminr-h unicode NotoSerifCJK-Light.ttc} % 明朝体 | |
\special{pdf:mapline uphgothr-h unicode NotoSansCJK-Light.ttc} % ゴシック体 | |
%%% 英語のセリフ付きフォント(明朝体相当)を細いものに変更 | |
%%% 参考:https://tug.org/FontCatalogue/iwonalight/ | |
\usepackage[light,math]{iwona} | |
\renewcommand{\bfdefault}{bx} % 日本語の太字が効くように修正 | |
%%% 英語のサンセリフフォント(ゴシック体相当)を細いものに変更 | |
%%% 参考:https://tug.org/FontCatalogue/robotolight/ | |
%%% https://tug.org/FontCatalogue/firasanslight/ | |
\usepackage[light]{roboto} | |
%\usepackage[light]{FiraSans} | |
\makeatletter | |
\renewcommand{\bfseries@sf}{bx} % 日本語の太字が効くように修正 | |
\makeatother | |
%%% デフォルトのフォントを明朝体からゴシック体に変更 | |
\renewcommand\familydefault{\sfdefault} % 英数字のデフォルトをサンセリフに変更 | |
\renewcommand\kanjifamilydefault{\gtdefault} % 日本語のデフォルトをゴシック体に変更 | |
%%% ページ番号が太く出るので普通の太さに変更 | |
%%% renewcommandでsty/starter.styの標準設定上書き mdseries=普通太さを明示指定 「-- 1 --」 | |
\renewcommand{\pagenumberstyle}{\mdseries --\ \thepage\ --} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment