From c3f3f527159b6da3c0111fa7b38d0239d6c9655d Mon Sep 17 00:00:00 2001 From: laoyang Date: Mon, 30 May 2022 21:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- awesome-source-cv.cls | 48 ++++++++++++------------------------------- 1 file changed, 13 insertions(+), 35 deletions(-) diff --git a/awesome-source-cv.cls b/awesome-source-cv.cls index 4b26ed4..2679c12 100644 --- a/awesome-source-cv.cls +++ b/awesome-source-cv.cls @@ -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{}{} +% 渲染作者姓名 \newcommand\user[2]{\color{accentcolor}{\LARGE #1 \textbf{#2}}\color{Black}} % Render a text with its symbol @@ -186,24 +183,19 @@ % Usage: \tagline{} \newcommand*{\tagline}[1]{\def\@tagline{#1}} -% Define author's photo -% Usage \photo{}{} +% 渲染头像 \newcommand{\photo}[2]{\def\@photo{#2}\def\@photodiameter{#1}} -% Render author's address -% Usage: \address{
} +% 渲染地址 \newcommand*{\address}[1]{\socialtext{\locationSymbol}{#1}} -% Render author's infos -% Usage: \infos{} +% 渲染作者信息 \newcommand*{\infos}[1]{\socialtext{\infoSymbol}{#1}} -% Render author's homepage -% Usage: \homepage{} +% 渲染作者地址 \newcommand*{\homepage}[1]{\sociallink{\homeSymbol}{http://#1}{#1}} -% Render author's homepage -% Usage: \weibo{} +% 渲染作者的网站 \newcommand*{\weibo}[1]{\sociallink{\weiboSymbol}{http://www.weibo.com/#1}{weibo.com/#1}} @@ -219,12 +211,12 @@ % Usage: \github{} \newcommand*{\github}[1]{\sociallink{\githubSymbol}{https://www.github.com/#1}{github.com/#1}} % Github icon + URL -% Render author's email (optional) +%渲染作者邮箱 % Usage: \email{} \newcommand*{\email}[1]{\sociallink{\mailSymbol}{mailto:#1}{#1}} \newcommand*{\emailO}[1]{\sociallink{\mailSymbolO}{mailto:#1}{#1}} -% Render author's mobile phone (optional) +%渲染作者电话 % Usage: \smartphone{} \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 -% {} {}{<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 \\*