panres/templates/latex

120 lines
3 KiB
Text
Raw Normal View History

2019-08-30 14:50:10 -07:00
\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}}}
2019-05-11 08:44:26 -07:00
\begin{document}
2019-08-30 14:50:10 -07:00
\setmainfont{Corbert}
% Set up table styles
\arrayrulecolor{red}
\setlength\arrayrulewidth{1.2pt}
\begin{tabularx}{\textwidth}{l X r}
{% raw %}
\name && \large\title{%
{% endraw %}
{{ config.available.start }}—{{ config.available.end }}} \\[-2pt]
\end{tabularx}
% Contact info
\begin{tabularx}{\textwidth}{ c X c l }
\accent{\glyph{"F015}} & {{ config.author.addresses.home }} & \accent{\glyph{"F095}} & {{ config.author.phone }} \\
\accent{\glyph{"F19C}} & {{ config.author.addresses.school }} & \accent{\glyph{"F003}} & {{ config.author.email }} \\
\accent{\glyph{"F0AC}} & {{ config.author.website }} & \accent{\glyph{"F126}} & {{ config.author.github }}
\end{tabularx}
\begin{tabularx}{\textwidth}{ c | r X r }
\sectiontitle{Education}
{% 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 -%}
\spacer
\sectiontitle{Skills}
{% 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{Experience}
{% for experience in config.experiences -%}
{% raw %}
& \widel{\large\title{%
{% endraw %}
2019-12-03 16:35:36 -08:00
{{ experience.title }}}\hint{ {{experience.company }} }} & {{ experience.start }}---{{ experience.end }} \\
2019-08-30 14:50:10 -07:00
& \widel{\footnotesize {{ experience.location }}} \\
{% for note in experience.notes -%}
& \bullet
{% raw %}
& \widex{%
{% endraw %}
{{note}}} \\
{% endfor -%}
{% endfor -%}
\end{tabularx}
\begin{tabularx}{\textwidth}{c | r X r }
\sectiontitle{Projects}
{% for project in config.projects -%}
{% raw %}
& \widel{\large\title{%
{% endraw %}
{{ project.name }}}\hint{ {{ project.lang }} }} \\
{% for note in project.notes -%}
& \bullet
{% raw %}
& \widex{%
{% endraw %}
{{note}}} \\
{% endfor -%}
{% endfor -%}
\end{tabularx}
2019-05-11 08:44:26 -07:00
\end{document}