rendercv/tests/reference_files/John_Doe_CV_tex_reference.tex

440 lines
15 KiB
TeX

\documentclass[10pt, a4paper]{article}
% Packages:
\usepackage[
ignoreheadfoot, % set margins without considering header and footer
top=1.35 cm, % seperation between body and page edge from the top
bottom=1.35 cm, % seperation between body and page edge from the bottom
left=1.35 cm, % seperation between body and page edge from the left
right=1.35 cm, % seperation between body and page edge from the right
footskip=0.675 cm, % seperation between body and footer
% showframe % for debugging
]{geometry} % for adjusting page geometry
\usepackage{fontspec} % for loading fonts
\usepackage[explicit]{titlesec} % for customizing section titles
\usepackage{tabularx} % for making tables with fixed width columns
\usepackage{array} % tabularx requires this
\usepackage[dvipsnames]{xcolor} % for coloring text
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
\usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons
\usepackage[
pdftitle={John Doe's CV},
pdfauthor={John Doe},
colorlinks=true,
urlcolor=primaryColor
]{hyperref} % for links, metadata and bookmarks
\usepackage[pscoord]{eso-pic} % for floating text on the page
\usepackage{calc} % for calculating lengths
\usepackage{bookmark} % for bookmarks
\usepackage{lastpage} % for getting the total number of pages
% Some settings:
\pagestyle{empty} % no header or footer
\setcounter{secnumdepth}{0} % no section numbering
\setlength{\parindent}{0pt} % no indentation
\setlength{\topskip}{0pt} % no top skip
\makeatletter
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
\patchcmd{\ps@customFooterStyle}{\thepage}{
\color{gray}\textit{\small John Doe | Page \thepage{} of \pageref*{LastPage}}
}{}{} % replace number by desired string
\makeatother
\pagestyle{customFooterStyle}
\setmainfont{SourceSans3}[
Path= fonts/,
Extension = .ttf,
UprightFont = *-Regular,
ItalicFont = *-Italic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic
]
\titleformat{\section}{
% make the font size of the section title large and color it with the primary color
\Large\color{primaryColor}
}{
}{
}{
% print bold title, give 0.15 cm space and draw a line of 0.8 pt thickness
% from the end of the title to the end of the body
\textbf{#1}\hspace{0.15cm}\titlerule[0.8pt]\hspace{-0.1cm}
}[] % section title formatting
\titlespacing{\section}{
% left space:
0pt
}{
% top space:
0.13 cm
}{
% bottom space:
0.13 cm
} % section title spacing
\newcolumntype{L}[1]{
>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}
} % left-aligned fixed width column type
\newcolumntype{R}[1]{
>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}
} % right-aligned fixed width column type
\newcolumntype{K}[1]{
>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}X
} % left-aligned flexible width column type
\setlength\tabcolsep{-1.5pt} % no space between columns
\newenvironment{highlights}{
\begin{itemize}[
topsep=0pt,
parsep=0.07 cm,
partopsep=0pt,
itemsep=0pt,
after=\vspace{-1\baselineskip},
leftmargin=0.6 cm + 3pt
]
}{
\end{itemize}
} % new environment for highlights
\newenvironment{header}{
\setlength{\topsep}{0pt}\par\kern\topsep\centering\color{primaryColor}\linespread{1.5}
}{
\par\kern\topsep
} % new environment for the header
\newcommand{\placelastupdatedtext}{% \placetextbox{<horizontal pos>}{<vertical pos>}{<stuff>}
\AddToShipoutPictureFG*{% Add <stuff> to current page foreground
\put(
\LenToUnit{\paperwidth-1.35 cm-0.2 cm+0.05cm},
\LenToUnit{\paperheight-0.675 cm}
){\vtop{{\null}\makebox[0pt][c]{
\small\color{gray}\textit{Last updated on REPLACETHISWITHTODAY}\hspace{\widthof{Last updated on REPLACETHISWITHTODAY}}
}}}%
}%
}%
% save the original href command in a new command:
\let\hrefWithoutArrow\href
% new command for external links:
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{#2 \raisebox{.15ex}{\footnotesize \faExternalLink*}}}
\begin{document}
\placelastupdatedtext
\begin{header}
\fontsize{30 pt}{30 pt}
\textbf{John Doe}
\vspace{0.2 cm}
\normalsize
\mbox{{\small\faMapMarker*}\hspace{0.13cm}TX, USA}
\hspace{0.5cm}
\mbox{\hrefWithoutArrow{tel:+33749882538}{{\footnotesize\faPhone*}\hspace{0.13cm}+33 7 49 88 25 38}}
\hspace{0.5cm}
\mbox{\hrefWithoutArrow{mailto:johndoe@example.com}{{\small\faEnvelope[regular]}\hspace{0.13cm}johndoe@example.com}}
\hspace{0.5cm}
\mbox{\hrefWithoutArrow{https://example.com/}{{\small\faLink}\hspace{0.13cm}example.com}}
\hspace{0.5cm}
\mbox{\hrefWithoutArrow{https://www.github.com/johndoe}{{\small\faGithub}\hspace{0.13cm}johndoe}}
\hspace{0.5cm}
\mbox{\hrefWithoutArrow{https://www.linkedin.com/in/johndoe}{{\small\faLinkedinIn}\hspace{0.13cm}johndoe}}
\end{header}
\vspace{0.2 cm}
\section{Summary}
{
\raggedright
\setlength{\leftskip}{0.2 cm}
\setlength{\rightskip}{0.2 cm}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque porta vitae dolor vel placerat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Phasellus ullamcorper, neque id varius dignissim, tellus sem maximus risus, at lobortis nisl sem id ligula.
\setlength{\leftskip}{0cm}
\setlength{\rightskip}{0cm}
}
\centering
\section{Education}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{L{0.85cm} K{0.2 cm} R{3.6 cm}}
\textbf{BS}
&
\textbf{My University}, Mechanical Engineering
\vspace{0.12 cm}
\begin{highlights}
\item GPA: 3.99/4.00 (\href{https://example.com/}{Transcript})
\item Class rank: 1 of 62 \hspace*{-0.2cm}
\end{highlights}
&
Ankara, Türkiye \newline
Sept. 2017 to Jan. 2023
\end{tabularx}
\vspace{0.12 cm}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{L{0.85cm} K{0.2 cm} R{3.6 cm}}
\textbf{}
&
\textbf{The University of Texas at Austin}, Mechanical Engineering, Student Exchange Program
\vspace{0.12 cm}
\begin{highlights}
\item GPA: 4.00/4.00 (\href{https://example.com/}{Transcript}) \hspace*{-0.2cm}
\end{highlights}
&
Austin, TX, USA \newline
Aug. 2021 to Jan. 2022
\end{tabularx}
\section{Work Experience}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{CERN}, Mechanical Engineer
\vspace{0.12 cm}
\begin{highlights}
\item CERN is a research organization that operates the world's largest and most powerful particle accelerator.
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\item Id leo in vitae turpis massa sed, posuere aliquam ultrices sagittis orci a scelerisque, lorem ipsum dolor sit amet. \hspace*{-0.2cm}
\end{highlights}
&
Geneva, Switzerland \newline
Feb. 2023 to present \newline
10 months
\end{tabularx}
\vspace{0.12 cm}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{AmIACompany}, Summer Intern
\vspace{0.12 cm}
\begin{highlights}
\item AmIACompany is a technology company that provides web-based engineering applications that enable the simulation and optimization of products and manufacturing tools.
\item Modeled and simulated a metal-forming process deep drawing using finite element analysis with open-source software called CalculiX. \hspace*{-0.2cm}
\end{highlights}
&
Istanbul, Türkiye \newline
June 2022 to Aug. 2022 \newline
2 months
\end{tabularx}
\section{Academic Projects}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Design and Construction of a Robot}, \href{https://example.com/}{view on my website}
\vspace{0.12 cm}
\begin{highlights}
\item Designed and constructed a controllable robot that measures a car's torque and power output at different speeds for my senior design project. \hspace*{-0.2cm}
\end{highlights}
&
Istanbul, Türkiye \newline
Fall 2022
\end{tabularx}
\vspace{0.12 cm}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Design and Construction of an Another Robot}, \href{https://example.com/}{view on my website}
\vspace{0.12 cm}
\begin{highlights}
\item Designed, built, and programmed a microcontroller-based device that plays a guitar with DC motors as part of a mechatronics course term project. \hspace*{-0.2cm}
\end{highlights}
&
Istanbul, Türkiye \newline
Fall 2020
\end{tabularx}
\section{Certificates}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Machine Learning by Stanford University}, \href{https://example.com/}{Certificate}
\vspace{0.12 cm}
&
Sept. 2022
\end{tabularx}
\section{Personal Projects}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Ray Tracing in C++}, \href{https://example.com/}{view on my website}
\vspace{0.12 cm}
\begin{highlights}
\item Coded a ray tracer in C++ that can render scenes with multiple light sources, spheres, and planes with reflection and refraction properties. \hspace*{-0.2cm}
\end{highlights}
&
Spring 2021
\end{tabularx}
\section{Skills}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{Programming:} C++, C, Python, JavaScript, MATLAB, Lua, LaTeX
\par\endgroup
\vspace{0.12 cm}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{OS:} Windows, Ubuntu
\par\endgroup
\vspace{0.12 cm}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{Other tools:} Git, Premake, HTML, CSS, React
\par\endgroup
\vspace{0.12 cm}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{Languages:} English (Advanced), French (Lower Intermediate), Turkish (Native)
\par\endgroup
\section{Test Scores}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{TOEFL:} 113/120 — Reading: 29/30, Listening: 30/30, Speaking: 27/30, Writing: 27/30 (\href{https://example.com/}{Score Report})
\par\endgroup
\vspace{0.12 cm}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{GRE:} Verbal Reasoning: 160/170, Quantitative Reasoning: 170/170, Analytical Writing: 5.5/6 (\href{https://example.com/}{Score Report})
\par\endgroup
\section{Extracurricular Activities}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Dumanlikiz Skiing Club}, Co-founder / Skiing Instructor
\vspace{0.12 cm}
\begin{highlights}
\item Taught skiing during winters as a certified skiing instructor. \hspace*{-0.2cm}
\end{highlights}
&
Chamonix, France \newline
Summer 2017 and 2018
\end{tabularx}
\section{Publications}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Phononic band gaps induced by inertial amplification in periodic media}
\vspace{0.07 cm}
A. 1, \textbf{\textit{J. Doe}}, A. 3
\vspace{0.07 cm}
\href{https://doi.org/10.1103/PhysRevB.76.054309}{10.1103/PhysRevB.76.054309} (Physical Review B)
&
Aug. 2007
\end{tabularx}
\section{My Custom Section}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{Testing custom sections:} Wohooo!
\par\endgroup
\vspace{0.12 cm}
\begingroup\raggedright \leftskip=0.2 cm
\advance\csname @rightskip\endcsname 0.2 cm
\advance\rightskip 0.2 cm
\textbf{This is a:} OneLineEntry!
\par\endgroup
\section{My Other Custom Section}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{L{0.85cm} K{0.2 cm} R{3.6 cm}}
\textbf{HA}
&
\textbf{Hop!}, Hop!
\vspace{0.12 cm}
\begin{highlights}
\item There are only five types of entries: \textit{EducationEntry}, \textit{ExperienceEntry}, \textit{NormalEntry}, \textit{OneLineEntry}, and \textit{PublicationEntry}.
\item This is an EducationEntry! \hspace*{-0.2cm}
\end{highlights}
&
June 2022 to Aug. 2022 \newline
2 months
\end{tabularx}
\section{My Third Custom Section}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
\textbf{Hop!}, Hop!
\vspace{0.12 cm}
\begin{highlights}
\item I think this is really working. This is an \textit{ExperienceEntry}! \hspace*{-0.2cm}
\end{highlights}
&
My Location \newline
My Date
\end{tabularx}
\section{My Final Custom Section}
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm}}
\textbf{This is a normal entry!}, \href{https://example.com/}{My Link Text}
\vspace{0.12 cm}
\begin{highlights}
\item You don't have to specify a \textit{date} or \textbf{location} every time.
\item You can use \textit{Markdown} in the \textbf{highlights}!
\item Special characters test: üğç \hspace*{-0.2cm}
\end{highlights}
\end{tabularx}
\end{document}