add extra informations part on the header

This commit is contained in:
Posquit0.BJ 2016-01-09 20:40:03 +09:00
parent eea297bfc1
commit b3232d1db3
10 changed files with 37 additions and 11 deletions

View file

@ -21,7 +21,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Identification % Identification
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\ProvidesClass{awesome-cv}[2015/12/14 v1.3 Awesome Curriculum Vitae Class] \ProvidesClass{awesome-cv}[2016/01/09 v1.4 Awesome Curriculum Vitae Class]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
@ -297,24 +297,28 @@
% Usage: \github{<github-nick>} % Usage: \github{<github-nick>}
\newcommand*{\github}[1]{\def\@github{#1}} \newcommand*{\github}[1]{\def\@github{#1}}
% Defines writer's linked-in (optional)
% Usage: \linkedin{<linked-in-nick>}
\newcommand*{\linkedin}[1]{\def\@linkedin{#1}}
% Defines writer's stackoverflow profile (optional) % Defines writer's stackoverflow profile (optional)
% Usage: \stackoverflow{<so userid>}{<so username>} % Usage: \stackoverflow{<so userid>}{<so username>}
% e.g.https://stackoverflow.com/users/123456/sam-smith % e.g.https://stackoverflow.com/users/123456/sam-smith
% would be \stackoverflow{123456}{sam-smith} % would be \stackoverflow{123456}{sam-smith}
\newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}} \newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}}
% Defines writer's skype (optional) % Defines writer's linked-in (optional)
% Usage: \skype{<skype account>} % Usage: \linkedin{<linked-in-nick>}
\newcommand*{\skype}[1]{\def\@skype{#1}} \newcommand*{\linkedin}[1]{\def\@linkedin{#1}}
% Defines writer's twitter (optional) % Defines writer's twitter (optional)
% Usage: \twitter{<twitter handle>} % Usage: \twitter{<twitter handle>}
\newcommand*{\twitter}[1]{\def\@twitter{#1}} \newcommand*{\twitter}[1]{\def\@twitter{#1}}
% Defines writer's skype (optional)
% Usage: \skype{<skype account>}
\newcommand*{\skype}[1]{\def\@skype{#1}}
% Defines writer's extra informations (optional)
% Usage: \extrainfo{<extra informations>}
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
% Defines writer's quote (optional) % Defines writer's quote (optional)
% Usage: \quote{<quote>} % Usage: \quote{<quote>}
\renewcommand*{\quote}[1]{\def\@quote{#1}} \renewcommand*{\quote}[1]{\def\@quote{#1}}
@ -471,6 +475,16 @@
{\acvHeaderSocialSep}% {\acvHeaderSocialSep}%
\faSkype\acvHeaderIconSep\@skype% \faSkype\acvHeaderIconSep\@skype%
}% }%
\ifthenelse{\isundefined{\@extrainfo}}%
{}%
{%
\ifbool{isstart}%
{%
\setbool{istart}{false} %
}%
{\acvHeaderSocialSep}%
\@extrainfo%
}%
} \\[\acvHeaderAfterSocialSkip]% } \\[\acvHeaderAfterSocialSkip]%
\ifthenelse{\isundefined{\@quote}}% \ifthenelse{\isundefined{\@quote}}%
{}% {}%

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

View file

@ -22,7 +22,7 @@
%% Page Layout %% Page Layout
% Configure page margins with geometry % Configure page margins with geometry
\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} % \geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm}
%%% Override a directory location for fonts(default: 'fonts/') %%% Override a directory location for fonts(default: 'fonts/')
\fontdir[fonts/] \fontdir[fonts/]
@ -55,7 +55,11 @@
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
% \stackoverflow{SOid}{SOname}
\linkedin{posquit0} \linkedin{posquit0}
% \twitter{@twit}
% \skype{skypeid}
% \extrainfo{extra informations}
%%% Optionals %%% Optionals
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\quote{``Make the change that you want to see in the world."} \quote{``Make the change that you want to see in the world."}

Binary file not shown.

View file

@ -22,7 +22,7 @@
%% Page Layout %% Page Layout
% Configure page margins with geometry % Configure page margins with geometry
\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} % \geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm}
%%% Override a directory location for fonts(default: 'fonts/') %%% Override a directory location for fonts(default: 'fonts/')
\fontdir[fonts/] \fontdir[fonts/]
@ -65,7 +65,11 @@
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
% \stackoverflow{SOid}{SOname}
\linkedin{posquit0} \linkedin{posquit0}
% \twitter{@twit}
% \skype{skypeid}
% \extrainfo{extra informations}
%%% Optionals %%% Optionals
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\quote{``Make the change that you want to see in the world."} \quote{``Make the change that you want to see in the world."}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

View file

@ -22,7 +22,7 @@
%% Page Layout %% Page Layout
% Configure page margins with geometry % Configure page margins with geometry
\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} % \geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm}
%%% Override a directory location for fonts(default: 'fonts/') %%% Override a directory location for fonts(default: 'fonts/')
\fontdir[fonts/] \fontdir[fonts/]
@ -65,7 +65,11 @@
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
% \stackoverflow{SOid}{SOname}
\linkedin{posquit0} \linkedin{posquit0}
% \twitter{@twit}
% \skype{skypeid}
% \extrainfo{extra informations}
%%% Optionals %%% Optionals
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\quote{``Make the change that you want to see in the world."} \quote{``Make the change that you want to see in the world."}