网上找了一些latex简历的制作魔板,总觉得太死板,定制化能力很差,于是自己写了一个。如下:
需要的代码如下
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
% !Mode:: "TeX:UTF-8"
\documentclass{resume}
\usepackage{ctex} % Simplified Chinese Support using external fonts (./fonts/zh_CN-Adobe/)
%\usepackage{zh_CN-Adobefonts_internal} % Simplified Chinese Support using system fonts
\usepackage{linespacing_fix} % disable extra space before next section
\usepackage[colorlinks,urlcolor=black,linkcolor=black,citecolor=black]{hyperref}
\usepackage{graphics}
\usepackage{varwidth}
\usepackage{float} %控制图片位置
\usepackage{enumitem}
\usepackage{array}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{xeCJK}
\usepackage{fontspec}
\begin{document}
\pagenumbering{gobble} % suppress displaying page number
\leftline{\Large{\textbf{求职意向:后台开发工程师}}}
\leftline{\rule{18.46cm}{0.1mm}}
\vspace{0.5ex}
\leftline {
姓名: \hfill 性别: \hfill 政治面貌: \hfill 电子邮件:{\rmfamily \url{}} \hfill 电话:
}
\section{\faGraduationCap\ {\textbf {教育背景}}}
\raggedright %左对齐
\begin{tabular}{@{}l@{\extracolsep{4em}}lll@{}}
2015.09--至今 &XXX(\textbf{保研})&XXX\textbf{前5\%}
\\
2011.09--2015.06 &XXX&XXX& GPA(\textbf{排名3/218})
\end{tabular}
\begin{figure}[H]
\raggedright
%\centering
\includegraphics[scale=0.12]{dcc.jpg}
\,
\parbox[b]{0.82\textwidth}{
\begin{itemize}[itemsep=-8pt,parsep=-3pt,topsep=0pt,partopsep=0pt]
\item XXX\textbf{导师外一作}\\
\item XXX\textbf{导师外一作}\\
\item XXX”- 201620246785.5 有权\\
\item \textbf{国际专利}-XXX{导师外一作}\\
\item 教育部颁发“ \textbf{国家奖学金}”(2013年),“ \textbf{国家励志奖学金}”(2012、2014年)\\
\item \textbf{*创新项目}XXX\textbf{负责人},XXX\\
\item \textbf{XXX} \qquad \textbf{XXX} \qquad \textbf{XXX}(2015)
\end{itemize}
}
\end{figure}
\section{\faUsers\ 项目经历}
\leftline{\textbf{XXX}\hspace{11em}\textbf{XXX}\hspace{4cm}2016.04--至今}
\vspace{0.5ex}
\begin{itemize}[parsep=0.5ex]
\itemXXX
\item XXX
\item XXX
\item XXX
\end{itemize}
\leftline{\textbf{XXX}\hspace{12em}\textbf{项目负责人}\hspace{4cm}2015.09--2016.03}
%\vspace{0.5ex}
\begin{itemize}[parsep=0.5ex]
\item XXX
\item XXX
\item XXX
\item XXX
\end{itemize}
\renewcommand\arraystretch{1.1}
\section{\faHeartO\ 个人能力}
\raggedright
\begin{tabular}{p{5em}p{20em}p{9em}p{10em}}
2016.07 &XXX& \textbf{总负责}&\textbf{华东分赛区二等奖}
\\
2015.05 &XXX& \textbf{技术负责人}& \textbf{江苏省三等奖}
\\
2014.05 &XXX & \textbf{技术负责人}&\textbf{江苏省银奖}
\end{tabular}
\begin{tabular}{p{5em}p{13em}p{30em}}
2015-至今 & XXX & \textbf{总负责},XXX
\\
2014-2015 & XXX& \textbf{总负责},XXX
\\
2014.08 & XXX& 学校\textbf{唯一}入选(\textbf{XXX}), \textbf{全额资助},XXX
\\
2013-2014 & XXX & \textbf{总负责},XXX\textbf{最佳党日}
\\
2013.08 & XXX & XXX
\\
2012-2013 & XXX & XXX
\end{tabular}
\section{\faCogs\ IT 技能}
%\increase linespacing [parsep=0.5ex]
\begin{itemize}[parsep=0.5ex]
\item C++/Matlab/Opencv,\LaTeX{},微积分,概率论,算法导论基础
\item 扎实的数据结构和算法基础,较强的编程能力
\item 英语六级,通过了江苏省三级偏硬考试和全国计算机二级c语言考试
\item 有在linux下利用C++进行项目开发的经验,\textbf{熟悉Linux操作系统及shell编程}
\end{itemize}
\end{document}
需要的cls文件如下:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{resume}[2015/05/25 An elegant Résumé class]
\LoadClass[11pt]{article}
% disable indent globally
\setlength{\parindent}{0pt}
% some general improvements, defines the XeTeX logo
\RequirePackage{xltxtra}
% use fontawesome
\RequirePackage{fontawesome}
\RequirePackage[
a4paper,
left=0.5in,
right=0.5in,
top=0.4in,
bottom=0.4in,
nohead
]{geometry}
\RequirePackage{titlesec}
\RequirePackage{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]{itemsep=2pt,topsep=0em, leftmargin=1.5pc}
%\setlist[enumerate]{topsep=0.25em, leftmargin=1.5pc}
\RequirePackage[super]{nth}
\titleformat{\section} % Customise the \section command
{\Large\scshape\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
[\titlerule] % Inserts a horizontal line after the heading
\titlespacing*{\section}{0cm}{*1.8}{*1.8}
\titleformat{\subsection}
{\large\raggedright}
{}{0em}
{}
\titlespacing*{\subsection}{0cm}{*1.8}{*0.6}
\newcommand{\datedsection}[2]{%
\section[#1]{#1 \hfill #2}%
}
\newcommand{\datedsubsection}[2]{%
\subsection[#1]{#1 \hfill #2}%
}
\newcommand{\datedline}[2]{%
{\par #1 \hfill #2 \par}%
}
\newcommand{\name}[1]{
\centerline{\Huge{#1}}
\vspace{1.25ex}
}
\newcommand{\contactInfo}[3]{
\centerline{\large{\faEnvelopeO\ {#1} \textperiodcentered {{\Large\faMobile}\ {#2}} \textperiodcentered \faLink\ {#3}}}
\vspace{1.5ex}
}
\newcommand{\basicContactInfo}[3]{
\centerline{\large{\faEnvelopeO\ {#1} \textperiodcentered {{\Large\faMobile}\ {#2}}}}
\vspace{1.5ex}
}
\newcommand{\role}[2]{
{\par \textit{#1} ~ #2 \par}
\vspace{0.85ex}
}