Skip to content

Commit

Permalink
change fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghuix committed Oct 9, 2016
1 parent dbae26a commit 23f4fcf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion install.latex.ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ sudo apt-get -y install ttf-wqy-microhei ttf-wqy-zenhei # from WenQuanYi
sudo apt-get -y install texlive-fonts-recommended
sudo apt-get -y install latex-cjk-all fonts-liberation ttf-liberation latex-cjk-chinese
sudo apt-get -y install fonts-arphic-gkai00mp fonts-arphic-ukai latex-cjk-chinese-arphic-gkai00mp #install Kaiti font
sudo apt-get -y install fonts-arphic-gbsn00lp latex-cjk-chinese-arphic-gbsn00lp
sudo apt-get -y install fonts-arphic-gbsn00lp latex-cjk-chinese-arphic-gbsn00lp fonts-noto-cjk
sudo fc-cache
12 changes: 6 additions & 6 deletions pdf/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@
% 设置中文字体
\setCJKmainfont
[
BoldFont = WenQuanYi Micro Hei,
% BoldFont = Noto Sans CJK SC, % uncomment for release build
%BoldFont = WenQuanYi Micro Hei,
BoldFont = Noto Sans CJK SC, % uncomment for release build
ItalicFont = AR PL KaitiM GB,
]
{AR PL SungtiL GB}
%\setCJKsansfont{Noto Sans CJK SC} % uncomment for release build
\setCJKsansfont{WenQuanYi Micro Hei}
\setCJKmonofont{WenQuanYi Micro Hei Mono}
\setCJKsansfont{Noto Sans CJK SC} % uncomment for release build
%\setCJKsansfont{WenQuanYi Micro Hei}
\setCJKmonofont{Noto Sans Mono CJK SC}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 使用 DejaVu Sans 显示 ⚠ ☢ ☠ ✔ 这四个 dingbats 字符
Expand Down Expand Up @@ -146,7 +146,7 @@
\author{\textbf{[美] Richard M. Stallman 著}\\
\textbf{北京 GNU/Linux 用户组 译}\thanks{本书基于 GNU 自由文档协议 1.3 版 (GNU Free Documentation License 1.3) 授权发布,可自由复制和分发,和/或基于 GNU 自由文档协议 1.3 版或自由软件基金会发布的更高版本,做出修改。本书使用 Markdown 书写,源码地址:\url{https://github.com/beijinglug/fsfs-zh/}。}}

\def\w3cdtfymd{\the\year-\ifnum\month<10 0\fi\the\month-\ifnum\day<10 0\fi\the\day}
\def\w3cdtfymd{\the\year-\ifnum\month<10 0\fi\the\month}
\date{\w3cdtfymd}

\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
Expand Down

0 comments on commit 23f4fcf

Please sign in to comment.