% LaTeX Resume Pandoc Template jb2resume-ats.latex
%
% ATS-optimized variant: single-column linear layout, no multi-column
% headers, no decorative fonts or colors. Designed for maximum
% compatibility with Applicant Tracking Systems (ATS) and online parsers.
%
% Based on jb2resume.latex by John Bokma
% https://github.com/john-bokma/resume-pandoc

\documentclass[$if(fontsize)$$fontsize$$else$10pt$endif$,letterpaper]{article}

\usepackage{hyperref}
\usepackage{geometry}
\usepackage{enumitem}
\usepackage{underscore}
\usepackage[parfill]{parskip}
\usepackage{lmodern}
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}

% PDF metadata for parsers
\def\name{$name$}

\hypersetup{
  colorlinks = true,
  urlcolor = black,
  linkcolor = black,
  pdfauthor = {\name},
  pdfkeywords = {$keywords$},
  pdftitle = {\name: Resume},
  pdfsubject = {Resume},
  pdfpagemode = UseNone
}

\geometry{
  body={6.5in, 9.5in},
  left=1.0in,
  top=0.75in
}

% Tightlist fix for Pandoc
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

% No running header — ATS parsers can misread header/footer text
\pagestyle{plain}
\thispagestyle{empty}

% Simple section fonts — no colors, no decorative fonts
% Standard serif for maximum parser compatibility
\usepackage{sectsty}
\sectionfont{\rmfamily\bfseries\large\MakeUppercase}
\subsectionfont{\rmfamily\bfseries\normalsize}

% No section numbering
$if(numbersections)$
\setcounter{secnumdepth}{5}
$else$
\setcounter{secnumdepth}{0}
$endif$

% Simple bullet points, no decorative dashes
\setlist[itemize]{leftmargin=1.5em, label={\textbullet}, itemsep=1pt, parsep=0pt}
\setlist[description]{leftmargin=0em, style=sameline}

% Standard URL font
\urlstyle{same}

\begin{document}

% ---- HEADER: single-column linear layout ----
% Name on its own line, then all contact info below linearly.
% No minipage / multi-column — critical for ATS parsing.

{\LARGE\bfseries \name}

\vspace{4pt}

$if(left-column)$
$for(left-column)$$left-column$ \\
$endfor$
$endif$
$if(right-column)$
$for(right-column)$$right-column$ \\
$endfor$
$endif$

\vspace{6pt}
\rule{\linewidth}{0.6pt}

$body$

\end{document}
