mirror of https://github.com/eyhc1/rendercv.git
update tests
This commit is contained in:
parent
0c591c3d69
commit
05930e0d80
BIN
John_Doe_CV.pdf
BIN
John_Doe_CV.pdf
Binary file not shown.
|
@ -1,13 +1,15 @@
|
|||
cv:
|
||||
name: John Doe
|
||||
label: Mechanical Engineer
|
||||
location: Geneva, Switzerland
|
||||
location: TX, USA
|
||||
email: johndoe@example.com
|
||||
phone: "+33749882538"
|
||||
website: https://example.com
|
||||
social_networks:
|
||||
- network: GitHub
|
||||
username: johndoe
|
||||
- network: LinkedIn
|
||||
username: johndoe
|
||||
summary:
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque porta
|
||||
vitae dolor vel placerat. Class aptent taciti sociosqu ad litora torquent per conubia
|
||||
|
@ -32,7 +34,7 @@ cv:
|
|||
url: https://boun.edu.tr
|
||||
area: Mechanical Engineering
|
||||
study_type: BS
|
||||
location: Istanbul, Turkey
|
||||
location: Ankara, Türkiye
|
||||
start_date: "2017-09-01"
|
||||
end_date: "2023-01-01"
|
||||
transcript_url: https://example.com
|
||||
|
@ -63,7 +65,7 @@ cv:
|
|||
scelerisque, lorem ipsum dolor sit amet.
|
||||
- company: AmIACompany
|
||||
position: Summer Intern
|
||||
location: Istanbul, Turkey
|
||||
location: Istanbul, Türkiye
|
||||
url: https://example.com
|
||||
start_date: "2022-06-15"
|
||||
end_date: "2022-08-01"
|
||||
|
@ -74,18 +76,18 @@ cv:
|
|||
- Modeled and simulated a metal-forming process deep drawing using finite element
|
||||
analysis with open-source software called CalculiX.
|
||||
academic_projects:
|
||||
- name: Design and Construction of a Dynamometer
|
||||
location: Istanbul, Turkey
|
||||
- name: Design and Construction of a Robot
|
||||
location: Istanbul, Türkiye
|
||||
date: Fall 2022
|
||||
highlights:
|
||||
- Designed and constructed a controllable dynamometer that measures an electric
|
||||
motor's torque and power output at different speeds for my senior design project.
|
||||
- Designed and constructed a controllable robot that measures a car's torque and
|
||||
power output at different speeds for my senior design project.
|
||||
url: https://example.com
|
||||
- name: Design and Construction of an Automatic Guitar Tuner
|
||||
location: Istanbul, Turkey
|
||||
- name: Design and Construction of an Another Robot
|
||||
location: Istanbul, Türkiye
|
||||
date: Fall 2020
|
||||
highlights:
|
||||
- Designed, built, and programmed a microcontroller-based device that tunes a
|
||||
- Designed, built, and programmed a microcontroller-based device that plays a
|
||||
guitar with DC motors as part of a mechatronics course term project.
|
||||
url: https://example.com
|
||||
publications:
|
||||
|
@ -200,8 +202,7 @@ design:
|
|||
top: 0.13 cm
|
||||
bottom: 0.13 cm
|
||||
entry_area:
|
||||
left: 0.2 cm
|
||||
right: 0.2 cm
|
||||
left_and_right: 0.2 cm
|
||||
vertical_between: 0.12 cm
|
||||
highlights_area:
|
||||
top: 0.12 cm
|
||||
|
|
Binary file not shown.
|
@ -1,356 +0,0 @@
|
|||
|
||||
\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
|
||||
% 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
|
||||
|
||||
% 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
|
||||
\pagenumbering{gobble} % no page numbering
|
||||
|
||||
|
||||
\setmainfont{EBGaramond}[
|
||||
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]{
|
||||
>{\let\newline\\\arraybackslash\hspace{0pt}}X
|
||||
} % left-aligned (but justified) 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}\emph{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{.1ex}{\footnotesize \faExternalLink*}}}
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
|
||||
\begin{header}
|
||||
\Huge
|
||||
\textbf{John Doe}
|
||||
|
||||
\normalsize
|
||||
\mbox{{\small\faMapMarker*}\hspace{0.13cm}Geneva, Switzerland}
|
||||
\hspace{0.5cm}
|
||||
\mbox{\hrefWithoutArrow{tel:+905413769286}{{\footnotesize\faPhone*}\hspace{0.13cm}+90 541 376 92 86}}
|
||||
\hspace{0.5cm}
|
||||
\mbox{\hrefWithoutArrow{mailto:john@doe.com}{{\small\faEnvelope[regular]}\hspace{0.13cm}john@doe.com}}
|
||||
\hspace{0.5cm}
|
||||
\mbox{\hrefWithoutArrow{https://example.com/}{{\small\faLink}\hspace{0.13cm}example.com}}
|
||||
\hspace{0.5cm}
|
||||
\mbox{\hrefWithoutArrow{https://www.linkedin.com/in/dummy}{{\small\faLinkedinIn}\hspace{0.13cm}dummy}}
|
||||
\hspace{0.5cm}
|
||||
\mbox{\hrefWithoutArrow{https://www.github.com/sinaatalay}{{\small\faGithub}\hspace{0.13cm}sinaatalay}}
|
||||
\end{header}
|
||||
|
||||
|
||||
\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{Bogazici University}, Mechanical Engineering
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item GPA: 3.80/4.00 (\href{https://example.com/}{Transcript})
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\end{highlights}
|
||||
&
|
||||
Istanbul, Turkey \newline
|
||||
Sept. 1980 to Jan. 1985
|
||||
\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}
|
||||
&
|
||||
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{Company 1}, Position 1
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\item Test 3
|
||||
\end{highlights}
|
||||
&
|
||||
Geneva, Switzerland \newline
|
||||
Feb. 2023 to present
|
||||
\end{tabularx}
|
||||
|
||||
\vspace*{0.12 cm}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
|
||||
\textbf{Company 2}, Position 2
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\item Test 3
|
||||
\end{highlights}
|
||||
&
|
||||
Geneva, Switzerland \newline
|
||||
Feb. 1986 to Feb. 2023
|
||||
\end{tabularx}
|
||||
|
||||
|
||||
|
||||
\section{Academic Projects}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
|
||||
\textbf{Academic Project 1}, \href{https://example.com/}{view on my website}
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\end{highlights}
|
||||
&
|
||||
Istanbul, Turkey \newline
|
||||
Spring 2022
|
||||
\end{tabularx}
|
||||
|
||||
\vspace*{0.12 cm}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm}}
|
||||
\textbf{Academic Project 2}, \href{https://example.com/}{view on my website}
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\end{highlights}
|
||||
\end{tabularx}
|
||||
|
||||
\vspace*{0.12 cm}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
|
||||
\textbf{Academic Project 3}, \href{https://example.com/}{view on my website}
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\end{highlights}
|
||||
&
|
||||
Istanbul, Turkey \newline
|
||||
Feb. 2022 to May 2022
|
||||
\end{tabularx}
|
||||
|
||||
|
||||
|
||||
\section{Certificates}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm}}
|
||||
\textbf{Certificate 1}
|
||||
\vspace*{0.12 cm}
|
||||
\end{tabularx}
|
||||
|
||||
|
||||
|
||||
\section{Personal Projects}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm}}
|
||||
\textbf{Personal Project 1}
|
||||
\vspace*{0.12 cm}
|
||||
\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{CAE:} GMSH, GetDP, CalculiX
|
||||
|
||||
\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:} 120/120
|
||||
|
||||
\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{IELTS:} 9.0/9.0 (\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{Test Company 1}, Test Position 1
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Lead and train members for intercollegiate alpine ski races in Turkey and organize skiing events.
|
||||
\end{highlights}
|
||||
&
|
||||
\end{tabularx}
|
||||
|
||||
\vspace*{0.12 cm}
|
||||
|
||||
\begin{tabularx}{\textwidth-0.4 cm-0.13cm}{K{0.2 cm} R{3.6 cm}}
|
||||
\textbf{Test Company 1}, Test Position 1
|
||||
\vspace*{0.12 cm}
|
||||
\begin{highlights}
|
||||
\item Test 1
|
||||
\item Test 2
|
||||
\item Test 3
|
||||
\end{highlights}
|
||||
&
|
||||
Izmir, Turkey \newline
|
||||
Summer 2019 and 2020
|
||||
\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.06 cm}
|
||||
|
||||
C. Yilmaz, G. M. Hulbert, N. Kikuchi
|
||||
|
||||
\vspace{0.06 cm}
|
||||
|
||||
DOI: \href{https://doi.org/10.1103/PhysRevB.76.054309}{10.1103/PhysRevB.76.054309}
|
||||
&
|
||||
Aug. 2007
|
||||
|
||||
\end{tabularx}
|
||||
|
||||
|
||||
|
||||
|
||||
\end{document}
|
|
@ -1,148 +0,0 @@
|
|||
cv:
|
||||
academic_projects:
|
||||
- date: Spring 2022
|
||||
highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
location: Istanbul, Turkey
|
||||
name: Academic Project 1
|
||||
url: https://example.com
|
||||
- highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
name: Academic Project 2
|
||||
url: https://example.com
|
||||
- end_date: "2022-05-01"
|
||||
highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
location: Istanbul, Turkey
|
||||
name: Academic Project 3
|
||||
start_date: "2022-02-01"
|
||||
url: https://example.com
|
||||
certificates:
|
||||
- name: Certificate 1
|
||||
education:
|
||||
- area: Mechanical Engineering
|
||||
end_date: "1985-01-01"
|
||||
gpa: 3.80/4.00
|
||||
highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
institution: Bogazici University
|
||||
location: Istanbul, Turkey
|
||||
start_date: "1980-09-01"
|
||||
study_type: BS
|
||||
transcript_url: https://example.com/
|
||||
url: https://boun.edu.tr
|
||||
- area: Mechanical Engineering, Student Exchange Program
|
||||
end_date: "2022-01-15"
|
||||
institution: The University of Texas at Austin
|
||||
location: Austin, TX, USA
|
||||
start_date: "2021-08-01"
|
||||
url: https://utexas.edu
|
||||
email: john@doe.com
|
||||
extracurricular_activities:
|
||||
- company: Test Company 1
|
||||
highlights:
|
||||
- Lead and train members for intercollegiate alpine ski races in Turkey and organize
|
||||
skiing events.
|
||||
position: Test Position 1
|
||||
- company: Test Company 1
|
||||
date: Summer 2019 and 2020
|
||||
highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
- Test 3
|
||||
location: Izmir, Turkey
|
||||
position: Test Position 1
|
||||
label: Engineer at CERN
|
||||
location: Geneva, Switzerland
|
||||
name: John Doe
|
||||
personal_projects:
|
||||
- name: Personal Project 1
|
||||
phone: "+905413769286"
|
||||
publications:
|
||||
- authors:
|
||||
- Cetin Yilmaz
|
||||
- Gregory M Hulbert
|
||||
- Noboru Kikuchi
|
||||
cited_by: 243
|
||||
date: "2007-08-01"
|
||||
doi: 10.1103/PhysRevB.76.054309
|
||||
journal: Physical Review B
|
||||
title: Phononic band gaps induced by inertial amplification in periodic media
|
||||
section_order:
|
||||
- Education
|
||||
- Work Experience
|
||||
- Academic Projects
|
||||
- Certificates
|
||||
- Personal Projects
|
||||
- Skills
|
||||
- Test Scores
|
||||
- Extracurricular Activities
|
||||
- Publications
|
||||
skills:
|
||||
- details: C++, C, Python, JavaScript, MATLAB, Lua, LaTeX
|
||||
name: Programming
|
||||
- details: GMSH, GetDP, CalculiX
|
||||
name: CAE
|
||||
social_networks:
|
||||
- network: LinkedIn
|
||||
username: dummy
|
||||
- network: GitHub
|
||||
username: sinaatalay
|
||||
test_scores:
|
||||
- date: "2022-10-01"
|
||||
details: 120/120
|
||||
name: TOEFL
|
||||
- details: 9.0/9.0
|
||||
name: IELTS
|
||||
url: https://example.com
|
||||
website: https://example.com
|
||||
work_experience:
|
||||
- company: Company 1
|
||||
end_date: present
|
||||
highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
- Test 3
|
||||
location: Geneva, Switzerland
|
||||
position: Position 1
|
||||
start_date: "2023-02-01"
|
||||
url: https://example.com
|
||||
- company: Company 2
|
||||
end_date: "2023-02-01"
|
||||
highlights:
|
||||
- Test 1
|
||||
- Test 2
|
||||
- Test 3
|
||||
location: Geneva, Switzerland
|
||||
position: Position 2
|
||||
start_date: "1986-02-01"
|
||||
url: https://example.com
|
||||
design:
|
||||
font: EBGaramond
|
||||
options:
|
||||
date_and_location_width: 3.6 cm
|
||||
margins:
|
||||
entry_area:
|
||||
left: 0.2 cm
|
||||
right: 0.2 cm
|
||||
vertical_between: 0.12 cm
|
||||
highlights_area:
|
||||
left: 0.6 cm
|
||||
top: 0.12 cm
|
||||
vertical_between_bullet_points: 0.07 cm
|
||||
page:
|
||||
bottom: 1.35 cm
|
||||
left: 1.35 cm
|
||||
right: 1.35 cm
|
||||
top: 1.35 cm
|
||||
section_title:
|
||||
bottom: 0.13 cm
|
||||
top: 0.13 cm
|
||||
primary_color: rgb(0,79,144)
|
||||
show_last_updated_date: true
|
||||
show_timespan_in_experience_entries: true
|
||||
theme: classic
|
|
@ -0,0 +1,450 @@
|
|||
|
||||
\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]{
|
||||
>{\let\newline\\\arraybackslash\hspace{0pt}}X
|
||||
} % left-aligned (but justified) 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 November 18, 2023}\hspace{\widthof{Last updated on November 18, 2023}}
|
||||
}}}%
|
||||
}%
|
||||
}%
|
||||
|
||||
% 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}
|
||||
\Huge
|
||||
\textbf{John Doe}
|
||||
|
||||
\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}
|
||||
|
||||
\section{Summary}
|
||||
|
||||
\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}
|
|
@ -0,0 +1,210 @@
|
|||
cv:
|
||||
name: John Doe
|
||||
label: Mechanical Engineer
|
||||
location: TX, USA
|
||||
email: johndoe@example.com
|
||||
phone: "+33749882538"
|
||||
website: https://example.com
|
||||
social_networks:
|
||||
- network: GitHub
|
||||
username: johndoe
|
||||
- network: LinkedIn
|
||||
username: johndoe
|
||||
summary:
|
||||
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.
|
||||
section_order:
|
||||
- Education
|
||||
- Work Experience
|
||||
- Academic Projects
|
||||
- Certificates
|
||||
- Personal Projects
|
||||
- Skills
|
||||
- Test Scores
|
||||
- Extracurricular Activities
|
||||
- Publications
|
||||
- My Custom Section
|
||||
- My Other Custom Section
|
||||
- My Third Custom Section
|
||||
- My Final Custom Section
|
||||
education:
|
||||
- institution: My University
|
||||
url: https://boun.edu.tr
|
||||
area: Mechanical Engineering
|
||||
study_type: BS
|
||||
location: Ankara, Türkiye
|
||||
start_date: "2017-09-01"
|
||||
end_date: "2023-01-01"
|
||||
transcript_url: https://example.com
|
||||
gpa: 3.99/4.00
|
||||
highlights:
|
||||
- "Class rank: 1 of 62"
|
||||
- institution: The University of Texas at Austin
|
||||
url: https://utexas.edu
|
||||
area: Mechanical Engineering, Student Exchange Program
|
||||
location: Austin, TX, USA
|
||||
start_date: "2021-08-01"
|
||||
end_date: "2022-01-15"
|
||||
transcript_url: https://example.com
|
||||
gpa: 4.00/4.00
|
||||
work_experience:
|
||||
- company: CERN
|
||||
position: Mechanical Engineer
|
||||
location: Geneva, Switzerland
|
||||
url: https://home.cern
|
||||
start_date: "2023-02-01"
|
||||
end_date: present
|
||||
highlights:
|
||||
- CERN is a research organization that operates the world's largest and most
|
||||
powerful particle accelerator.
|
||||
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
|
||||
incididunt ut labore et dolore magna aliqua.
|
||||
- Id leo in vitae turpis massa sed, posuere aliquam ultrices sagittis orci a
|
||||
scelerisque, lorem ipsum dolor sit amet.
|
||||
- company: AmIACompany
|
||||
position: Summer Intern
|
||||
location: Istanbul, Türkiye
|
||||
url: https://example.com
|
||||
start_date: "2022-06-15"
|
||||
end_date: "2022-08-01"
|
||||
highlights:
|
||||
- AmIACompany is a technology company that provides web-based engineering
|
||||
applications that enable the simulation and optimization of products and
|
||||
manufacturing tools.
|
||||
- Modeled and simulated a metal-forming process deep drawing using finite element
|
||||
analysis with open-source software called CalculiX.
|
||||
academic_projects:
|
||||
- name: Design and Construction of a Robot
|
||||
location: Istanbul, Türkiye
|
||||
date: Fall 2022
|
||||
highlights:
|
||||
- Designed and constructed a controllable robot that measures a car's torque and
|
||||
power output at different speeds for my senior design project.
|
||||
url: https://example.com
|
||||
- name: Design and Construction of an Another Robot
|
||||
location: Istanbul, Türkiye
|
||||
date: Fall 2020
|
||||
highlights:
|
||||
- Designed, built, and programmed a microcontroller-based device that plays a
|
||||
guitar with DC motors as part of a mechatronics course term project.
|
||||
url: https://example.com
|
||||
publications:
|
||||
- title: Phononic band gaps induced by inertial amplification in periodic media
|
||||
authors:
|
||||
- Author 1
|
||||
- John Doe
|
||||
- Author 3
|
||||
journal: Physical Review B
|
||||
doi: 10.1103/PhysRevB.76.054309
|
||||
date: "2007-08-01"
|
||||
cited_by: 243
|
||||
certificates:
|
||||
- name: Machine Learning by Stanford University
|
||||
date: "2022-09-01"
|
||||
url: https://example.com
|
||||
skills:
|
||||
- name: Programming
|
||||
details: C++, C, Python, JavaScript, MATLAB, Lua, LaTeX
|
||||
- name: OS
|
||||
details: Windows, Ubuntu
|
||||
- name: Other tools
|
||||
details: Git, Premake, HTML, CSS, React
|
||||
- name: Languages
|
||||
details: English (Advanced), French (Lower Intermediate), Turkish (Native)
|
||||
test_scores:
|
||||
- name: TOEFL
|
||||
date: "2022-10-01"
|
||||
details:
|
||||
"113/120 — Reading: 29/30, Listening: 30/30, Speaking: 27/30, Writing:
|
||||
27/30"
|
||||
url: https://example.com
|
||||
- name: GRE
|
||||
details: "Verbal Reasoning: 160/170, Quantitative Reasoning: 170/170, Analytical
|
||||
Writing: 5.5/6"
|
||||
url: https://example.com
|
||||
personal_projects:
|
||||
- name: Ray Tracing in C++
|
||||
date: Spring 2021
|
||||
highlights:
|
||||
- Coded a ray tracer in C++ that can render scenes with multiple light sources,
|
||||
spheres, and planes with reflection and refraction properties.
|
||||
url: https://example.com
|
||||
extracurricular_activities:
|
||||
- company: Dumanlikiz Skiing Club
|
||||
position: Co-founder / Skiing Instructor
|
||||
location: Chamonix, France
|
||||
date: Summer 2017 and 2018
|
||||
highlights:
|
||||
- Taught skiing during winters as a certified skiing instructor.
|
||||
custom_sections:
|
||||
- title: My Custom Section
|
||||
entry_type: OneLineEntry
|
||||
entries:
|
||||
- name: Testing custom sections
|
||||
details: Wohooo!
|
||||
- name: This is a
|
||||
details: OneLineEntry!
|
||||
- title: My Other Custom Section
|
||||
entry_type: EducationEntry
|
||||
entries:
|
||||
- institution: Hop!
|
||||
area: Hop!
|
||||
study_type: HA
|
||||
highlights:
|
||||
- "There are only five types of entries: *EducationEntry*, *ExperienceEntry*,
|
||||
*NormalEntry*, *OneLineEntry*, and *PublicationEntry*."
|
||||
- This is an EducationEntry!
|
||||
start_date: "2022-06-15"
|
||||
end_date: "2022-08-01"
|
||||
- title: My Third Custom Section
|
||||
entry_type: ExperienceEntry
|
||||
entries:
|
||||
- company: Hop!
|
||||
position: Hop!
|
||||
date: My Date
|
||||
location: My Location
|
||||
highlights:
|
||||
- I think this is really working. This is an *ExperienceEntry*!
|
||||
|
||||
- title: My Final Custom Section
|
||||
entry_type: NormalEntry
|
||||
link_text: My Link Text
|
||||
entries:
|
||||
- name: This is a normal entry!
|
||||
url: https://example.com
|
||||
highlights:
|
||||
- You don't have to specify a *date* or **location** every time.
|
||||
- You can use *Markdown* in the **highlights**!
|
||||
- "Special characters test: üğç"
|
||||
|
||||
design:
|
||||
theme: classic
|
||||
font: SourceSans3
|
||||
font_size: 10pt
|
||||
page_size: a4paper
|
||||
options:
|
||||
primary_color: rgb(0,79,144)
|
||||
date_and_location_width: 3.6 cm
|
||||
show_timespan_in:
|
||||
- Work Experience
|
||||
- My Other Custom Section
|
||||
show_last_updated_date: True
|
||||
|
||||
margins:
|
||||
page:
|
||||
top: 1.35 cm
|
||||
bottom: 1.35 cm
|
||||
left: 1.35 cm
|
||||
right: 1.35 cm
|
||||
section_title:
|
||||
top: 0.13 cm
|
||||
bottom: 0.13 cm
|
||||
entry_area:
|
||||
left_and_right: 0.2 cm
|
||||
vertical_between: 0.12 cm
|
||||
highlights_area:
|
||||
top: 0.12 cm
|
||||
left: 0.6 cm
|
||||
vertical_between_bullet_points: 0.07 cm
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -13,7 +13,10 @@ class TestCLI(unittest.TestCase):
|
|||
workspace_path = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
test_input_file_path = os.path.join(
|
||||
workspace_path, "tests", "reference_files", "John_Doe_CV_test.yaml"
|
||||
workspace_path,
|
||||
"tests",
|
||||
"reference_files",
|
||||
"John_Doe_CV_yaml_reference.yaml",
|
||||
)
|
||||
subprocess.run(
|
||||
[sys.executable, "-m", "rendercv", "render", test_input_file_path],
|
||||
|
@ -31,7 +34,7 @@ class TestCLI(unittest.TestCase):
|
|||
|
||||
# Compare the pdf file with the reference pdf file:
|
||||
reference_pdf_file = os.path.join(
|
||||
workspace_path, "tests", "reference_files", "John_Doe_CV_reference.pdf"
|
||||
workspace_path, "tests", "reference_files", "John_Doe_CV_pdf_reference.pdf"
|
||||
)
|
||||
reference_pdf_file_size = os.path.getsize(reference_pdf_file)
|
||||
ratio = min(reference_pdf_file_size, pdf_file_size) / max(
|
||||
|
|
|
@ -16,8 +16,7 @@ class TestRendering(unittest.TestCase):
|
|||
|
||||
input = "[link](www.example.com) and [link2](www.example2.com)"
|
||||
expected = (
|
||||
r"\href{www.example.com}{link} and"
|
||||
r" \href{www.example2.com}{link2}"
|
||||
r"\href{www.example.com}{link} and" r" \href{www.example2.com}{link2}"
|
||||
)
|
||||
output = rendering.markdown_to_latex(input)
|
||||
with self.subTest(msg="two links"):
|
||||
|
@ -46,8 +45,7 @@ class TestRendering(unittest.TestCase):
|
|||
|
||||
input = "**bold**, *italic*, and [link](www.example.com)"
|
||||
expected = (
|
||||
r"\textbf{bold}, \textit{italic}, and"
|
||||
r" \href{www.example.com}{link}"
|
||||
r"\textbf{bold}, \textit{italic}, and" r" \href{www.example.com}{link}"
|
||||
)
|
||||
output = rendering.markdown_to_latex(input)
|
||||
with self.subTest(msg="bold, italic, and link"):
|
||||
|
@ -203,176 +201,13 @@ class TestRendering(unittest.TestCase):
|
|||
self.assertEqual(expected, result, msg="Font directory path is not correct.")
|
||||
|
||||
def test_render_template(self):
|
||||
test_input = {
|
||||
"cv": {
|
||||
"academic_projects": [
|
||||
{
|
||||
"date": "Spring 2022",
|
||||
"highlights": ["Test 1", "Test 2"],
|
||||
"location": "Istanbul, Turkey",
|
||||
"name": "Academic Project 1",
|
||||
"url": "https://example.com",
|
||||
},
|
||||
{
|
||||
"highlights": ["Test 1", "Test 2"],
|
||||
"name": "Academic Project 2",
|
||||
"url": "https://example.com",
|
||||
},
|
||||
{
|
||||
"end_date": "2022-05-01",
|
||||
"highlights": ["Test 1", "Test 2"],
|
||||
"location": "Istanbul, Turkey",
|
||||
"name": "Academic Project 3",
|
||||
"start_date": "2022-02-01",
|
||||
"url": "https://example.com",
|
||||
},
|
||||
],
|
||||
"certificates": [{"name": "Certificate 1"}],
|
||||
"education": [
|
||||
{
|
||||
"area": "Mechanical Engineering",
|
||||
"end_date": "1985-01-01",
|
||||
"gpa": "3.80/4.00",
|
||||
"highlights": ["Test 1", "Test 2"],
|
||||
"institution": "Bogazici University",
|
||||
"location": "Istanbul, Turkey",
|
||||
"start_date": "1980-09-01",
|
||||
"study_type": "BS",
|
||||
"transcript_url": "https://example.com/",
|
||||
"url": "https://boun.edu.tr",
|
||||
},
|
||||
{
|
||||
"area": "Mechanical Engineering, Student Exchange Program",
|
||||
"end_date": "2022-01-15",
|
||||
"institution": "The University of Texas at Austin",
|
||||
"location": "Austin, TX, USA",
|
||||
"start_date": "2021-08-01",
|
||||
"url": "https://utexas.edu",
|
||||
},
|
||||
],
|
||||
"email": "john@doe.com",
|
||||
"extracurricular_activities": [
|
||||
{
|
||||
"company": "Test Company 1",
|
||||
"highlights": [
|
||||
"Lead and train members for intercollegiate alpine ski"
|
||||
" races in Turkey and organize skiing events."
|
||||
],
|
||||
"position": "Test Position 1",
|
||||
},
|
||||
{
|
||||
"company": "Test Company 1",
|
||||
"date": "Summer 2019 and 2020",
|
||||
"highlights": ["Test 1", "Test 2", "Test 3"],
|
||||
"location": "Izmir, Turkey",
|
||||
"position": "Test Position 1",
|
||||
},
|
||||
],
|
||||
"label": "Engineer at CERN",
|
||||
"location": "Geneva, Switzerland",
|
||||
"name": "John Doe",
|
||||
"personal_projects": [{"name": "Personal Project 1"}],
|
||||
"phone": "+905413769286",
|
||||
"publications": [
|
||||
{
|
||||
"authors": [
|
||||
"Cetin Yilmaz",
|
||||
"Gregory M Hulbert",
|
||||
"Noboru Kikuchi",
|
||||
],
|
||||
"cited_by": 243,
|
||||
"date": "2007-08-01",
|
||||
"doi": "10.1103/PhysRevB.76.054309",
|
||||
"journal": "Physical Review B",
|
||||
"title": (
|
||||
"Phononic band gaps induced by inertial amplification in"
|
||||
" periodic media"
|
||||
),
|
||||
}
|
||||
],
|
||||
"section_order": [
|
||||
"Education",
|
||||
"Work Experience",
|
||||
"Academic Projects",
|
||||
"Certificates",
|
||||
"Personal Projects",
|
||||
"Skills",
|
||||
"Test Scores",
|
||||
"Extracurricular Activities",
|
||||
"Publications",
|
||||
],
|
||||
"skills": [
|
||||
{
|
||||
"details": "C++, C, Python, JavaScript, MATLAB, Lua, LaTeX",
|
||||
"name": "Programming",
|
||||
},
|
||||
{"details": "GMSH, GetDP, CalculiX", "name": "CAE"},
|
||||
],
|
||||
"social_networks": [
|
||||
{"network": "LinkedIn", "username": "dummy"},
|
||||
{"network": "GitHub", "username": "sinaatalay"},
|
||||
],
|
||||
"test_scores": [
|
||||
{"date": "2022-10-01", "details": "120/120", "name": "TOEFL"},
|
||||
{
|
||||
"details": "9.0/9.0",
|
||||
"name": "IELTS",
|
||||
"url": "https://example.com",
|
||||
},
|
||||
],
|
||||
"website": "https://example.com",
|
||||
"work_experience": [
|
||||
{
|
||||
"company": "Company 1",
|
||||
"end_date": "present",
|
||||
"highlights": ["Test 1", "Test 2", "Test 3"],
|
||||
"location": "Geneva, Switzerland",
|
||||
"position": "Position 1",
|
||||
"start_date": "2023-02-01",
|
||||
"url": "https://example.com",
|
||||
},
|
||||
{
|
||||
"company": "Company 2",
|
||||
"end_date": "2023-02-01",
|
||||
"highlights": ["Test 1", "Test 2", "Test 3"],
|
||||
"location": "Geneva, Switzerland",
|
||||
"position": "Position 2",
|
||||
"start_date": "1986-02-01",
|
||||
"url": "https://example.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
"design": {
|
||||
"font": "EBGaramond",
|
||||
"options": {
|
||||
"date_and_location_width": "3.6 cm",
|
||||
"margins": {
|
||||
"entry_area": {
|
||||
"left": "0.2 cm",
|
||||
"right": "0.2 cm",
|
||||
"vertical_between": "0.12 cm",
|
||||
},
|
||||
"highlights_area": {
|
||||
"left": "0.6 cm",
|
||||
"top": "0.12 cm",
|
||||
"vertical_between_bullet_points": "0.07 cm",
|
||||
},
|
||||
"page": {
|
||||
"bottom": "1.35 cm",
|
||||
"left": "1.35 cm",
|
||||
"right": "1.35 cm",
|
||||
"top": "1.35 cm",
|
||||
},
|
||||
"section_title": {"bottom": "0.13 cm", "top": "0.13 cm"},
|
||||
},
|
||||
"primary_color": "rgb(0,79,144)",
|
||||
"show_last_updated_date": True,
|
||||
"show_timespan_in_experience_entries": True,
|
||||
},
|
||||
"theme": "classic",
|
||||
},
|
||||
}
|
||||
data = data_model.RenderCVDataModel(**test_input) # type: ignore
|
||||
# Read the reference YAML file:
|
||||
input_file_path = os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
"reference_files",
|
||||
"John_Doe_CV_yaml_reference.yaml",
|
||||
)
|
||||
data = data_model.read_input_file(input_file_path)
|
||||
output_file_path = rendering.render_template(
|
||||
data=data, output_path=os.path.dirname(__file__)
|
||||
)
|
||||
|
@ -384,7 +219,9 @@ class TestRendering(unittest.TestCase):
|
|||
|
||||
# Compare the output file with the reference file:
|
||||
reference_file_path = os.path.join(
|
||||
os.path.dirname(__file__), "reference_files", "John_Doe_CV_test.tex"
|
||||
os.path.dirname(__file__),
|
||||
"reference_files",
|
||||
"John_Doe_CV_tex_reference.tex",
|
||||
)
|
||||
with open(output_file_path, "r") as file:
|
||||
output = file.read()
|
||||
|
@ -404,10 +241,10 @@ class TestRendering(unittest.TestCase):
|
|||
)
|
||||
|
||||
required_files = [
|
||||
"EBGaramond-Italic.ttf",
|
||||
"EBGaramond-Regular.ttf",
|
||||
"EBGaramond-Bold.ttf",
|
||||
"EBGaramond-BoldItalic.ttf",
|
||||
f"{data.design.font}-Italic.ttf",
|
||||
f"{data.design.font}-Regular.ttf",
|
||||
f"{data.design.font}-Bold.ttf",
|
||||
f"{data.design.font}-BoldItalic.ttf",
|
||||
]
|
||||
font_files = os.listdir(font_directory_path)
|
||||
for required_file in required_files:
|
||||
|
@ -423,7 +260,9 @@ class TestRendering(unittest.TestCase):
|
|||
|
||||
def test_run_latex(self):
|
||||
latex_file_path = os.path.join(
|
||||
os.path.dirname(__file__), "reference_files", "John_Doe_CV_test.tex"
|
||||
os.path.dirname(__file__),
|
||||
"reference_files",
|
||||
"John_Doe_CV_tex_reference.tex",
|
||||
)
|
||||
|
||||
with self.subTest(msg="Existent file name"):
|
||||
|
@ -435,7 +274,9 @@ class TestRendering(unittest.TestCase):
|
|||
)
|
||||
|
||||
# Compare the pdf file with the reference pdf file:
|
||||
reference_pdf_file = pdf_file.replace("_test.pdf", "_reference.pdf")
|
||||
reference_pdf_file = pdf_file.replace(
|
||||
"_tex_reference.pdf", "_pdf_reference.pdf"
|
||||
)
|
||||
reference_pdf_file_size = os.path.getsize(reference_pdf_file)
|
||||
pdf_file_size = os.path.getsize(pdf_file)
|
||||
|
||||
|
|
Loading…
Reference in New Issue