aboutsummaryrefslogtreecommitdiffstats
path: root/resume.cls
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-10-15 14:03:59 +0800
committerAaron LI <aly@aaronly.me>2018-10-15 14:04:21 +0800
commit3fe1433b3adf2856db2ca3ea9915b61c3b23eb7d (patch)
tree757490fee13f8bc70b75ade3ec247284f0df13c3 /resume.cls
parent04dd7e618290e1f5d8e2bc7ab1eefa292602aae5 (diff)
downloadresume-3fe1433b3adf2856db2ca3ea9915b61c3b23eb7d.tar.bz2
class: Change to use 'IBM Plex' font
Need to adjust the width of the left column.
Diffstat (limited to 'resume.cls')
-rw-r--r--resume.cls12
1 files changed, 5 insertions, 7 deletions
diff --git a/resume.cls b/resume.cls
index 6ae3875..373d1ab 100644
--- a/resume.cls
+++ b/resume.cls
@@ -89,15 +89,13 @@
% Fonts
\defaultfontfeatures{Mapping=tex-text}
-\setmainfont{TeX Gyre Pagella}
-\setsansfont{Roboto}
-\setmonofont{M+ 1mn}
+\setmainfont{IBM Plex Serif}
+\setmonofont{IBM Plex Mono}
% Chinese setup
\ifdef{\@zh}{
\xeCJKsetup{PunctStyle=kaiming}
- \setCJKmainfont{Noto Serif CJK SC}
- \setCJKsansfont{Noto Sans CJK SC}
+ \setCJKmainfont{Source Han Serif SC}
}{}
% Font Awesome icon aliases
@@ -158,13 +156,13 @@
\setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em}
\setlist[description,1]{style=sameline}
-% New length definition
+% Width of the left column for date ranges
\newlength{\leftcolwidth}
\newlength{\rightcolwidth}
\ifdef{\@zh}{%
\setlength{\leftcolwidth}{6em}
}{
- \setlength{\leftcolwidth}{7.5em}
+ \setlength{\leftcolwidth}{8.1em}
}
\setlength{\rightcolwidth}{\dimexpr \textwidth - \leftcolwidth - 4\tabcolsep}