diff options
author | Aaron LI <aly@aaronly.me> | 2023-03-07 12:35:47 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2023-03-07 21:35:43 +0800 |
commit | 9d2c34f456cbef0b7298f7fe428b11a6134ab72b (patch) | |
tree | 881f6d8d4defae394824754f00979a6803febcd2 | |
parent | 473fd6c62c7f5919992f596056e3eee05c897c64 (diff) | |
download | resume-9d2c34f456cbef0b7298f7fe428b11a6134ab72b.tar.bz2 |
class: Switch Chinese font to 'Noto Serif CJK' since it's more common
Actually, the 'Noto Serif CJK' font and the previous 'Source Han Serif'
font are the same font but with different names. However, the former is
more common and ready to use; for example, it's generally installed by
default on many Linux distros and it's available on Overleaf.
Update the README accordingly.
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | resume.cls | 6 |
2 files changed, 8 insertions, 6 deletions
@@ -101,13 +101,15 @@ opensource fonts: and then extract the `IBM-Plex-Serif` and `IBM-Plex-Mono` directories and install them. -* [Source Han Serif](https://github.com/adobe-fonts/source-han-serif) +* [Noto Serif CJK](https://github.com/notofonts/noto-cjk) - Download the `SourceHanSerifSC.zip` archive + Download the `NotoSerifCJKsc.zip` archive (Language Specific OTFs Simplified Chinese) from the - [releases](https://github.com/adobe-fonts/source-han-serif/releases) page, + [releases](https://github.com/notofonts/noto-cjk/releases) page, and then install all of them. +On Debian Linux, simply do `apt install fonts-ibm-plex fonts-noto-cjk`. + Of course, you can use the fonts you prefer by modifying the template directly. However, you may need to tweak the [column width in the template](resume.cls#L158) @@ -1,5 +1,5 @@ %% -%% Copyright (c) 2018-2019 Weitian LI +%% Copyright (c) 2018-2023 Weitian LI %% Copyright (c) 2016 Christophe Roger %% The LaTeX Project Public License (LPPL) Version 1.3c %% @@ -12,7 +12,7 @@ %% https://www.latextemplates.com/template/plasmati-graduate-cv %% -\ProvidesClass{resume}[2023/02/03 v2.5.0 Resume Class] +\ProvidesClass{resume}[2023/02/03 v2.5.1 Resume Class] \LoadClass{article} %% @@ -94,7 +94,7 @@ % Chinese setup \ifdef{\@zh}{ - \setCJKmainfont{Source Han Serif SC} + \setCJKmainfont{Noto Serif CJK SC} % Redefine '\emph' to bold style % Credit: https://tex.stackexchange.com/a/227644 \let\emph\relax % there's no \RedeclareTextFontCommand |