diff --git a/CV.pdf b/CV.pdf index 678f3a9..6182ed5 100644 Binary files a/CV.pdf and b/CV.pdf differ diff --git a/example_cover_letter.pdf b/example_cover_letter.pdf new file mode 100644 index 0000000..4b0f60a Binary files /dev/null and b/example_cover_letter.pdf differ diff --git a/example_cover_letter.tex b/example_cover_letter.tex new file mode 100644 index 0000000..98f943e --- /dev/null +++ b/example_cover_letter.tex @@ -0,0 +1,31 @@ +\documentclass{muratcan_cv} + +\setname{Murat Can}{Karacabey} +\setaddress{Munich/Germany} +\setmobile{xx xxx xx xx} +\setmail{muratcankaracabey@gmail.com} +\setposition{Work Student} %ignored for now +\setlinkedinaccount{https://www.linkedin.com/in/murat-can-karacabey-568a96b1/} %you can play with color of the template (red is also nice..) +\setgithubaccount{https://github.com/muratcankaracabey} %you can play with color of the template (red is also nice..) +\setthemecolor{red} %you can play with color of the template (red is also nice..) + +\begin{document} +%Set variables +%You can add sections, texts, explanations just by copying the style below. Replace the dummy texts "\lipsum[1][x-x]\par" with actual texts. +%Create header +\headerview +\vspace{1ex} +%Sections +% +\setcompanyname{GOOGLE INC.} +\setcontactperson{Mr.Brown} +\setclaimedposition{Junior Data Scientist} +\coverletter{ % +\indent \lipsum[1][1-20] %replace this part with actual text + + +\lipsum[2][1-20] %replace this part with actual text +} +%Footnote +\createfootnote +\end{document} diff --git a/images/coverletter.png b/images/coverletter.png new file mode 100644 index 0000000..3f20f87 Binary files /dev/null and b/images/coverletter.png differ diff --git a/images/example_cv.png b/images/example_cv.png index cd25ec7..478f487 100644 Binary files a/images/example_cv.png and b/images/example_cv.png differ diff --git a/muratcan_cv.cls b/muratcan_cv.cls index f1e83be..e79343a 100644 --- a/muratcan_cv.cls +++ b/muratcan_cv.cls @@ -4,7 +4,7 @@ % Might be interpreted as an easier-to-edit or easier-to-understand-what-is-going-on version of it. \author{Murat Can Karacabey} \RequirePackage[dvipsnames]{xcolor} % moved here I guess article class causes option clash with xcolor if used after loading the class -\LoadClass[10pt]{article} +\LoadClass[11pt]{article} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{muratcan_cv}[2020/04/15 Muratcan CV Class] \RequirePackage[sfdefault]{noto} @@ -19,6 +19,7 @@ \RequirePackage{mfirstuc} \RequirePackage{ifthen} \RequirePackage{lipsum} +\RequirePackage{array} \pagestyle{empty} %Setup @@ -32,6 +33,13 @@ \newcommand*{\setlinkedinaccount}[1]{\def\@linkedinaccount{#1}} \newcommand*{\setgithubaccount}[1]{\def\@githubaccount{#1}} +%Setup for coverletter + +\newcommand*{\setcompanyname}[1]{\def\@companyname{#1}} +\newcommand*{\setcontactperson}[1]{\def\@contactperson{#1}} +\newcommand*{\setclaimedposition}[1]{\def\@claimedposition{#1}} + + \hypersetup{ colorlinks=true, urlcolor=cyan, @@ -82,6 +90,23 @@ } % } +% Covverletterview + +\newcommand\coverletter[1]{ +\\ \coverlettersubview +\section{} +\textbf{ Dear \@contactperson, \\[0.5cm]} + #1 +} + +\newcommand\coverlettersubview{ +\begin{tabular}{>{\scshape \bfseries \color{\@themecolor}}l >{\small }l} +Company: & \@companyname \\ +Position: & \@claimedposition \\ +\end{tabular} +} + + % Helper commands \newcommand\ruleafter[1]{#1~{\color{black!60!\@themecolor}\hrulefill}} % a trick to put the line with parameter in \titleformat @@ -89,7 +114,7 @@ %colorfulpipeseperator \newcommand{\cps}{{\color{\@themecolor} \quad\textbar\quad}} -\newcommand{\cpshalf}{{\color{\@themecolor} \hspace{0.5em}\textbar\hspace{0.5em}}} +\newcommand{\cpshalf}{{\color{\@themecolor} \hspace{0.2em}\textbar\hspace{0.2em}}} \newcommand{\coloredbullet}{{\color{\@themecolor} \textbullet}} @@ -101,7 +126,7 @@ {}{0em} % Can be used to give a prefix to all sections, like 'Section ...' {\ruleafter} % Can be used to insert code before the heading -\titlespacing*{\section}{0pt}{0pt}{4pt} +\titlespacing*{\section}{-1pt}{0pt}{0pt} % Textview commands @@ -114,15 +139,15 @@ } \newcommand{\datedexperience}[2]{% - \begin{small} \mbox { \hspace{1em} \scshape \textbf{#1} } \end{small} \hfill \datetext{#2}\\[0.25ex] % + \begin{small} \mbox { \hspace{1em} \scshape \textbf{#1} } \end{small} \hfill \datetext{#2}\\[0.01cm] % } \newcommand{\explanation}[1]{% - \noindent \mbox { \scshape \hspace{1.2em} \footnotesize #1}\\[0.25ex] + \noindent \mbox { \scshape \hspace{1.2em} \footnotesize #1}\\[0.05cm] } \newcommand{\explanationdetail}[1]{% - \begin{minipage}{\linewidth} \hspace{1.5em} \footnotesize #1 \end{minipage} \\[0.75ex] + \begin{minipage}{\linewidth} \hspace{1.5em} \footnotesize #1 \end{minipage} \\[0.1cm] } \newcommand{\simpletext}[1]{% @@ -156,7 +181,7 @@ \explanationdetail{ \begin{tabular}{rl} \makeatletter - \@for\thisitem:=#1\do{\thisitem\\[1ex]} + \@for\thisitem:=#1\do{\thisitem\\[0.1cm]} \makeatother \end{tabular} }