start working on v1

This commit is contained in:
Sina Atalay 2024-01-14 19:23:11 +01:00
parent 8cb7159aee
commit fc7eeca938
38 changed files with 2 additions and 3076 deletions

Binary file not shown.

1
examples/README.md Normal file
View File

@ -0,0 +1 @@
Explain here it can be used with Python scripts or with the command line.

View File

@ -1,8 +1,6 @@
"""RenderCV package. """RenderCV package.
It parses the user input YAML/JSON file and validates the data (checks if the To be continued...
dates are consistent, if the URLs are valid, etc.). Then, with the data, it creates a
$\\LaTeX$ file and renders it with [TinyTeX](https://yihui.org/tinytex/).
""" """
import logging import logging
import os import os

File diff suppressed because it is too large Load Diff

View File

@ -1,493 +0,0 @@
"""This module implements LaTeX file generation and LaTeX runner utilities for RenderCV.
"""
import subprocess
import os
import re
import shutil
from datetime import date
import logging
import time
from typing import Optional
import sys
from importlib.resources import files
from .data_model import RenderCVDataModel, CurriculumVitae, Design, ClassicThemeOptions
from jinja2 import Environment, PackageLoader
logger = logging.getLogger(__name__)
def markdown_to_latex(markdown_string: str) -> str:
"""Convert a markdown string to LaTeX.
This function is used as a Jinja2 filter.
Example:
```python
markdown_to_latex("This is a **bold** text with an [*italic link*](https://google.com).")
```
will return:
`#!pytjon "This is a \\textbf{bold} text with a \\href{https://google.com}{\\textit{link}}."`
Args:
markdown_string (str): The markdown string to convert.
Returns:
str: The LaTeX string.
"""
if not isinstance(markdown_string, str):
raise ValueError("markdown_to_latex should only be used on strings!")
# convert links
links = re.findall(r"\[([^\]\[]*)\]\((.*?)\)", markdown_string)
if links is not None:
for link in links:
link_text = link[0]
link_url = link[1]
old_link_string = f"[{link_text}]({link_url})"
new_link_string = "\\href{" + link_url + "}{" + link_text + "}"
markdown_string = markdown_string.replace(old_link_string, new_link_string)
# convert bold
bolds = re.findall(r"\*\*([^\*]*)\*\*", markdown_string)
if bolds is not None:
for bold_text in bolds:
old_bold_text = f"**{bold_text}**"
new_bold_text = "\\textbf{" + bold_text + "}"
markdown_string = markdown_string.replace(old_bold_text, new_bold_text)
# convert italic
italics = re.findall(r"\*([^\*]*)\*", markdown_string)
if italics is not None:
for italic_text in italics:
old_italic_text = f"*{italic_text}*"
new_italic_text = "\\textit{" + italic_text + "}"
markdown_string = markdown_string.replace(old_italic_text, new_italic_text)
latex_string = markdown_string
return latex_string
def markdown_link_to_url(value: str) -> str:
"""Convert a markdown link to a normal string URL.
This function is used as a Jinja2 filter.
Example:
```python
markdown_link_to_url("[Google](https://google.com)")
```
will return:
`#!python "https://google.com"`
Args:
value (str): The markdown link to convert.
Returns:
str: The URL as a string.
"""
if not isinstance(value, str):
raise ValueError("markdown_to_latex should only be used on strings!")
link = re.search(r"\[(.*)\]\((.*?)\)", value)
if link is not None:
url = link.groups()[1]
if url == "":
raise ValueError(f"The markdown link {value} is empty!")
return url
else:
raise ValueError("markdown_link_to_url should only be used on markdown links!")
def make_it_something(
value: str, something: str, match_str: Optional[str] = None
) -> str:
"""Make the matched parts of the string something. If the match_str is None, the
whole string will be made something.
Warning:
This function shouldn't be used directly. Use
[make_it_bold](rendering.md#rendercv.rendering.make_it_bold),
[make_it_underlined](rendering.md#rendercv.rendering.make_it_underlined), or
[make_it_italic](rendering.md#rendercv.rendering.make_it_italic) instead.
"""
if not isinstance(value, str):
raise ValueError(f"{something} should only be used on strings!")
if match_str is not None and not isinstance(match_str, str):
raise ValueError("The string to match should be a string!")
if match_str is None:
return f"\\{something}{{{value}}}"
if match_str in value:
value = value.replace(match_str, f"\\{something}{{{match_str}}}")
return value
else:
return value
def make_it_bold(value: str, match_str: Optional[str] = None) -> str:
"""Make the matched parts of the string bold. If the match_str is None, the whole
string will be made bold.
This function is used as a Jinja2 filter.
Example:
```python
make_it_bold("Hello World!", "Hello")
```
will return:
`#!python "\\textbf{Hello} World!"`
Args:
value (str): The string to make bold.
match_str (str): The string to match.
"""
return make_it_something(value, "textbf", match_str)
def make_it_underlined(value: str, match_str: Optional[str] = None) -> str:
"""Make the matched parts of the string underlined. If the match_str is None, the
whole string will be made underlined.
This function is used as a Jinja2 filter.
Example:
```python
make_it_underlined("Hello World!", "Hello")
```
will return:
`#!python "\\underline{Hello} World!"`
Args:
value (str): The string to make underlined.
match_str (str): The string to match.
"""
return make_it_something(value, "underline", match_str)
def make_it_italic(value: str, match_str: Optional[str] = None) -> str:
"""Make the matched parts of the string italic. If the match_str is None, the whole
string will be made italic.
This function is used as a Jinja2 filter.
Example:
```python
make_it_italic("Hello World!", "Hello")
```
will return:
`#!python "\\textit{Hello} World!"`
Args:
value (str): The string to make italic.
match_str (str): The string to match.
"""
return make_it_something(value, "textit", match_str)
def make_it_nolinebreak(value: str, match_str: Optional[str] = None) -> str:
"""Make the matched parts of the string non line breakable. If the match_str is
None, the whole string will be made nonbreakable.
This function is used as a Jinja2 filter.
Example:
```python
make_it_nolinebreak("Hello World!", "Hello")
```
will return:
`#!python "\\mbox{Hello} World!"`
Args:
value (str): The string to disable line breaks.
match_str (str): The string to match.
"""
return make_it_something(value, "mbox", match_str)
def abbreviate_name(name: list[str]) -> str:
"""Abbreviate a name by keeping the first letters of the first names.
This function is used as a Jinja2 filter.
Example:
```python
abbreviate_name("John Doe")
```
will return:
`#!python "J. Doe"`
Args:
name (str): The name to abbreviate.
Returns:
str: The abbreviated name.
"""
first_names = name.split(" ")[:-1]
first_names_initials = [first_name[0] + "." for first_name in first_names]
last_name = name.split(" ")[-1]
abbreviated_name = " ".join(first_names_initials) + " " + last_name
return abbreviated_name
def divide_length_by(length: str, divider: float) -> str:
r"""Divide a length by a number.
Length is a string with the following regex pattern: `\d+\.?\d* *(cm|in|pt|mm|ex|em)`
"""
# Get the value as a float and the unit as a string:
value = re.search(r"\d+\.?\d*", length).group() # type: ignore
unit = re.findall(r"[^\d\.\s]+", length)[0]
return str(float(value) / divider) + " " + unit
def get_today() -> str:
"""Return today's date in the format of "Month Year".
Returns:
str: Today's date.
"""
today = date.today()
return today.strftime("%B %Y")
def get_path_to_font_directory(font_name: str) -> str:
"""Return the path to the fonts directory.
Returns:
str: The path to the fonts directory.
"""
return str(files("rendercv").joinpath("templates", "fonts", font_name))
def render_template(data: RenderCVDataModel, output_path: Optional[str] = None) -> str:
"""Render the template using the given data.
Args:
data (RenderCVDataModel): The data to use to render the template.
Returns:
str: The path to the rendered LaTeX file.
"""
start_time = time.time()
logger.info("Rendering the LaTeX file has started.")
# create a Jinja2 environment:
theme = data.design.theme
environment = Environment(
loader=PackageLoader("rendercv", os.path.join("templates", theme)),
trim_blocks=True,
lstrip_blocks=True,
)
# add new functions to the environment:
environment.globals.update(str=str)
# set custom delimiters for LaTeX templating:
environment.block_start_string = "((*"
environment.block_end_string = "*))"
environment.variable_start_string = "<<"
environment.variable_end_string = ">>"
environment.comment_start_string = "((#"
environment.comment_end_string = "#))"
# add custom filters:
environment.filters["markdown_to_latex"] = markdown_to_latex
environment.filters["markdown_link_to_url"] = markdown_link_to_url
environment.filters["make_it_bold"] = make_it_bold
environment.filters["make_it_underlined"] = make_it_underlined
environment.filters["make_it_italic"] = make_it_italic
environment.filters["make_it_nolinebreak"] = make_it_nolinebreak
environment.filters["make_it_something"] = make_it_something
environment.filters["divide_length_by"] = divide_length_by
environment.filters["abbreviate_name"] = abbreviate_name
# load the template:
template = environment.get_template(f"{theme}.tex.j2")
cv: CurriculumVitae = data.cv
design: Design = data.design
theme_options: ClassicThemeOptions = data.design.options
output_latex_file = template.render(
cv=cv,
design=design,
theme_options=theme_options,
today=get_today(),
)
# Create an output file and write the rendered LaTeX code to it:
if output_path is None:
output_path = os.getcwd()
output_folder = os.path.join(output_path, "output")
file_name = data.cv.name.replace(" ", "_") + "_CV.tex"
output_file_path = os.path.join(output_folder, file_name)
os.makedirs(os.path.dirname(output_file_path), exist_ok=True)
with open(output_file_path, "w") as file:
file.write(output_latex_file)
# Copy the fonts directory to the output directory:
# Remove the old fonts directory if it exists:
if os.path.exists(os.path.join(os.path.dirname(output_file_path), "fonts")):
shutil.rmtree(os.path.join(os.path.dirname(output_file_path), "fonts"))
font_directory = get_path_to_font_directory(data.design.font)
output_fonts_directory = os.path.join(os.path.dirname(output_file_path), "fonts")
shutil.copytree(
font_directory,
output_fonts_directory,
dirs_exist_ok=True,
)
# Copy auxiliary files to the output directory (if there is any):
output_directory = os.path.dirname(output_file_path)
theme_directory = str(files("rendercv").joinpath("templates", theme))
for file_name in os.listdir(theme_directory):
if file_name.endswith(".cls"):
shutil.copy(
os.path.join(theme_directory, file_name),
output_directory,
)
end_time = time.time()
time_taken = end_time - start_time
logger.info(
f"Rendering the LaTeX file ({output_file_path}) has finished in"
f" {time_taken:.2f} s."
)
return output_file_path
def run_latex(latex_file_path: str) -> str:
"""
Run TinyTeX with the given LaTeX file and generate a PDF.
Args:
latex_file_path (str): The path to the LaTeX file to compile.
"""
start_time = time.time()
logger.info("Running TinyTeX to generate the PDF has started.")
latex_file_name = os.path.basename(latex_file_path)
latex_file_path = os.path.normpath(latex_file_path)
# check if the file exists:
if not os.path.exists(latex_file_path):
raise FileNotFoundError(f"The file {latex_file_path} doesn't exist!")
output_file_name = latex_file_name.replace(".tex", ".pdf")
output_file_path = os.path.join(os.path.dirname(latex_file_path), output_file_name)
if sys.platform == "win32":
# Windows
executable = str(
files("rendercv").joinpath(
"vendor", "TinyTeX", "bin", "windows", "lualatex.exe"
)
)
elif sys.platform == "linux" or sys.platform == "linux2":
# Linux
executable = str(
files("rendercv").joinpath(
"vendor", "TinyTeX", "bin", "x86_64-linux", "lualatex"
)
)
elif sys.platform == "darwin":
# MacOS
executable = str(
files("rendercv").joinpath(
"vendor", "TinyTeX", "bin", "universal-darwin", "lualatex"
)
)
else:
raise OSError(f"Unknown OS {os.name}!")
# Check if the executable exists:
if not os.path.exists(executable):
raise FileNotFoundError(
f"The TinyTeX executable ({executable}) doesn't exist! Please install"
" RenderCV again."
)
# Run TinyTeX:
def run():
with subprocess.Popen(
[
executable,
f"{latex_file_name}",
],
cwd=os.path.dirname(latex_file_path),
stdout=subprocess.PIPE,
stdin=subprocess.DEVNULL, # don't allow TinyTeX to ask for user input
text=True,
encoding="utf-8",
) as latex_process:
output, error = latex_process.communicate()
if latex_process.returncode != 0:
# Find the error line:
for line in output.split("\n"):
if line.startswith("! "):
error_line = line.replace("! ", "")
break
raise RuntimeError(
"Running TinyTeX has failed with the following error:",
f"{error_line}",
"If you can't solve the problem, please try to re-install RenderCV,"
" or open an issue on GitHub.",
)
run()
run() # run twice for cross-references
# check if the PDF file is generated:
if not os.path.exists(output_file_path):
raise FileNotFoundError(
f"The PDF file {output_file_path} couldn't be generated! If you can't"
" solve the problem, please try to re-install RenderCV, or open an issue"
" on GitHub."
)
# remove the unnecessary files:
for file_name in os.listdir(os.path.dirname(latex_file_path)):
if (
file_name.endswith(".aux")
or file_name.endswith(".log")
or file_name.endswith(".out")
):
os.remove(os.path.join(os.path.dirname(latex_file_path), file_name))
end_time = time.time()
time_taken = end_time - start_time
logger.info(
f"Running TinyTeX to generate the PDF ({output_file_path}) has finished in"
f" {time_taken:.2f} s."
)
return output_file_path

View File

View File

@ -1,163 +0,0 @@
((# IMPORT MACROS #))
((* from "components/section_contents.tex.j2" import section_contents with context *))
((* from "components/header.tex.j2" import header with context *))
\documentclass[<<design.font_size>>, <<design.page_size>>]{article}
% Packages:
\usepackage[
ignoreheadfoot, % set margins without considering header and footer
top=<<theme_options.margins.page.top>>, % seperation between body and page edge from the top
bottom=<<theme_options.margins.page.bottom>>, % seperation between body and page edge from the bottom
left=<<theme_options.margins.page.left>>, % seperation between body and page edge from the left
right=<<theme_options.margins.page.right>>, % seperation between body and page edge from the right
footskip=<<theme_options.margins.page.bottom|divide_length_by(2)>>, % 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}{<<theme_options.primary_color.as_rgb_tuple()|join(", ")>>} % define primary color
\usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons
\usepackage[
pdftitle={<<cv.name>>'s CV},
pdfauthor={<<cv.name>>},
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
((# \pagenumbering{gobble} % no page numbering #))
\makeatletter
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
\patchcmd{\ps@customFooterStyle}{\thepage}{
\color{gray}\textit{\small <<cv.name>> | Page \thepage{} of \pageref*{LastPage}}
}{}{} % replace number by desired string
\makeatother
\pagestyle{customFooterStyle}
\setmainfont{<<design.font>>}[
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:
<<theme_options.margins.section_title.top>>
}{
% bottom space:
<<theme_options.margins.section_title.bottom>>
} % 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
((* if theme_options.text_alignment == "justified" *))
\newcolumntype{K}[1]{
>{\let\newline\\\arraybackslash\hspace{0pt}}X
} % justified flexible width column type
((* elif theme_options.text_alignment == "left-aligned" *))
\newcolumntype{K}[1]{
>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}X
} % left-aligned flexible width column type
((* endif *))
\setlength\tabcolsep{-1.5pt} % no space between columns
\newenvironment{highlights}{
\begin{itemize}[
topsep=0pt,
parsep=<<theme_options.margins.highlights_area.vertical_between_bullet_points>>,
partopsep=0pt,
itemsep=0pt,
after=\vspace{-1\baselineskip},
leftmargin=<<theme_options.margins.highlights_area.left>> + 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-<<theme_options.margins.page.right>>-<<theme_options.margins.entry_area.left_and_right>>+0.05cm},
\LenToUnit{\paperheight-<<theme_options.margins.page.top|divide_length_by(2)>>}
){\vtop{{\null}\makebox[0pt][c]{
\small\color{gray}\textit{Last updated in <<today>>}\hspace{\widthof{Last updated in <<today>>}}
}}}%
}%
}%
% 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}
((* if theme_options.show_last_updated_date *))
\placelastupdatedtext
((* endif *))
<<header(name=cv.name, connections=cv.connections)|indent(4)>>
((* if cv.summary is not none *))
\section{Summary}
{
((* if theme_options.text_alignment == "left-aligned" *))
\raggedright
((* endif *))
\setlength{\leftskip}{<<theme_options.margins.entry_area.left_and_right>>}
\setlength{\rightskip}{<<theme_options.margins.entry_area.left_and_right>>}
<<cv.summary>>
\setlength{\leftskip}{0cm}
\setlength{\rightskip}{0cm}
}
((* endif *))
\centering
((* for section in cv.sections *))
\section{<<section.title>>}
<<section_contents(title=section.title, entries=section.entries, entry_type=section.entry_type, link_text=section.link_text)|indent(4)>>
((* endfor *))
\end{document}

View File

@ -1,9 +0,0 @@
((* macro date_and_location_strings(date_and_location_strings) *))
((* for item in date_and_location_strings *))
((* if loop.last *))
<<item>>
((* else *))
<<item>> \newline
((* endif *))
((* endfor *))
((* endmacro *))

View File

@ -1,114 +0,0 @@
((* from "components/highlights.tex.j2" import highlights as print_higlights with context *))
((* from "components/date_and_location_strings.tex.j2" import date_and_location_strings as print_date_and_locations with context *))
((* macro education(study_type, institution, area, highlights, date_and_location_strings)*))
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
((# width: \textwidth #))
((# preamble: first column, second column, third column #))
((# first column: p{0.55cm}; constant width, ragged left column #))
((# second column: K{<<theme_options.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# third column: R{<<theme_options.date_and_location_width>>}; constant widthm ragged right column #))
\begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{L{0.85cm} K{<<theme_options.margins.entry_area.left_and_right>>} R{<<theme_options.date_and_location_width>>}}
\textbf{<<study_type if study_type is not none>>}
&
\textbf{<<institution|markdown_to_latex>>}, <<area|markdown_to_latex>>
<<print_higlights(highlights)|indent(4)->>
&
<<print_date_and_locations(date_and_location_strings)|indent(4)->>
\end{tabularx}
((* endmacro *))
((* macro experience(company, position, highlights, date_and_location_strings)*))
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
((# width: \textwidth #))
((# preamble: first column, second column #))
((# first column:: K{<<theme_options.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# second column: R{<<theme_options.date_and_location_width>>}; constant width ragged right column #))
\begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<theme_options.margins.entry_area.left_and_right>>} R{<<theme_options.date_and_location_width>>}}
\textbf{<<company|markdown_to_latex>>}, <<position|markdown_to_latex>>
<<print_higlights(highlights)|indent(4)->>
&
<<print_date_and_locations(date_and_location_strings)|indent(4)->>
\end{tabularx}
((* endmacro *))
((* macro normal(name, highlights, date_and_location_strings, markdown_url=none, link_text=none)*))
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
((# width: \textwidth #))
((# preamble: first column, second column #))
((# first column:: K{<<theme_options.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# second column: R{<<theme_options.date_and_location_width>>}; constant width ragged right column #))
((* if date_and_location_strings == [] *))
\begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<theme_options.margins.entry_area.left_and_right>>}}
((* if markdown_url is not none *))
((* if link_text is not none *))
((* set markdown_url = "["+link_text+"]("+ markdown_url|markdown_link_to_url +")" *))
\textbf{<<name|markdown_to_latex>>}, <<markdown_url|markdown_to_latex>>
((* else *))
\textbf{<<name|markdown_to_latex>>}, <<markdown_url|markdown_to_latex>>
((* endif *))
((* else *))
\textbf{<<name|markdown_to_latex>>}
((* endif *))
<<print_higlights(highlights)|indent(4)->>
\end{tabularx}
((* else *))
\begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<theme_options.margins.entry_area.left_and_right>>} R{<<theme_options.date_and_location_width>>}}
((* if markdown_url is not none *))
((* if link_text is not none *))
((* set markdown_url = "["+link_text+"]("+ markdown_url|markdown_link_to_url +")" *))
\textbf{<<name|markdown_to_latex>>}, <<markdown_url|markdown_to_latex>>
((* else *))
\textbf{<<name|markdown_to_latex>>}, <<markdown_url|markdown_to_latex>>
((* endif *))
((* else *))
\textbf{<<name|markdown_to_latex>>}
((* endif *))
<<print_higlights(highlights)|indent(4)->>
&
<<print_date_and_locations(date_and_location_strings)|indent(4)->>
\end{tabularx}
((* endif *))
((* endmacro *))
((* macro publication(title, authors, journal, date, doi, doi_url)*))
((# \begin{tabularx}{⟨width⟩}[⟨pos⟩]{⟨preamble⟩} #))
((# width: \textwidth #))
((# preamble: first column, second column #))
((# first column:: K{<<theme_options.margins.entry_area.left_and_right>>}; variable width, justified column #))
((# second column: R{<<theme_options.date_and_location_width>>}; constant width ragged right column #))
\begin{tabularx}{\textwidth-<<theme_options.margins.entry_area.left_and_right|divide_length_by(0.5)>>-0.13cm}{K{<<theme_options.margins.entry_area.left_and_right>>} R{<<theme_options.date_and_location_width>>}}
\textbf{<<title>>}
\vspace{<<theme_options.margins.highlights_area.vertical_between_bullet_points>>}
<<authors|map("abbreviate_name")|map("make_it_nolinebreak")|join(", ")|make_it_bold(cv.name|abbreviate_name)|make_it_italic(cv.name|abbreviate_name)>>
\vspace{<<theme_options.margins.highlights_area.vertical_between_bullet_points>>}
\href{<<doi_url>>}{<<doi>>} (<<journal>>)
&
<<date>>
\end{tabularx}
((* endmacro *))
((* macro one_line(name, details, markdown_url=none, link_text=none) *))
\begingroup((* if theme_options.text_alignment == "left-aligned" *))\raggedright((* endif *))
\leftskip=<<theme_options.margins.entry_area.left_and_right>>
\advance\csname @rightskip\endcsname <<theme_options.margins.entry_area.left_and_right>>
\advance\rightskip <<theme_options.margins.entry_area.left_and_right>>
((* if markdown_url is not none *))
((* if link_text is not none *))
((* set markdown_url = "["+link_text+"]("+ markdown_url|markdown_link_to_url +")" *))
\textbf{<<name|markdown_to_latex>>:} <<details|markdown_to_latex>> (<<markdown_url|markdown_to_latex>>)
((* else *))
\textbf{<<name|markdown_to_latex>>:} <<details|markdown_to_latex>> (<<markdown_url|markdown_to_latex>>)
((* endif *))
((* else *))
\textbf{<<name|markdown_to_latex>>:} <<details|markdown_to_latex>>
((* endif *))
\par\endgroup
((* endmacro *))

View File

@ -1,19 +0,0 @@
((* import "components/header_connections.tex.j2" as print_connections *))
((* macro header(name, connections) *))
\begin{header}
\fontsize{<<theme_options.header_font_size>>}{<<theme_options.header_font_size>>}
\textbf{<<name>>}
\vspace{<<theme_options.margins.header.vertical_between_name_and_connections>>}
\normalsize
((* for connection in connections *))
<<print_connections[connection.name|replace(" ", "")](connection.value, connection.url)>>
((* if not loop.last *))
\hspace{0.5cm}
((* endif *))
((* endfor *))
\end{header}
\vspace{<<theme_options.margins.header.bottom>>}
((* endmacro *))

View File

@ -1,32 +0,0 @@
((# Each macro in here is a link with an icon for header. #))
((* macro LinkedIn(username, url) -*))
\mbox{\hrefWithoutArrow{<<url>>}{{\small\faLinkedinIn}\hspace{0.13cm}<<username>>}}
((*- endmacro *))
((* macro GitHub(username, url) -*))
\mbox{\hrefWithoutArrow{<<url>>}{{\small\faGithub}\hspace{0.13cm}<<username>>}}
((*- endmacro *))
((* macro Instagram(username, url) -*))
\mbox{\hrefWithoutArrow{<<url>>}{{\small\faInstagram}\hspace{0.13cm}<<username>>}}
((*- endmacro *))
((* macro Orcid(username, url) -*))
\mbox{\hrefWithoutArrow{<<url>>}{{\small\faOrcid}\hspace{0.13cm}<<username>>}}
((*- endmacro *))
((* macro phone(number, url) -*))
\mbox{\hrefWithoutArrow{<<url|replace("-","")>>}{{\footnotesize\faPhone*}\hspace{0.13cm}<<number|replace("tel:", "")|replace("-"," ")>>}}
((*- endmacro *))
((* macro email(email, url) -*))
\mbox{\hrefWithoutArrow{<<url>>}{{\small\faEnvelope[regular]}\hspace{0.13cm}<<email>>}}
((*- endmacro *))
((* macro website(url, dummy) -*))
\mbox{\hrefWithoutArrow{<<url>>}{{\small\faLink}\hspace{0.13cm}<<url|replace("https://","")|replace("/","")>>}}
((*- endmacro *))
((* macro location(location, url) -*))
\mbox{{\small\faMapMarker*}\hspace{0.13cm}<<location>>}
((*- endmacro *))

View File

@ -1,13 +0,0 @@
((* macro highlights(highlights) *))
\vspace{<<theme_options.margins.highlights_area.top>>}
((* for item in highlights *))
((* if loop.first *))
\begin{highlights}
((* endif *))
\item <<item|markdown_to_latex>> ((* if loop.last *))\hspace*{-0.2cm}((* endif *))
((* if loop.last *))
\end{highlights}
((* endif *))
((* endfor *))
((* endmacro *))

View File

@ -1,54 +0,0 @@
((* import "components/entry.tex.j2" as entry with context *))
((* macro section_contents(title, entries, entry_type, link_text=none)*))
((* for value in entries *))
((* if title in theme_options.show_timespan_in *))
((* set date_and_location_strings = value.date_and_location_strings_with_timespan *))
((* else *))
((* set date_and_location_strings = value.date_and_location_strings_without_timespan *))
((* endif *))
((* if not loop.first *))
\vspace{<<theme_options.margins.entry_area.vertical_between>>}
((* endif *))
((* if entry_type == "EducationEntry" *))
<<entry["education"](
study_type=value.study_type,
institution=value.institution,
area=value.area,
highlights=value.highlight_strings,
date_and_location_strings=date_and_location_strings
)|indent(4)>>
((* elif entry_type == "ExperienceEntry" *))
<<entry["experience"](
company=value.company,
position=value.position,
highlights=value.highlight_strings,
date_and_location_strings=date_and_location_strings
)|indent(4)>>
((* elif entry_type == "NormalEntry" *))
<<entry["normal"](
name=value.name,
highlights=value.highlight_strings,
date_and_location_strings=date_and_location_strings,
markdown_url=value.markdown_url,
link_text=link_text,
)|indent(4)>>
((* elif entry_type == "OneLineEntry" *))
<<entry["one_line"](
name=value.name,
details=value.details,
markdown_url=value.markdown_url,
link_text=link_text,
)|indent(4)>>
((* elif entry_type == "PublicationEntry" *))
<<entry["publication"](
title=value.title,
authors=value.authors,
journal=value.journal,
date=value.month_and_year,
doi=value.doi,
doi_url=value.doi_url,
)|indent(4)>>
((* endif *))
((* endfor *))
((* endmacro *))

View File

View File

@ -1,93 +0,0 @@
Copyright (c) 2010-2013 Georg Duffner (http://www.georgduffner.at)
All "EB Garamond" Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,93 +0,0 @@
Copyright 2010-2022 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@ -1,218 +0,0 @@
cv:
name: <<name>>
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
text_alignment: justified
header_font_size: 30 pt
margins:
page:
top: 2 cm
bottom: 2 cm
left: 1.24 cm
right: 1.24 cm
section_title:
top: 0.2 cm
bottom: 0.2 cm
entry_area:
left_and_right: 0.2 cm
vertical_between: 0.2 cm
highlights_area:
top: 0.10 cm
left: 0.4 cm
vertical_between_bullet_points: 0.10 cm
header:
vertical_between_name_and_connections: 0.2 cm
bottom: 0.2 cm