From 6b141a542f03e58bed4a054ad2186cdd73706b6d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 14 May 2019 00:29:04 +0800 Subject: class: Rename macro '\socialinfo' to '\profile' --- resume-en.tex | 2 +- resume-zh.tex | 2 +- resume.cls | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resume-en.tex b/resume-en.tex index 2aa8eab..1ca3589 100644 --- a/resume-en.tex +++ b/resume-en.tex @@ -48,7 +48,7 @@ % \photo{}{} -\socialinfo{ +\profile{ \mobile{132-6262-0332} \email{liweitianux@live.com} \github{liweitianux} \\ diff --git a/resume-zh.tex b/resume-zh.tex index 19fd272..a5ea929 100644 --- a/resume-zh.tex +++ b/resume-zh.tex @@ -25,7 +25,7 @@ % \photo{}{} -\socialinfo{ +\profile{ \mobile{132-6262-0332} \email{liweitianux@live.com} \github{liweitianux} \\ diff --git a/resume.cls b/resume.cls index 99714bb..9a48ff0 100644 --- a/resume.cls +++ b/resume.cls @@ -12,7 +12,7 @@ %% https://www.latextemplates.com/template/plasmati-graduate-cv %% -\ProvidesClass{resume}[2019/05/14 v2.4.2 Resume Class] +\ProvidesClass{resume}[2019/05/14 v2.4.3 Resume Class] \LoadClass{article} %% @@ -301,8 +301,8 @@ {{\LARGE\bfseries #1 \textsc{#2}}}% }} -% Define social entries to print in header -\newcommand*{\socialinfo}[1]{\def\@socialinfo{#1}} +% Define the profile to show in the header +\newcommand*{\profile}[1]{\def\@profile{#1}} % Render resume header \newcommand*{\makeheader}{ @@ -324,7 +324,7 @@ \resumetitle{\@tagline} }{} \smallskip \\ - \@socialinfo + \@profile \end{minipage} \smallskip } -- cgit v1.2.2