-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.cls
114 lines (95 loc) · 1.99 KB
/
resume.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
\ProvidesClass{resume}[RESUME]
\LoadClass[11pt,letterpaper]{article}
\usepackage[left=1.0cm,top=1.2cm,right=1.0cm,bottom=1.2cm]{geometry}
\usepackage[parfill]{parskip}
\usepackage{lmodern}
\usepackage{fontspec}
\usepackage{fontawesome5}
\usepackage{kotex}
\pagestyle{empty}
\setmainfont{Noto Sans}[
UprightFont=* Light,
BoldFont=* SemiBold,
ItalicFont=* Light Italic
]
\setmainhangulfont{Noto Sans CJK KR}[
UprightFont=* Light,
BoldFont=* Bold,
Script=Hangul,
Language=Korean,
AutoFakeSlant,
]
\setsanshangulfont{Noto Sans CJK KR}[
UprightFont=* Light,
BoldFont=* Bold,
Script=Hangul,
Language=Korean,
]
\setmathhangulfont{Noto Sans CJK KR}[
SizeFeatures={
{Size=-6, Font=* Medium},
{Size=6-9, Font=*},
{Size=9-, Font=* DemiLight},
},
Script=Hangul, Language=Korean
]
\def \name#1{\def\@name{#1}}
\def \@name {}
\def \printname {
\begingroup
\hfil{\namestyle\namesize \@name}\hfil
\nameskip\break
\endgroup
}
\def \email#1{\def\@email{#1}}
\def \@email {}
\def \github#1{\def\@github{#1}}
\def \@github {}
\def \blog#1{\def\@blog{#1}}
\def \@blog {}
\def \printcontact{
\begingroup
\centerline{
\faEnvelope\space\@email \space$\bullet$
\faGithubSquare\space\@github \space$\bullet$
\faHome\space\@blog
}
\endgroup
}
\let\old@document=\document
\renewcommand{\document}{
\old@document
\printname
\printcontact
}
\newenvironment{rSection}[1]{
\sectionskipbefore
{\bfseries #1}
\sectionskipafter
\hrule
\begin{list}{}{
\setlength{\leftmargin}{1.5em}
}
\item[]
}{
\end{list}
}
\newenvironment{rSubsection}[2]{
{\bfseries #1} \hfill {\small\it #2}
\begin{list}{--}{
\setlength{\leftmargin}{1.5em}
\setlength{\rightmargin}{1.5em}
}
\itemsep -0.5em \vspace{-0.5em}
\item[]
}{
\end{list}
\vspace{0.2em}
}
\def\namestyle{\bfseries}
\def\namesize{\huge}
\def\nameskip{\bigskip}
\def\emailstyle{\ttfamily}
\def\sectionskipbefore{\medskip}
\def\sectionskipafter{\medskip}
\def\sectionskip{\medskip}