mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-22 22:18:40 +00:00
Added header line for personal details
This commit is contained in:
parent
7312b56929
commit
d7844c088a
3 changed files with 63 additions and 10 deletions
69
awesome-cv.cls
Normal file → Executable file
69
awesome-cv.cls
Normal file → Executable file
|
@ -78,7 +78,9 @@
|
||||||
% Needed to deal a paragraphs
|
% Needed to deal a paragraphs
|
||||||
\RequirePackage{parskip}
|
\RequirePackage{parskip}
|
||||||
% Needed to deal hyperlink
|
% Needed to deal hyperlink
|
||||||
\RequirePackage[hidelinks,unicode]{hyperref}
|
\RequirePackage[hidelinks]{hyperref}
|
||||||
|
% Needed to print out the total pages number
|
||||||
|
\RequirePackage{lastpage}
|
||||||
\hypersetup{%
|
\hypersetup{%
|
||||||
pdftitle={},
|
pdftitle={},
|
||||||
pdfauthor={},
|
pdfauthor={},
|
||||||
|
@ -286,6 +288,18 @@
|
||||||
% Usage: \mobile{<mobile number>}
|
% Usage: \mobile{<mobile number>}
|
||||||
\newcommand*{\mobile}[1]{\def\@mobile{#1}}
|
\newcommand*{\mobile}[1]{\def\@mobile{#1}}
|
||||||
|
|
||||||
|
% Defines writer's mobile (optional)
|
||||||
|
% Usage: \sex<sex>}
|
||||||
|
\newcommand*{\sex}[1]{\def\@sex{#1}}
|
||||||
|
|
||||||
|
% Defines writer's mobile (optional)
|
||||||
|
% Usage: \nationality<nationality>}
|
||||||
|
\newcommand*{\nationality}[1]{\def\@nationality{#1}}
|
||||||
|
|
||||||
|
% Defines writer's mobile (optional)
|
||||||
|
% Usage: \birthdate<birthdate>}
|
||||||
|
\newcommand*{\birthdate}[1]{\def\@birthdate{#1}}
|
||||||
|
|
||||||
% Defines writer's email (optional)
|
% Defines writer's email (optional)
|
||||||
% Usage: \email{<email adress>}
|
% Usage: \email{<email adress>}
|
||||||
\newcommand*{\email}[1]{\def\@email{#1}}
|
\newcommand*{\email}[1]{\def\@email{#1}}
|
||||||
|
@ -365,6 +379,8 @@
|
||||||
\def\@letterenclosure{#2}
|
\def\@letterenclosure{#2}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% Define a link to the project
|
||||||
|
\newcommand*{\projectlink}[1]{[\href{#1}{\begin{scriptsize}\faBitbucket\acvHeaderIconSep\end{scriptsize} link}]}
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% Commands for extra
|
% Commands for extra
|
||||||
|
@ -375,6 +391,7 @@
|
||||||
\newcommand{\acvHeaderAfterNameSkip}{.4mm}
|
\newcommand{\acvHeaderAfterNameSkip}{.4mm}
|
||||||
\newcommand{\acvHeaderAfterPositionSkip}{.4mm}
|
\newcommand{\acvHeaderAfterPositionSkip}{.4mm}
|
||||||
\newcommand{\acvHeaderAfterAddressSkip}{-.5mm}
|
\newcommand{\acvHeaderAfterAddressSkip}{-.5mm}
|
||||||
|
\newcommand{\acvHeaderAfterDetailsSkip}{-.5mm}
|
||||||
\newcommand{\acvHeaderIconSep}{\space}
|
\newcommand{\acvHeaderIconSep}{\space}
|
||||||
\newcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
|
\newcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
|
||||||
\newcommand{\acvHeaderAfterSocialSkip}{6mm}
|
\newcommand{\acvHeaderAfterSocialSkip}{6mm}
|
||||||
|
@ -411,6 +428,28 @@
|
||||||
\\[\acvHeaderAfterNameSkip]%
|
\\[\acvHeaderAfterNameSkip]%
|
||||||
\ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}%
|
\ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}%
|
||||||
\ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvHeaderAfterAddressSkip]}}%
|
\ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvHeaderAfterAddressSkip]}}%
|
||||||
|
\headersocialstyle{%
|
||||||
|
\newbool{isstart}%
|
||||||
|
\setbool{isstart}{true}%
|
||||||
|
\ifthenelse{\isundefined{\@sex}}%
|
||||||
|
{}%
|
||||||
|
{%
|
||||||
|
\faMale\acvHeaderIconSep\@sex%
|
||||||
|
\setbool{isstart}{false}%
|
||||||
|
}%
|
||||||
|
\ifthenelse{\isundefined{\@birthdate}}%
|
||||||
|
{}%
|
||||||
|
{%
|
||||||
|
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||||
|
\faCalendar\acvHeaderIconSep\@birthdate%
|
||||||
|
}%
|
||||||
|
\ifthenelse{\isundefined{\@nationality}}%
|
||||||
|
{}%
|
||||||
|
{%
|
||||||
|
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||||
|
\faGlobe\acvHeaderIconSep\@nationality%
|
||||||
|
}%
|
||||||
|
} \\[\acvHeaderAfterDetailsSkip]%
|
||||||
\headersocialstyle{%
|
\headersocialstyle{%
|
||||||
\newbool{isstart}%
|
\newbool{isstart}%
|
||||||
\setbool{isstart}{true}%
|
\setbool{isstart}{true}%
|
||||||
|
@ -484,6 +523,7 @@
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{}%
|
||||||
{\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}%
|
{\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}%
|
||||||
|
|
||||||
\end{center}%
|
\end{center}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -524,13 +564,6 @@
|
||||||
\vspace{2mm}
|
\vspace{2mm}
|
||||||
}
|
}
|
||||||
|
|
||||||
% Define an environment for cventry
|
|
||||||
\newenvironment{cventries}{%
|
|
||||||
\vspace{\acvSectionContentTopSkip}
|
|
||||||
\begin{center}
|
|
||||||
}{%
|
|
||||||
\end{center}
|
|
||||||
}
|
|
||||||
% Define an entry of cv information
|
% Define an entry of cv information
|
||||||
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
|
% Usage: \cventry{<position>}{<title>}{<location>}{<date>}{<description>}
|
||||||
\newcommand*{\cventry}[5]{%
|
\newcommand*{\cventry}[5]{%
|
||||||
|
@ -546,12 +579,28 @@
|
||||||
\end{tabular*}%
|
\end{tabular*}%
|
||||||
}
|
}
|
||||||
|
|
||||||
% Define an environment for cvsubentry
|
% Define an entry of cv information
|
||||||
\newenvironment{cvsubentries}{%
|
% Usage: \cvbasicentry{<position>}{<title>}{<location>}{<date>}
|
||||||
|
\newcommand*{\cvbasicentry}[4]{%
|
||||||
|
\vspace{-2.0mm}
|
||||||
|
\setlength\tabcolsep{0pt}
|
||||||
|
\setlength{\extrarowheight}{0pt}
|
||||||
|
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
|
||||||
|
\ifempty{#2#3}
|
||||||
|
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
||||||
|
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
|
||||||
|
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
|
||||||
|
\end{tabular*}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Define an environment for cventry
|
||||||
|
\newenvironment{cventries}{%
|
||||||
|
\vspace{\acvSectionContentTopSkip}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
}{%
|
}{%
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
|
|
||||||
% Define a subentry of cv information
|
% Define a subentry of cv information
|
||||||
% Usage: \cvsubentry{<position>}{<title>}{<date>}{<description>}
|
% Usage: \cvsubentry{<position>}{<title>}{<date>}{<description>}
|
||||||
\newcommand*{\cvsubentry}[4]{%
|
\newcommand*{\cvsubentry}[4]{%
|
||||||
|
|
BIN
examples/cv.pdf
BIN
examples/cv.pdf
Binary file not shown.
|
@ -55,6 +55,10 @@
|
||||||
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
|
\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}
|
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
|
||||||
|
|
||||||
|
\sex{Male}
|
||||||
|
\nationality{Italian}
|
||||||
|
\birthdate{4 May 1991}
|
||||||
|
|
||||||
\mobile{(+82) 10-9030-1843}
|
\mobile{(+82) 10-9030-1843}
|
||||||
\email{posquit0.bj@gmail.com}
|
\email{posquit0.bj@gmail.com}
|
||||||
\homepage{www.posquit0.com}
|
\homepage{www.posquit0.com}
|
||||||
|
|
Loading…
Reference in a new issue