119 lines
2.9 KiB
Text
119 lines
2.9 KiB
Text
\documentclass[11pt]{letter}
|
|
\pagestyle{empty}
|
|
|
|
\usepackage{fontspec} % Enable fonts
|
|
\usepackage[margin=0.5in]{geometry} % Override default margins
|
|
\usepackage[none]{hyphenat} % Don't hyphenate at all
|
|
\usepackage{macros} % See macros.sty
|
|
\usepackage{tabularx} % Tables with fill-width columns
|
|
\usepackage{multirow}
|
|
\usepackage{colortbl} % Colored table vlines
|
|
\usepackage{graphicx} % Rotate text
|
|
|
|
% macros which are illegal in .sty (primarily just font awesome stuff)
|
|
|
|
{% raw -%}
|
|
\newcommand{\glyph}[1]{{\fa\symbol{#1}}}
|
|
{% endraw -%}
|
|
|
|
\renewcommand{\bullet}{ \ \ \raisebox{1.5pt}{\tiny\glyph{"F054}}}
|
|
|
|
\begin{document}
|
|
|
|
\setmainfont{Corbert}
|
|
% Set up table styles
|
|
\arrayrulecolor{red}
|
|
\setlength\arrayrulewidth{1.2pt}
|
|
\begin{tabularx}{\textwidth}{X c l}
|
|
\multirow[b]{3}{*}{\name}
|
|
& \accent{\glyph{"F0AC}} & {{ config.author.website }} \\
|
|
& \accent{\glyph{"F003}} & {{ config.author.email }} \\
|
|
& \accent{\glyph{"F09B}} & {{ config.author.github }}
|
|
\end{tabularx}
|
|
|
|
% Contact info
|
|
|
|
\begin{tabularx}{\textwidth}{c | r X r }
|
|
\sectiontitle{Experiences}
|
|
{% for experience in config.experiences -%} \\[-8pt]
|
|
{% raw -%}
|
|
& \widel{\large\title{%
|
|
{% endraw -%}
|
|
{{ experience.company }}}\hint{ {{experience.title }} }} & {{ experience.start }}---{{ experience.end }} \\
|
|
& \widel{\footnotesize {{ experience.location }}
|
|
{% if experience.remote -%}
|
|
\color[rgb]{.8,.8,.8}{(Remote)}
|
|
{% endif -%}
|
|
} \\
|
|
{% for note in experience.notes -%}
|
|
& \bullet
|
|
{% raw -%}
|
|
& \widex{%
|
|
{% endraw -%}
|
|
{{note}}} \\
|
|
{% endfor -%}
|
|
{% endfor -%}
|
|
\end{tabularx}
|
|
|
|
\begin{tabularx}{\textwidth}{ c | r X r }
|
|
\sectiontitle{Degree} \\[-8pt]
|
|
{% raw -%}
|
|
& \widel{ {\large\title{%
|
|
{% endraw -%}
|
|
{{ config.education.school }}}}\hint{ {{ config.education.location }}}} & {{ config.education.start }}---{{ config.education.end_date }} \\
|
|
& \widel{\footnotesize {{ config.education.college }}} \\
|
|
{% for row in config.education.list -%}
|
|
{% raw -%}
|
|
& \hint{%
|
|
{% endraw -%}
|
|
{{ row.name | title }}:} &
|
|
{% raw -%}
|
|
\multicolumn{2}{X}{%
|
|
{% endraw -%}
|
|
{{ row.desc }}} \\
|
|
{% endfor -%}
|
|
|
|
% Lol this spacer is for alignment of the two table sections
|
|
\spacer
|
|
|
|
\sectiontitle{Skills} \\[-8pt]
|
|
{% for row in config.skills -%}
|
|
& \hint{ {{ row.name | title }}:} &
|
|
{% raw -%}
|
|
\multicolumn{2}{X}{%
|
|
{% endraw -%}
|
|
{% if row.name == "languages" -%}
|
|
\multirow{3}{*}{
|
|
\begin{tabularx}{\textwidth}{ r l }
|
|
{% for group in row.desc -%}
|
|
{% raw -%}
|
|
\hint{%
|
|
{% endraw -%}
|
|
{{ group.level | title }}:} & {{ group.langs }} \\
|
|
{% endfor -%}
|
|
\end{tabularx}
|
|
} \newline \newline % 100% hack pls fix
|
|
{% else -%}
|
|
{{ row.desc }}
|
|
{% endif -%}
|
|
}\\
|
|
{% endfor -%}
|
|
\end{tabularx}
|
|
|
|
% \begin{tabularx}{\textwidth}{c | r X r }
|
|
% \sectiontitle{Projects}
|
|
% {% for project in config.projects -%} \\[-8pt]
|
|
% {% raw -%}
|
|
% & \widel{\large\title{%
|
|
% {% endraw -%}
|
|
% {{ project.name }}}\hint{ {{ project.lang }} }} \\
|
|
% {% for note in project.notes -%}
|
|
% & \bullet
|
|
% {% raw -%}
|
|
% & \widex{%
|
|
% {% endraw -%}
|
|
% {{note}}} \\
|
|
% {% endfor -%}
|
|
% {% endfor -%}
|
|
% \end{tabularx}
|
|
\end{document}
|