diff --git a/body.tex b/body.tex index 3487065..4bcb720 100644 --- a/body.tex +++ b/body.tex @@ -1,8 +1,6 @@ -% \centerline{\normalsize{}} - -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faGraduationCap}\ 教育经历} +\logosection{\faGraduationCap}{教育经历} +\datedline{\textbf{哔哩哔哩在线教育}}{\dateRange{2019.11}{至今}} -\textbf{哔哩哔哩在线教育} \hfill 2019.11 -- \makebox[\widthof{2099.11}][s]{至今} 刑法 \quad 罗翔说刑法 \hfill Online @@ -12,7 +10,7 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faGraduationCap} \item 张三的共享辩护律师 \end{itemize} -\textbf{肯辛顿职业技术学院} \hfill 2018.09 -- 2019.11 +\datedline{\textbf{肯辛顿职业技术学院}}{\dateRange{2018.09}{2019.11}} MSc Advanced Computing \quad 硕士 \hfill {英国伦敦} \begin{itemize} @@ -20,10 +18,10 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faGraduationCap} \item 白读 \end{itemize} +\datedline{\textbf{街道口男子技工学校}}{\dateRange{2014.09}{2018.06}} +\datedline{\tripleInfo{软件工程}{本科}{计算机科学与技术学院}}{湖北武汉} -\textbf{街道口男子技工学校} \hfill 2014.09 -- 2018.06 -软件工程 \quad 本科 \quad 计算机科学与技术学院 \hfill 湖北武汉 \begin{itemize} \item GPA: 59/100 @@ -31,12 +29,10 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faGraduationCap} \item 自信的真普通人 \end{itemize} +\logosection{\faSuitcase}{工作经历} -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faSuitcase}\ 工作经历} - -\textbf{血汗工厂}\ \hfill 20xx.xx -- 20xx.xx - -建筑工程一线劳动者 \hfill 工地 +\datedline{\textbf{血汗工厂}}{\dateRange{20xx.xx}{20xx.xx}} +\datedline{建筑工程一线劳动者}{工地} 努力在率先实现社会主义现代化上走在前列 @@ -50,9 +46,9 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faSuitcase}\ 工 \end{itemize} -\textbf{远洋邮轮1号}\ \hfill 20xx.xx -- 20xx.xx +\datedline{\textbf{远洋邮轮1号}}{\dateRange{20xx.xx}{20xx.xx}} -实习 \quad 水手 \quad 花式摸鱼工程师 \hfill 精神家园 +\datedline{\tripleInfo{实习}{水手}{花式摸鱼工程师}}{精神家园} 负责策划麦哲伦五百年纪念活动, 坚持不忘初心 \begin{itemize} @@ -60,19 +56,18 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faSuitcase}\ 工 \item 工人阶级的伟大代表 -- 不想当资本家的奴隶不是好工人 \end{itemize} -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faWrench }\ 项目经历} +\logosection{\faWrench}{项目经历} +\datedline{\textbf{火星文明探索计划}}{\dateRange{20xx.xx}{20xx.xx}} -\textbf{火星文明探索计划}\ \hfill 20xx.xx -- 20xx.xx -混毕业的毕业设计 \quad 无人指导 \hfill The Pseudo Aeronautics and Space Administration +\datedline{\biInfo{混毕业的毕业设计}{无人指导}}{The Pseudo Aeronautics and Space Administration} \begin{itemize} \item \end{itemize} -\textbf{人类文明史的沙盘重演}\ \hfill 20xx.xx -- 20xx.xx - -Sid Meier's Civilization VI \quad Research Institution of Steam \hfill Online +\datedline{\textbf{人类文明史的沙盘重演}}{\dateRange{20xx.xx}{20xx.xx}} +\datedline{\biInfo{Sid Meier's Civilization VI}{Research Institution of Steam}}{Online} 审阅人类文明历史发展, 探究其客观规律-- 从水下第一个生命的萌芽开始,到石器时代的巨型野兽,再到人类第一次直立行走. \begin{itemize} @@ -82,17 +77,17 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faWrench }\ 项 \item New Frontier \end{itemize} -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faInstitution}\ 公开成果} +\logosection{\faInstitution}{公开成果} SSS: Deep Learning Based Social Scrap Selection Method -\textbf{Involutionist} +\textbf{Involutionist} \textit{whom write the whole shit}, the nerd \textit{who was supposed to be in the Et al. as well}, Et al. 113rd Annual Conference on Neural Information Processing Systems (NeurIPS), 2099. (Accepted as Best Paper) -\href{}{[paper]} \href{}{[project page]} +\href{http://pseudo.paper.link.me}{[paper]} \href{http://pseudo.code.link}{[project page]} -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faCogs}\ 专业技能} +\logosection{\faCogs}{专业技能} \begin{itemize}[parsep=0.5ex] \item 编程语言: Python $\gg$ C = CPP > Java @@ -100,10 +95,11 @@ \section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faCogs}\ 专业 \item 阴阳怪气 \end{itemize} -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faHeart}\ 获奖情况} -NeurIPS Best Paper Award \hfill 2099.12 +\logosection{\faHeart}{获奖情况} +\datedline{NeurIPS Best Paper Award}{2099.12} + +\logosection{\faInfo}{其他} -\section{\makebox[\widthof{\faGraduationCap}][c]{\color{CVBlue}\faInfo}\ 其他} % increase linespacing [parsep=0.5ex] \begin{itemize}[parsep=0.5ex] \item 技术博客: http://blog.yours.me diff --git a/footer.tex b/footer.tex index 60b4bf1..314c48c 100644 --- a/footer.tex +++ b/footer.tex @@ -1,3 +1,3 @@ \begin{tikzpicture}[remember picture, overlay] - \node[anchor = south,fill=CVBlue,draw=none,minimum width=\paperwidth,minimum height=1.5em,align=center,font=\footnotesize,text=white] at ($(current page.south)$) {\faLinkedinSquare \ https://www.linkedin.com/in/username \qquad \faGithub \ https://github.com/username \qquad \faRssSquare \ http://blog.yours.me}; + \node[anchor = south,fill=ICBlue,draw=none,minimum width=\paperwidth,minimum height=1.5em,align=center,font=\footnotesize,text=white] at ($(current page.south)$) {\faLinkedinSquare \ https://www.linkedin.com/in/username \qquad \faGithub \ https://github.com/username \qquad \faRssSquare \ http://blog.yours.me}; \end{tikzpicture} \ No newline at end of file diff --git a/resume-photo.tex b/resume-photo.tex index 17b8798..54c388d 100644 --- a/resume-photo.tex +++ b/resume-photo.tex @@ -1,106 +1,9 @@ -%%%% 参考了https://www.wondercv.com/的模板 - -\documentclass[11pt]{article} - -% disable indent globally -\setlength{\parindent}{0pt} -% some general improvements, defines the XeTeX logo -\usepackage{xltxtra} -% use hyperlink for email and url -\usepackage{hyperref} -\hypersetup{hidelinks} -\usepackage{url} -\urlstyle{tt} - -\usepackage{xcolor} -%%%% 统一一种颜色,IC蓝 -\definecolor{CVBlue}{RGB}{0,62,116} - -%%% \widthof[]{} 用于特殊对齐时用到 -\usepackage{calc} - -%%%% 利用tikz来定位照片和学校Logo -\usepackage{graphicx} -\usepackage{tikz} -\usetikzlibrary{calc} - -% loading fonts -\usepackage{fontspec} -\usepackage{xeCJK} -\CJKsetecglue{} %% 取消中文与数字之间间隙 - - -%%%%% 字体需要自己下载安装,注意版权问题 -%%%%% linux系统只需要字体路径就行了,如下 -% % Main document font -\setmainfont[ - Path = Font/, - Extension = .otf , - BoldFont = HelveticaNeueLTPro-Md.otf , -]{HelveticaNeueLTPro-Roman.otf} - -\setCJKmainfont[ -Path = Font/, - Extension = .ttf , -BoldFont=Pro_GB18030DemiBold.ttf, -]{Pro_GB18030.ttf} - -\usepackage{relsize} -\usepackage{xspace} -\protected\def\Cpp{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.28ex}{\relsize{-1}++}}\xspace} - -% use fontawesome -\usepackage{fontawesome} - -\usepackage[ - a4paper, - left=1.2cm, - right=1.2cm, - top=1.5cm, - bottom=1cm, - nohead -]{geometry} - -\renewcommand{\baselinestretch}{1.2} %定义行间距1.2 - -\usepackage{titlesec} -\usepackage{enumitem} -\setlist{noitemsep} % removes spacing from items but leaves space around the whole list -%\setlist{nosep} % removes all vertical spacing within and around the list -\setlist[itemize]{topsep=0.25em, leftmargin=*} -\setlist[enumerate]{topsep=0.25em, leftmargin=*} - - - -\titleformat{\section} % Customise the \section command - {\large\bfseries\raggedright} % Make the \section headers large (\Large), - % small capitals (\scshape) and left aligned (\raggedright) - {}{0em} % Can be used to give a prefix to all sections, like 'Section ...' - {} % Can be used to insert code before the heading - [{\color{CVBlue}\titlerule}] % Inserts a horizontal line after the heading -\titlespacing*{\section}{0cm}{*1.6}{*1.2} - +\documentclass{setting} \begin{document} \pagenumbering{gobble} % suppress displaying page number -%%%% 利用tikz来定位照片,部分招聘单位可能需要“以貌取人” -\begin{tikzpicture}[remember picture, overlay] - \node[anchor = north east] at ($(current page.north east)+(-1.5cm,-1cm)$) {\includegraphics[height=3.5cm]{avatar}}; -\end{tikzpicture}% -%%%% 利用tikz来定位学校Logo,这部分没有遵守College logo positioning -\begin{tikzpicture}[remember picture, overlay] - \node[anchor = north west] at ($(current page.north west)+(0.45cm, -0.45cm)$) {\includegraphics[width=7cm]{imperial.png}}; -\end{tikzpicture}% -%%%% 利用tikz来定位页脚栏,电子版简历使用,黑白纸质打印效果可能并不好。这里只在第一页显示,如果需要每页都有,页脚或者background中加入。 -\input{footer} -%tikzpicture环境很敏感,注释周围的空格、空行都会引起水平距离或垂直距离的变化, -% - -\vspace{3ex} -\centerline{\LARGE\bfseries{卷不过大家}} -\vspace{1ex} -\centerline{\normalsize{\faPhone\ 13xxx-xxx-xxx \quad \faEnvelopeO\ \href{mailto:zheyu.ye18@alumni.imperial.ac.uk}{zheyu.ye18@alumni.imperial.ac.uk}}} -\vspace{1.5ex} +\name{Dr. Jekyll} +\basicContactInfo{13xxx-xxx-xxx}{zheyu.ye18@alumni.imperial.ac.uk} \input{body} diff --git a/resume.tex b/resume.tex index 17c2332..f3249d9 100644 --- a/resume.tex +++ b/resume.tex @@ -1,91 +1,9 @@ -%%%% 参考了https://www.wondercv.com/的模板 - -\documentclass[11pt]{article} - -% disable indent globally -\setlength{\parindent}{0pt} -% some general improvements, defines the XeTeX logo -\usepackage{xltxtra} -% use hyperlink for email and url -\usepackage{hyperref} -\usepackage{url} -\hypersetup{ - % colorlinks=true, - % linkcolor=cyan, - % urlcolor=cyan, - % citecolor=cyan, -} - -\urlstyle{tt} - -\usepackage{xcolor} -%%%% 统一一种颜色,偏蓝色,用于section下划线和fontawesome,这颜色是从一个北航Logo上取的 -\definecolor{CVBlue}{RGB}{0,62,116} - -%%% \widthof[]{} 用于特殊对齐是用到 -\usepackage{calc} - - -% loading fonts -\usepackage{fontspec} -\usepackage{xeCJK} -\CJKsetecglue{} %% 取消中文与数字之间间隙 - -\setmainfont[ - Path = Font/, - Extension = .otf , - BoldFont = HelveticaNeueLTPro-Md.otf , -]{HelveticaNeueLTPro-Roman.otf} - -\setCJKmainfont[ -Path = Font/, - Extension = .ttf , -BoldFont=Pro_GB18030DemiBold.ttf, -]{Pro_GB18030.ttf} - - -\usepackage{relsize} -\usepackage{xspace} -\protected\def\Cpp{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.28ex}{\relsize{-1}++}}\xspace} - -% use fontawesome -\usepackage{fontawesome} -% \newfontfamily{\FA}{[FontAwesome.otf]} - -\usepackage[ - a4paper, - left=1.2cm, - right=1.2cm, - top=1.5cm, - bottom=1cm, - nohead -]{geometry} -\renewcommand{\baselinestretch}{1.2} %定义行间距1.2 - -\usepackage{titlesec} -\usepackage{enumitem} -\setlist{noitemsep} % removes spacing from items but leaves space around the whole list -% \setlist{nosep} % removes all vertical spacing within and around the list -\setlist[itemize]{topsep=0.25em, leftmargin=*} -\setlist[enumerate]{topsep=0.25em, leftmargin=*} - -\titleformat{\section} % Customise the \section command - {\large\bfseries\raggedright} % Make the \section headers large (\Large), - % small capitals (\scshape) and left aligned (\raggedright) - {}{0em} % Can be used to give a prefix to all sections, like 'Section ...' - {} % Can be used to insert code before the heading - [{\color{CVBlue}\titlerule}] % Inserts a horizontal line after the heading -\titlespacing*{\section}{0cm}{*1.6}{*1.2} - - - +\documentclass{setting} \begin{document} \pagenumbering{gobble} % suppress displaying page number -\centerline{\LARGE\bfseries{卷不过大家}} -\vspace{1ex} -\centerline{\normalsize{\faPhone\ 13xxx-xxx-xxx \quad \faEnvelopeO\ \href{mailto:zheyu.ye18@alumni.imperial.ac.uk}{zheyu.ye18@alumni.imperial.ac.uk} \quad \faHome\ \href{ http://blog.yours.me}{ http://blog.yours.me}}} - +\name{Dr. Henry Jekyll} +\contactInfo{13xxx-xxx-xxx}{zheyu.ye18@alumni.imperial.ac.uk}{http://blog.yours.me} \input{body} diff --git a/setting.cls b/setting.cls new file mode 100644 index 0000000..3506b28 --- /dev/null +++ b/setting.cls @@ -0,0 +1,152 @@ +%%%% 参考了https://www.wondercv.com/的模板 +\ProvidesClass{setting} +\LoadClass[11pt]{article} + +% disable indent globally +\setlength{\parindent}{0pt} + + +% disable indent globally +\setlength{\parindent}{0pt} + +% use hyperlink for email and url +\usepackage{hyperref} +\usepackage{url} +\hypersetup{ + colorlinks=true, + linkcolor=cyan, + urlcolor=cyan, + citecolor=cyan, +} + +\urlstyle{tt} + +%%%% 利用tikz来定位照片和学校Logo +\usepackage{graphicx} +\usepackage{tikz} +\usetikzlibrary{calc} + +% some general improvements, defines the XeTeX logo +\RequirePackage{xltxtra} +% use xifthen +\RequirePackage{xifthen} +% use fontawesome +\RequirePackage{fontawesome} +% use xcolor for customizing color +\RequirePackage{xcolor} + +\RequirePackage[super]{nth} +%%%% IC Blue +\definecolor{ICBlue}{RGB}{0,62,116} + +%%% \widthof[]{} 用于特殊对齐 +\usepackage{calc} + + +% loading fonts +\usepackage{fontspec} +\usepackage{xeCJK} +\CJKsetecglue{} %% 取消中文与数字之间间隙 + +% Main document font +\setmainfont[ + Path = Font/, + Extension = .otf , + BoldFont = HelveticaNeueLTPro-Md.otf , +]{HelveticaNeueLTPro-Roman.otf} + +\setCJKmainfont[ +Path = Font/, + Extension = .ttf , +BoldFont=Pro_GB18030DemiBold.ttf, +]{Pro_GB18030.ttf} + + +\usepackage{relsize} +\usepackage{xspace} + +\usepackage[ + a4paper, + left=1.2cm, + right=1.2cm, + top=1.5cm, + bottom=1cm, + nohead +]{geometry} +\renewcommand{\baselinestretch}{1.2} %定义行间距1.2 + +\usepackage{titlesec} +\usepackage{enumitem} +\setlist{noitemsep} % removes spacing from items but leaves space around the whole list +% \setlist{nosep} % removes all vertical spacing within and around the list +\setlist[itemize]{topsep=0.25em, leftmargin=*} +\setlist[enumerate]{topsep=0.25em, leftmargin=*} + +\titleformat{\section} % Customise the \section command + {\large\bfseries\raggedright} % Make the \section headers large (\Large), + % small capitals (\scshape) and left aligned (\raggedright) + {}{0em} % Can be used to give a prefix to all sections, like 'Section ...' + {} % Can be used to insert code before the heading + [{\color{ICBlue}\titlerule}] % Inserts a horizontal line after the heading +\titlespacing*{\section}{0cm}{*1.6}{*1.2} + +\titleformat{\subsection} + {\large\raggedright} + {}{0em} + {} +\titlespacing*{\subsection}{0cm}{*1}{*0.5} + +\newcommand{\logosection}[2]{% + \section{\makebox[\widthof{\faGraduationCap}][c]{\color{ICBlue}#1}\ #2} +} + + +\newcommand{\dateRange}[2]{ + {#1 -- \makebox[\widthof{#1}][s]{#2}} +} + + +\newcommand{\datedline}[2]{% + {\par #1 \hfill #2 \par}% +} + + +\newcommand{\name}[1]{ + \centerline{\LARGE\bfseries{#1}} + \vspace{1.2ex} +} + + +\newcommand{\contactInfo}[3]{ + \centerline{ + \normalsize{ + \faPhone\ {#1} \quad + \faEnvelopeO\ \href{mailto:{#2}}{#2} \quad + \faHome\ \href{#3}{#3} + } + } + \vspace{0.7ex} +} + +\newcommand{\basicContactInfo}[2]{ + \centerline{ + \normalsize{ + \faPhone\ {#1} \quad + \faEnvelopeO\ \href{mailto:{#2}}{#2} + } + } + \vspace{0.7ex} +} + +\newcommand{\role}[2]{ + {\par \textit{#1} ~ #2 \par} + \vspace{0.5ex} +} + +\newcommand{\biInfo}[2]{ + {#1 \quad #2} +} + +\newcommand{\tripleInfo}[3]{ + {#1 \quad #2 \quad #3} +} \ No newline at end of file