Add newcommand lastupdate to print last date of updation

This commit is contained in:
dilippuri 2016-08-09 13:56:52 +05:30
parent 68f4785bea
commit 913c0859ef
2 changed files with 13 additions and 5 deletions

View file

@ -10,7 +10,7 @@
%
% Notes:
% 1) This class file defines the structure and layout of the template file (cv.tex, resume.tex).
% 2) It has been written in such a way that under most circumstances you
% 2) It has been written in such a way that under most circumstances you
% should not need to edit it.
%
% Class license:
@ -263,6 +263,10 @@
%-------------------------------------------------------------------------------
% Commands for personal information
%-------------------------------------------------------------------------------
% Define last update date
% Usage: \lastupdate{<date>}
\newcommand*{\lastupdate}[1]{\def\@lastupdate{#1}}
% Define writer's name
% Usage: \name{<firstname>}{<lastname>}
% Usage: \firstname{<firstname>}
@ -406,6 +410,9 @@
% Define a header for CV
% Usage: \makecvheader
\newcommand*{\makecvheader}{%
\begin{flushright}
\@lastupdate
\end{flushright}
\begin{center}
\headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}%
\\[\acvHeaderAfterNameSkip]%
@ -493,7 +500,7 @@
\fancyfoot{}
\fancyfoot[L]{\footerstyle{#1}}
\fancyfoot[C]{\footerstyle{#2}}
\fancyfoot[R]{\footerstyle{#3}}
\fancyfoot[R]{\footerstyle{#3}}
}
% Define a section for CV
@ -560,7 +567,7 @@
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
\setlength\leftskip{0.2cm}
\subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
{\subentrydatestyle{#3}}{}
{\subentrydatestyle{#3}}{}
\ifthenelse{\equal{#1}{}}
{}
{\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\}
@ -654,7 +661,7 @@
\ifthenelse{\isundefined{\@lettertitle}}
{}
{\lettertitlestyle{\@lettertitle} \\}
\lettertextstyle{\@letteropening}
\lettertextstyle{\@letteropening}
}
% Define a closing of the cover letter

View file

@ -51,11 +51,12 @@
% PERSONAL INFORMATION
% Comment any of the lines below if they are not required
%-------------------------------------------------------------------------------
\lastupdate{Last updated on \today}
\name{Claud D.}{Park}
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
\mobile{(+82) 10-9030-1843}
\mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com}
\github{posquit0}