aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-05-14 00:29:04 +0800
committerAaron LI <aly@aaronly.me>2019-05-14 00:29:38 +0800
commit6b141a542f03e58bed4a054ad2186cdd73706b6d (patch)
tree55a0acb22a3767e94a4b557c64ec4231f1c6258a
parent128ffb3a277f061944344c1a8f2b9314d0ba57f4 (diff)
downloadresume-6b141a542f03e58bed4a054ad2186cdd73706b6d.tar.bz2
class: Rename macro '\socialinfo' to '\profile'
-rw-r--r--resume-en.tex2
-rw-r--r--resume-zh.tex2
-rw-r--r--resume.cls8
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{<height>}{<filename>}
-\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{<height>}{<filename>}
-\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
}