\documentclass[11pt]{article}
\usepackage[
a4paper,
left=1.2cm,
right=1.2cm,
top=1.5cm,
bottom=1cm,
nohead
]{geometry}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{calc}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{fontspec}
\usepackage{fontawesome5}
\usepackage{titlesec}
\usepackage{enumitem}
\usepackage{fancybox}
\hypersetup{hidelinks}
%%%%%%%%%%%%%%%%%%%%
% 设置
%%%%%%%%%%%%%%%%%%%%
\setlength{\parindent}{0pt}
\pagenumbering{gobble}
\setlist[itemize]{
nosep,
before={\vspace*{-\parskip}},
leftmargin=*
}
\setlist[enumerate]{
leftmargin=*
}
\renewcommand{\arraystretch}{1.2}
\linespread{1.25}
%%%%%%%%%%%%%%%%%%%%
% 字体设置
%%%%%%%%%%%%%%%%%%%%
\setmainfont[
Path=fonts/,
Extension=.otf,
BoldFont=*-Bold,
]{NotoSerifSC}
%%%%%%%%%%%%%%%%%%%%
% 西安交大风格配色
%%%%%%%%%%%%%%%%%%%%
\definecolor{xjtu_red}{RGB}{200, 22, 30}
\definecolor{xjtu_blue}{RGB}{0, 78, 151}
\definecolor{xjtu_light}{RGB}{248, 248, 248}
\colorlet{primary_color}{xjtu_red}
\colorlet{secondary_color}{xjtu_blue}
%%%%%%%%%%%%%%%%%%%%
% Section 标题格式
%%%%%%%%%%%%%%%%%%%%
\titleformat{\section}
{\LARGE\bfseries\raggedright}
{}
{0em}
{}
[{\color{secondary_color}\titlerule}]
\titlespacing*{\section}{0cm}{*1.2}{*1.2}
%%%%%%%%%%%%%%%%%%%%
% 可填写信息
%%%%%%%%%%%%%%%%%%%%
\newcommand{\name}{姓名}
\newcommand{\birth}{出生年月}
\newcommand{\gender}{性别}
\newcommand{\political}{政治面貌}
\newcommand{\college}{网络空间安全学院}
\newcommand{\major}{网络空间安全}
\newcommand{\degree}{本科}
\newcommand{\enrolldate}{20XX年9月}
\newcommand{\graduatedate}{至今}
\newcommand{\email}{yourname@stu.xjtu.edu.cn}
\newcommand{\phone}{188-0000-0000}
\newcommand{\githuburl}{https://github.com/yourname}
\newcommand{\githubname}{GitHub主页}
%%%%%%%%%%%%%%%%%%%%
% 文章内容
%%%%%%%%%%%%%%%%%%%%
\newlength{\iconwidth}
\setlength{\iconwidth}{1.5em}
% 学院
\newcommand{\school}{网络空间安全学院 | School of Cyber Science and Engineering}
% 联系方式
\newcommand{\contact}{
\footnotesize
\textcolor{white}{
\faEnvelope \quad \href{mailto:\email}{\email}
\hspace{4em}
\faPhone \quad \phone
\hspace{4em}
\faGithub \quad \href{\githuburl}{\githubname}
}
}
\begin{document}
%%%%%%%%%%%%%%%%%%%%
% 页眉、页脚和背景
%%%%%%%%%%%%%%%%%%%%
% 页眉:西安交大风格,浅灰背景 + 红色校徽 + 红色底线
\begin{tikzpicture}[remember picture, overlay]
\fill[xjtu_light]
(current page.north west)
rectangle
([yshift=-2.2cm]current page.north east);
\draw[xjtu_red, line width=1.2pt]
([yshift=-2.2cm]current page.north west)
--
([yshift=-2.2cm]current page.north east);
\node[anchor=west](school_logo)
at ([xshift=0.5cm,yshift=-1.1cm]current page.north west){
\includegraphics[width=0.25\textwidth]{images/a4-2xbred.png}
};
\node[anchor=east](school_name)
at ([xshift=-0.5cm,yshift=-1.1cm]current page.north east){
\textcolor{xjtu_red}{\large\textbf{\school}}
};
\end{tikzpicture}
\vspace{-3.5em}
% 页脚:交大蓝背景 + 白色联系方式
\begin{tikzpicture}[remember picture, overlay]
\fill[xjtu_blue]
(current page.south west)
rectangle
([yshift=0.85cm]current page.south east);
\node[anchor=center] at ([yshift=0.42cm]current page.south){
\contact
};
\end{tikzpicture}
% 背景水印
\begin{tikzpicture}[remember picture, overlay]
\node[opacity=0.05] at(current page.center){
\includegraphics[
width=0.7\paperwidth,
keepaspectratio
]{images/a1-3jdxhred.png}
};
\end{tikzpicture}
%%%%%%%%%%%%%%%%%%%%
% 简历正文
%%%%%%%%%%%%%%%%%%%%
\begin{minipage}[t]{0.78\textwidth}
% 个人信息
\begin{minipage}[t]{\textwidth}
\section[个人信息]{
\makebox[\iconwidth][c]{
\color{primary_color}{\faAddressCard}
}
\quad 个人信息
}
\begin{minipage}[t]{0.5\textwidth}
\textbf{姓\qquad 名}:\name
\vspace{0.5em}
\textbf{出生年月}:\birth
\end{minipage}
\begin{minipage}[t]{0.35\textwidth}
\textbf{性\qquad 别}:\gender
\vspace{0.5em}
\textbf{政治面貌}:\political
\end{minipage}
\vspace{1.2em}
\end{minipage}
% 教育背景
\begin{minipage}[t]{\textwidth}
\section[教育背景]{
\makebox[\iconwidth][c]{
\color{primary_color}{\faGraduationCap}
}
\quad 教育背景
}
{\large \textbf{西安交通大学}},\degree
\hfill \enrolldate--\graduatedate
\begin{itemize}
\item \college,\major
\item \textbf{主修课程}:课程1、课程2、课程3、课程4\ 等。
\end{itemize}
\vspace{1.2em}
\end{minipage}
\end{minipage}
\hfill
\begin{minipage}[t]{0.2\textwidth}
\vspace{2em}
\centering
\includegraphics[
width=0.85\linewidth,
keepaspectratio
]{images/fig.png}
\end{minipage}
%%%%%%%%%%%%%%%%%%%%
% 竞赛成果
%%%%%%%%%%%%%%%%%%%%
\begin{minipage}[t]{\textwidth}
\section[竞赛成果]{
\makebox[\iconwidth][c]{
\color{primary_color}{\faTrophy}
}
\quad 竞赛成果
}
\begin{itemize}
\item \textbf{竞赛名称一} \hfill \textbf{国家级 / 省级 / 校级 奖项}
\item \textbf{竞赛名称二} \hfill \textbf{国家级 / 省级 / 校级 奖项}
\end{itemize}
\vspace{1em}
\end{minipage}
%%%%%%%%%%%%%%%%%%%%
% 所获荣誉
%%%%%%%%%%%%%%%%%%%%
\section[所获荣誉]{
\makebox[\iconwidth][c]{
\color{primary_color}{\faStar}
}
\quad 所获荣誉
}
\begin{itemize}
\item \textbf{荣誉名称一} \hfill 20XX--20XX学年
\item \textbf{荣誉名称二} \hfill 20XX--20XX学年
\item \textbf{奖学金或其他荣誉} \hfill 20XX年
\end{itemize}
%%%%%%%%%%%%%%%%%%%%
% 项目经历
%%%%%%%%%%%%%%%%%%%%
\begin{minipage}[t]{\textwidth}
\section[项目经历]{
\makebox[\iconwidth][c]{
\color{primary_color}{\faProjectDiagram}
}
\quad 项目经历
}
{\large \textbf{项目名称一}}
\begin{itemize}
\item \textbf{项目角色 / 主要职责}
\item 用一句话概括项目背景、所用技术、个人工作和项目结果。
\end{itemize}
\vspace{0.5em}
{\large \textbf{项目名称二}}
\begin{itemize}
\item \textbf{项目角色 / 主要职责}
\item 用一句话概括项目背景、所用技术、个人工作和项目结果。
\end{itemize}
\vspace{0.5em}
{\large \textbf{项目名称三}}
\begin{itemize}
\item \textbf{项目角色 / 主要职责}
\item 用一句话概括项目背景、所用技术、个人工作和项目结果。
\end{itemize}
\vspace{0.9em}
\end{minipage}
%%%%%%%%%%%%%%%%%%%%
% 技能特长
%%%%%%%%%%%%%%%%%%%%
\section[技能特长]{
\makebox[\iconwidth][c]{
\color{primary_color}{\faTools}
}
\quad 技能特长
}
\begin{itemize}
\item \textbf{编程与工具}:Python,C/C++,SQL,\LaTeX,Git,Linux,PowerShell。
\item \textbf{专业方向}:方向1、方向2、方向3。
\item \textbf{实验能力}:能够完成数据处理、模型训练、指标评估、结果可视化等工作。
\item \textbf{文档撰写}:能够撰写实验报告、课程论文、项目 README 与复现实验说明。
\end{itemize}
\end{document}
PDF Preview
Create an account to compile and preview