panres/templates/latex

120 lines
2.9 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
2022-06-03 07:11:54 +00:00
\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}
2019-08-30 21:50:10 +00:00
\begin{tabularx}{\textwidth}{ c | r X r }
2022-06-03 07:11:54 +00:00
\sectiontitle{Degree} \\[-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 -%}
2022-06-03 07:11:54 +00:00
% Lol this spacer is for alignment of the two table sections
2019-08-30 21:50:10 +00:00
\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}
2021-09-29 05:01:32 +00:00
% \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}
2019-05-11 15:44:26 +00:00
\end{document}