panres/templates/latex

115 lines
2.8 KiB
Plaintext
Raw Normal View History

2019-08-30 21:50:10 +00: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)
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
\newcommand{\glyph}[1]{{\fa\symbol{#1}}}
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
\renewcommand{\bullet}{ \ \ \raisebox{1.5pt}{\tiny\glyph{"F054}}}
2019-05-11 15:44:26 +00:00
\begin{document}
2019-08-30 21:50:10 +00:00
\setmainfont{Corbert}
% Set up table styles
\arrayrulecolor{red}
\setlength\arrayrulewidth{1.2pt}
2020-07-24 02:04:24 +00:00
\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 }}
2019-08-30 21:50:10 +00:00
\end{tabularx}
% Contact info
\begin{tabularx}{\textwidth}{ c | r X r }
2020-07-24 02:04:24 +00:00
\sectiontitle{Education} \\[-8pt]
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
& \widel{ {\large\title{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{ 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 -%}
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
& \hint{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{ row.name | title }}:} &
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
\multicolumn{2}{X}{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{ row.desc }}} \\
{% endfor -%}
\spacer
2020-07-24 02:04:24 +00:00
\sectiontitle{Skills} \\[-8pt]
2019-08-30 21:50:10 +00:00
{% for row in config.skills -%}
& \hint{ {{ row.name | title }}:} &
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
\multicolumn{2}{X}{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{% if row.name == "languages" -%}
\multirow{3}{*}{
\begin{tabularx}{\textwidth}{ r l }
{% for group in row.desc -%}
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
\hint{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{ 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 }
2020-07-24 02:04:24 +00:00
\sectiontitle{Experiences}
{% for experience in config.experiences -%} \\[-8pt]
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
& \widel{\large\title{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2020-07-24 02:04:24 +00:00
{{ experience.company }}}\hint{ {{experience.title }} }} & {{ experience.start }}---{{ experience.end }} \\
2019-08-30 21:50:10 +00:00
& \widel{\footnotesize {{ experience.location }}} \\
{% for note in experience.notes -%}
& \bullet
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
& \widex{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{note}}} \\
{% endfor -%}
{% endfor -%}
\end{tabularx}
\begin{tabularx}{\textwidth}{c | r X r }
\sectiontitle{Projects}
2020-07-24 02:04:24 +00:00
{% for project in config.projects -%} \\[-8pt]
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
& \widel{\large\title{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{ project.name }}}\hint{ {{ project.lang }} }} \\
{% for note in project.notes -%}
& \bullet
2020-07-23 23:19:38 +00:00
{% raw -%}
2019-08-30 21:50:10 +00:00
& \widex{%
2020-07-23 23:19:38 +00:00
{% endraw -%}
2019-08-30 21:50:10 +00:00
{{note}}} \\
{% endfor -%}
{% endfor -%}
\end{tabularx}
2019-05-11 15:44:26 +00:00
\end{document}