CV/main.tex
2014-09-04 23:27:24 +02:00

279 lines
11 KiB
TeX

%-----------------------------------------------------------------------------------------------------------------------------------------------%
% The MIT License (MIT)
%
% Copyright (c) 2014 Jan Küster
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
%
% The above copyright notice and this permission notice shall be included in
% all copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
% THE SOFTWARE.
%
%
%-----------------------------------------------------------------------------------------------------------------------------------------------%
%============================================================================%
%
% DOCUMENT DEFINITION
%
%============================================================================%
\documentclass[11pt,A4]{article} %we use article class because we want to fully customize the page and dont use a cv template
\usepackage{multicol} %we use multicol because we dont want the whole page to be multicolumn
%----------------------------------------------------------------------------------------
% ENCODING
%----------------------------------------------------------------------------------------
\usepackage[utf8]{inputenc} %we use utf8 since we want to build from any machine
%----------------------------------------------------------------------------------------
% FONT
%----------------------------------------------------------------------------------------
% some tex-live fonts - choose your own
%\usepackage[defaultsans]{droidsans}
%\usepackage[default]{comfortaa}
%\usepackage{cmbright}
\usepackage[default]{raleway}
%\usepackage{fetamont}
%\usepackage[default]{gillius}
%\usepackage[light,math]{iwona}
%\usepackage[thin]{roboto}
\renewcommand*\familydefault{\sfdefault} % Only if the base font of the document is to be typewriter style
\usepackage[T1]{fontenc}
\usepackage{moresize} %more font size definitions
%----------------------------------------------------------------------------------------
% PAGE LAYOUT DEFINITIONS
%----------------------------------------------------------------------------------------
%\usepackage{showframe} %debug
\usepackage[a4paper]{geometry} %define page styles using geometry
\geometry{top=2cm,bottom=2cm,
left=2cm,right=2.5cm} % for example, change the margins to 2 inches all round
\usepackage{fancyhdr} %customize header
\pagestyle{fancy}
\setlength{\headheight}{-5pt} %less space between header and content
\lhead{}
\chead{ \small{Jan Küster $\cdot$ Kissinger Str. 31 $\cdot$ 28215, Bremen, Germany $\cdot$ \textcolor{sectcol}{contact@jankuester.com} $\cdot$ +49 176 313 877 34}}
\rhead{}
\setlength{\parindent}{0mm}
%----------------------------------------------------------------------------------------
% GRAPHICS DEFINITIONS
%----------------------------------------------------------------------------------------
\usepackage{graphicx} %for header image
\usepackage{tikz} %for drawing graphics
\usetikzlibrary{shapes, backgrounds,calendar,patterns}
\usepackage{wrapfig}
%----------------------------------------------------------------------------------------
% Color DEFINITIONS
%----------------------------------------------------------------------------------------
\usepackage{color}
\definecolor{sectcol}{RGB}{255,150,0}
\definecolor{bgcol}{RGB}{110,110,110}
%============================================================================%
%
% OVERRIDES
%
%============================================================================%
%----------------------------------------------------------------------------------------
% HEADER
%----------------------------------------------------------------------------------------
\renewcommand{\headrulewidth}{0pt} % remove top header line
\renewcommand{\footrulewidth}{0pt} %remove botttom header line
\renewcommand{\thepage}{} %remove pagenum
\renewcommand{\thesection}{} %remove section num
%============================================================================%
%
% DEFINITIONS
%
%============================================================================%
%----------------------------------------------------------------------------------------
% ARROW GRAPHICS in Tikz
%----------------------------------------------------------------------------------------
\newcommand{\tzlarrow}{(0,0) -- (0.2,0) -- (0.3,0.2) -- (0.2,0.4) -- (0,0.4) -- (0.1,0.2) -- cycle;}
\newcommand{\larrow}
{\begin{tikzpicture}[scale=0.7]
\filldraw[fill=bgcol!100,draw=bgcol!100!black] \tzlarrow
\end{tikzpicture}
}
\newcommand{\tzrarrow}{ (0,0.2) -- (0.1,0) -- (0.3,0) -- (0.2,0.2) -- (0.3,0.4) -- (0.1,0.4) -- cycle;}
\newcommand{\rarrow}
{\begin{tikzpicture}[scale=0.7]
\filldraw[fill=sectcol!100,draw=sectcol!100!black] \tzrarrow
\end{tikzpicture}
}
%----------------------------------------------------------------------------------------
% CV Boxes in Tikz
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
%custom section command
%----------------------------------------------------------------------------------------
\newcommand{\cvsection}[1]
{
\hspace{-57pt}\colorbox{bgcol}{\makebox[1.11\linewidth][r]{
\textcolor{white}{\textbf{#1}}\hspace{4pt}\rarrow\rarrow\hspace{8.5pt}
}}\\
}
%----------------------------------------------------------------------------------------
% META SECTION
%----------------------------------------------------------------------------------------
\newcommand{\metasection}[1]
{
\noindent
\mbox{\larrow\normalsize{\textcolor{sectcol}{#1}}}
}
%----------------------------------------------------------------------------------------
% CV EVENT
%----------------------------------------------------------------------------------------
\newcommand{\cvevent}[2]
{
\noindent
\makebox[1\linewidth][l]{\textbf{{#1}}\hspace{\stretch{1}}{#2}}
}
\newcommand{\cveventmeta}[2]
{
\noindent
\makebox[1\linewidth][l]{{#1}\hspace{\stretch{1}}}
\begin{wrapfigure}{r}{0.12\textwidth}
\vspace{-20pt}
\begin{flushright}
\includegraphics[width=0.1\textwidth]{#2}
\end{flushright}
\vspace{-20pt}
\end{wrapfigure}
}
%----------------------------------------------------------------------------------------
% CUSTOM STRUT
%----------------------------------------------------------------------------------------
\newcommand{\mystrut}{\rule[-.3\baselineskip]{0pt}{\baselineskip}}
%----------------------------------------------------------------------------------------
% CUSTOM LOREM IPSUM
%----------------------------------------------------------------------------------------
\newcommand{\lorem}
{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue.}
%============================================================================%
%
% DOCUMENT CONTENT
%
%============================================================================%
\begin{document}
\pagestyle{fancy} %use our custom fancy header definitions
%----------------------------------------------------------------------------------------
% HEADER IMAGE
%----------------------------------------------------------------------------------------
\begin{figure}[htbp]
\begin{center}
\includegraphics[trim=400 200 0 300,clip,width=\paperwidth]{4436.png} %trimming relative to image size!
\end{center}
\end{figure}
%---------------------------------------------------------------------------------------
% TITLE HEADLINE
%----------------------------------------------------------------------------------------
\vspace{-50.55pt}
\begin{flushright}
\colorbox{bgcol}{\makebox[1.758\linewidth][c]{\HUGE{\textcolor{white}{Jan Küster} } \textcolor{sectcol}{\rule[-1mm]{1mm}{0.9cm}} \HUGE{ \textcolor{white}{CV}}}}
\end{flushright}
%---------------------------------------------------------------------------------------
% TITLE HEADLINE
%----------------------------------------------------------------------------------------
\normalsize
\vspace{4pt}
\metasection{Skills:} Flex \& AIR, Java, Design Pattern\\
\metasection{Activities:} FL Studio, Blender, Muay Thai, Grappling\\
\cvsection{Work}
\cvevent{Job Title o Project Title }{11.11.2011}\\
\cveventmeta{Employer}{qrcode.png}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue.\\
\cvevent{Job Title o Project Title }{11.11.2011}\\
\cveventmeta{Employer}{qrcode.png}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue.\\
\cvevent{Job Title o Project Title }{11.11.2011}\\
\cveventmeta{Employer}{qrcode.png}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue.\\
\cvsection{Education}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ut gravida lorem. Ut turpis felis, pulvinar a semper sed, adipiscing id dolor. Pellentesque auctor nisi id magna consequat sagittis. Curabitur dapibus enim sit amet elit pharetra tincidunt feugiat nisl imperdiet. Ut convallis libero in urna ultrices accumsan. Donec sed odio eros. Donec viverra mi quis quam pulvinar at malesuada arcu rhoncus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In rutrum accumsan ultricies. Mauris vitae nisi at sem facilisis semper ac in est.
\begin{flushleft}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (9,9);
\fill[orange] (1,1) circle (1);
\end{tikzpicture}
\end{flushleft}
%
%\begin{multicols}{2}
%\cvsection{Experience}
%\lorem\\
%\lorem\\
%\cvsection{Education}
%\lorem\\
%\lorem\\
%\end{multicols}
\end{document}