增加了中文注释。

This commit is contained in:
laoyang
2022-05-30 21:22:51 +08:00
parent e554bd3711
commit c3f3f52715
+13 -35
View File
@@ -27,10 +27,8 @@
\ProcessOptions
% Dependences
%A Few Useful Packages
\RequirePackage[frenchb]{babel}
%\RequirePackage[utf8]{luainputenc} % luatex
\RequirePackage{fontspec} % for loading fonts
\RequirePackage{url,parskip} % other packages for formatting
\RequirePackage[usenames,dvipsnames]{xcolor}
@@ -158,8 +156,7 @@
\end{tikzpicture}
}
% Render author's name
% Usage: \user{<firstanme>}{<lastname>}
% 渲染作者姓名
\newcommand\user[2]{\color{accentcolor}{\LARGE #1 \textbf{#2}}\color{Black}}
% Render a text with its symbol
@@ -186,24 +183,19 @@
% Usage: \tagline{<tag line>}
\newcommand*{\tagline}[1]{\def\@tagline{#1}}
% Define author's photo
% Usage \photo{<diameter>}{<photo>}
% 渲染头像
\newcommand{\photo}[2]{\def\@photo{#2}\def\@photodiameter{#1}}
% Render author's address
% Usage: \address{<address>}
% 渲染地址
\newcommand*{\address}[1]{\socialtext{\locationSymbol}{#1}}
% Render author's infos
% Usage: \infos{<infos>}
% 渲染作者信息
\newcommand*{\infos}[1]{\socialtext{\infoSymbol}{#1}}
% Render author's homepage
% Usage: \homepage{<homepage>}
% 渲染作者地址
\newcommand*{\homepage}[1]{\sociallink{\homeSymbol}{http://#1}{#1}}
% Render author's homepage
% Usage: \weibo{<weibo>}
% 渲染作者的网站
\newcommand*{\weibo}[1]{\sociallink{\weiboSymbol}{http://www.weibo.com/#1}{weibo.com/#1}}
@@ -219,12 +211,12 @@
% Usage: \github{<github-nick>}
\newcommand*{\github}[1]{\sociallink{\githubSymbol}{https://www.github.com/#1}{github.com/#1}} % Github icon + URL
% Render author's email (optional)
%渲染作者邮箱
% Usage: \email{<email adress>}
\newcommand*{\email}[1]{\sociallink{\mailSymbol}{mailto:#1}{#1}}
\newcommand*{\emailO}[1]{\sociallink{\mailSymbolO}{mailto:#1}{#1}}
% Render author's mobile phone (optional)
%渲染作者电话
% Usage: \smartphone{<mobile phone number>}
\newcommand*\smartphone[1]{\socialtext{\mobileSymbol}{#1}}
@@ -304,7 +296,7 @@
}
}
% Resume part title definition
%每一部分的标题设定
\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{accentcolor}#2\enspace #1}{#1}}}
% Define a new column type for the scholarship environment
@@ -356,14 +348,7 @@
% Render an experience in the experiences environment
% Usage:
% \experience
% {<End date>} {<Title>}{<Enterprise>}{<Country>}
% {<Start date} {
% <Experience description (Could be a list)>
% }
% {<Technology list>}
%
\newcommand\experience[7]{
\textsc{#1} & \textbf{#2, #3, #4} \\*
\textsc{#5} & \begin{minipage}[t]{\rightcolumnlength}
@@ -373,15 +358,8 @@
& \footnotesize{\foreach \n in {#7}{ \cvtag{\n}}} \\
}
% Render a consultant experience in the experiences environment
% Usage:
% \consultantexperience
% {<End date>} {<Consultant title>}{<Consulting Enterprise>}{<Country>}
% {<Start date} {<Client title>}{<Client business unit>}
% {
% <Experience description (Could be a list)>
% }
% {<Technology list>}
%
\newcommand\consultantexperience[9]{
\textsc{#1} & \textbf{#2, #3, #4} \\*
\textsc{#5} & \emph{#6} pour #7 \\*