mirror of
https://github.com/rendercv/rendercv.git
synced 2026-01-03 02:48:08 -05:00
tests: update testdata
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Sourabh Bajaj
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -28,12 +28,14 @@
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
@@ -80,6 +82,7 @@
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
% \renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
@@ -90,8 +93,6 @@
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
|
||||
\vspace{-0.10cm}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
@@ -119,7 +120,7 @@
|
||||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{1cm, \fill, 4.1 cm}
|
||||
\setcolumnwidth{1 cm, \fill, 4.1 cm}
|
||||
\begin{paracol}{3}
|
||||
\raggedright #2 \switchcolumn
|
||||
}{
|
||||
@@ -147,9 +148,11 @@
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
|
||||
|
||||
@@ -28,12 +28,14 @@
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
@@ -80,6 +82,7 @@
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
% \renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
@@ -90,8 +93,6 @@
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
|
||||
\vspace{-0.10cm}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
@@ -119,7 +120,7 @@
|
||||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{1cm, \fill, 4.1 cm}
|
||||
\setcolumnwidth{1 cm, \fill, 4.1 cm}
|
||||
\begin{paracol}{3}
|
||||
\raggedright #2 \switchcolumn
|
||||
}{
|
||||
@@ -147,9 +148,11 @@
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
\begin{header}
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage{charter} % for using charter font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
@@ -62,7 +64,7 @@
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
\renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$}
|
||||
\renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
@@ -73,8 +75,6 @@
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
|
||||
\vspace{-0.10cm}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
@@ -128,10 +128,11 @@
|
||||
}%
|
||||
}%
|
||||
|
||||
% % save the original href command in a new command:
|
||||
% \let\hrefWithoutArrow\href
|
||||
% % new command for external links:
|
||||
% \renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
|
||||
% new command for external links:
|
||||
|
||||
|
||||
\begin{document}
|
||||
\newcommand{\AND}{\unskip
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,6 @@
|
||||
%-------------------------
|
||||
% Resume in Latex
|
||||
% Author : Sourabh Bajaj
|
||||
% License : MIT
|
||||
%------------------------
|
||||
|
||||
\documentclass[10pt, letterpaper]{article}
|
||||
|
||||
% Packages:
|
||||
\usepackage[
|
||||
ignoreheadfoot, % set margins without considering header and footer
|
||||
top=2 cm, % seperation between body and page edge from the top
|
||||
@@ -15,72 +10,131 @@
|
||||
footskip=1.0 cm, % seperation between body and footer
|
||||
% showframe % for debugging
|
||||
]{geometry} % for adjusting page geometry
|
||||
\usepackage{latexsym}
|
||||
\usepackage[nobottomtitles*]{titlesec}
|
||||
\usepackage{marvosym}
|
||||
\usepackage{verbatim}
|
||||
\usepackage{setspace}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{enumitem}
|
||||
\usepackage[
|
||||
hidelinks,
|
||||
pdftitle={None's CV},
|
||||
pdfauthor={None}
|
||||
]{hyperref}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{ifthen}
|
||||
\usepackage{fontawesome5}
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage[pscoord]{eso-pic} % for floating text on the page
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable
|
||||
\input{glyphtounicode}
|
||||
\pdfgentounicode=1
|
||||
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{} % clear all header and footer fields
|
||||
\fancyfoot[CO]{\color{gray}\textit{\small None - Page \thepage{} of \pageref*{LastPage}}}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
|
||||
\usepackage{titlesec} % for customizing section titles
|
||||
\usepackage{tabularx} % for making tables with fixed width columns
|
||||
\usepackage{array} % tabularx requires this
|
||||
\usepackage[dvipsnames]{xcolor} % for coloring text
|
||||
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
|
||||
\usepackage{enumitem} % for customizing lists
|
||||
\usepackage{fontawesome5} % for using icons
|
||||
\usepackage{amsmath} % for math
|
||||
\usepackage[
|
||||
pdftitle={None's CV},
|
||||
pdfauthor={None},
|
||||
colorlinks=true,
|
||||
urlcolor=primaryColor
|
||||
]{hyperref} % for links, metadata and bookmarks
|
||||
\usepackage[pscoord]{eso-pic} % for floating text on the page
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
\urlstyle{same}
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
\pdfgentounicode=1
|
||||
\fi
|
||||
|
||||
% Some settings:
|
||||
\AtBeginEnvironment{adjustwidth}{\partopsep0pt} % remove space before adjustwidth environment
|
||||
\pagestyle{empty} % no header or footer
|
||||
\setcounter{secnumdepth}{0} % no section numbering
|
||||
\setlength{\parindent}{0pt} % no indentation
|
||||
\setlength{\topskip}{0pt} % no top skip
|
||||
\setlength{\columnsep}{0cm} % set column seperation
|
||||
|
||||
% \raggedbottom
|
||||
\setlength{\tabcolsep}{0in}
|
||||
\makeatletter
|
||||
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
|
||||
\patchcmd{\ps@customFooterStyle}{\thepage}{
|
||||
\color{gray}\textit{\small None - Page \thepage{} of \pageref*{LastPage}}
|
||||
}{}{} % replace number by desired string
|
||||
\makeatother
|
||||
\pagestyle{customFooterStyle}
|
||||
|
||||
% Sections formatting
|
||||
\titleformat{\section}{
|
||||
\scshape\raggedright\large
|
||||
}{}{0em}{}[\color{black}\titlerule]
|
||||
|
||||
|
||||
|
||||
\newcolumntype{R}[1]{
|
||||
>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}
|
||||
} % right-aligned fixed width column type
|
||||
\titleformat{\section}{\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule]
|
||||
|
||||
\titlespacing{\section}{
|
||||
% left space:
|
||||
0pt
|
||||
}{
|
||||
% top space:
|
||||
0.3 cm - 0.1cm
|
||||
}{
|
||||
% bottom space:
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
% left space:
|
||||
-1pt
|
||||
}{
|
||||
% top space:
|
||||
0.3 cm
|
||||
}{
|
||||
% bottom space:
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
\renewcommand\labelitemi{$\circ$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
parsep=0.10 cm,
|
||||
partopsep=0pt,
|
||||
itemsep=0pt,
|
||||
leftmargin=0.4 cm + 10pt + 0.6 cm
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
\newenvironment{onecolentry}{
|
||||
\begin{adjustwidth}{
|
||||
0.2 cm + 0.00001 cm
|
||||
}{
|
||||
0.2 cm + 0.00001 cm
|
||||
}
|
||||
}{
|
||||
\end{adjustwidth}
|
||||
} % new environment for one column entries
|
||||
|
||||
\newenvironment{onecolentrybulleted}{
|
||||
\onecolentry
|
||||
\setcolumnwidth{0.6 cm, \fill}
|
||||
\begin{paracol}{2}
|
||||
\vspace*{\fill}
|
||||
\textbullet
|
||||
\vspace*{3px}
|
||||
\vspace*{\fill}
|
||||
\switchcolumn
|
||||
}{
|
||||
\end{paracol}
|
||||
\endonecolentry
|
||||
} % new environment for one column entries with bullets
|
||||
|
||||
\newenvironment{twocolentry}[2][]{
|
||||
\onecolentry
|
||||
\def\secondColumn{#2}
|
||||
\setcolumnwidth{\fill, 4.1 cm}
|
||||
\begin{paracol}{2}
|
||||
}{
|
||||
\switchcolumn \raggedleft \secondColumn
|
||||
\end{paracol}
|
||||
\endonecolentry
|
||||
} % new environment for two column entries
|
||||
|
||||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{0.6 cm, \fill, 4.1 cm}
|
||||
\begin{paracol}{3}
|
||||
#2 \switchcolumn
|
||||
}{
|
||||
\switchcolumn \raggedleft \thirdColumn
|
||||
\end{paracol}
|
||||
\endonecolentry
|
||||
} % new environment for three column entries
|
||||
|
||||
\newenvironment{header}{
|
||||
\setlength{\topsep}{0pt}\par\kern\topsep\centering\linespread{1.5}
|
||||
}{
|
||||
\par\kern\topsep
|
||||
} % new environment for the header
|
||||
|
||||
%-------------------------
|
||||
% Custom commands
|
||||
\newcommand{\placelastupdatedtext}{% \placetextbox{<horizontal pos>}{<vertical pos>}{<stuff>}
|
||||
\AddToShipoutPictureFG*{% Add <stuff> to current page foreground
|
||||
\put(
|
||||
@@ -92,67 +146,25 @@
|
||||
}%
|
||||
}%
|
||||
|
||||
\newcommand{\resumeItem}[2]{
|
||||
\item\small{
|
||||
\ifthenelse{\equal{#1}{}}{#2}{\textbf{#1:}{ #2}}
|
||||
}
|
||||
}
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
|
||||
\newcommand{\resumeItemWithoutBullet}[2]{
|
||||
\item[]\small{
|
||||
\ifthenelse{\equal{#1}{}}{#2}{\textbf{#1:}{ #2}}
|
||||
}
|
||||
}
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
\newcommand{\resumeSubheading}[4]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
#1 & \small\ifthenelse{\equal{#2}{}}{#4}{#2} \\
|
||||
{\small#3} & \small\ifthenelse{\equal{#2}{}}{}{#4} \\
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumePublicationSubheading}[3]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
#1 & \small#2 \\
|
||||
#3
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumeNormalSubheading}[2]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
\textbf{#1} & \textit{\small #2}
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumeSubItem}[2]{\resumeItem{#1}{#2}}
|
||||
|
||||
\newcommand{\resumeSubItemWithoutBullet}[2]{\resumeItemWithoutBullet{#1}{#2}}
|
||||
|
||||
\renewcommand{\labelitemii}{$\circ$}
|
||||
|
||||
\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[left=0.2 cm, topsep=0pt, parsep=0.2 cm, partopsep=0pt, rightmargin=0.2 cm]}
|
||||
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
|
||||
\newcommand{\resumeItemListStart}{\vspace{0.10 cm}\begin{itemize}[left=0.4 cm, topsep=-0.2 cm, itemsep=0.10 cm, partopsep=0pt, rightmargin=0cm]}
|
||||
\newcommand{\resumeItemListEnd}{\end{itemize}}
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\color{primaryColor}\mbox{\ifthenelse{\equal{#2}{}}{}{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
\section{Test}
|
||||
\resumeSubHeadingListStart
|
||||
|
||||
\resumeSubItemWithoutBullet{}{test}
|
||||
|
||||
\begin{onecolentry}
|
||||
test
|
||||
\end{onecolentry}
|
||||
|
||||
|
||||
\resumeSubHeadingListEnd
|
||||
|
||||
|
||||
\end{document}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,12 +28,14 @@
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
@@ -80,6 +82,7 @@
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
% \renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
@@ -90,8 +93,6 @@
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
|
||||
\vspace{-0.10cm}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
@@ -119,7 +120,7 @@
|
||||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{1cm, \fill, 4.1 cm}
|
||||
\setcolumnwidth{1 cm, \fill, 4.1 cm}
|
||||
\begin{paracol}{3}
|
||||
\raggedright #2 \switchcolumn
|
||||
}{
|
||||
@@ -147,9 +148,11 @@
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
|
||||
|
||||
@@ -28,12 +28,14 @@
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
@@ -80,6 +82,7 @@
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
% \renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
@@ -90,8 +93,6 @@
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
|
||||
\vspace{-0.10cm}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
@@ -119,7 +120,7 @@
|
||||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{1cm, \fill, 4.1 cm}
|
||||
\setcolumnwidth{1 cm, \fill, 4.1 cm}
|
||||
\begin{paracol}{3}
|
||||
\raggedright #2 \switchcolumn
|
||||
}{
|
||||
@@ -147,9 +148,11 @@
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
\begin{header}
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
% Theme specific:
|
||||
\usepackage{charter} % for using charter font
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
@@ -62,7 +64,7 @@
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
\renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$}
|
||||
\renewcommand\labelitemi{$\vcenter{\hbox{\small$\bullet$}}$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
@@ -73,8 +75,6 @@
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
|
||||
\vspace{-0.10cm}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
@@ -128,10 +128,11 @@
|
||||
}%
|
||||
}%
|
||||
|
||||
% % save the original href command in a new command:
|
||||
% \let\hrefWithoutArrow\href
|
||||
% % new command for external links:
|
||||
% \renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
|
||||
% new command for external links:
|
||||
|
||||
|
||||
\begin{document}
|
||||
\newcommand{\AND}{\unskip
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Sourabh Bajaj
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
%-------------------------
|
||||
% Resume in Latex
|
||||
% Author : Sourabh Bajaj
|
||||
% License : MIT
|
||||
%------------------------
|
||||
|
||||
\documentclass[10pt, letterpaper]{article}
|
||||
|
||||
% Packages:
|
||||
\usepackage[
|
||||
ignoreheadfoot, % set margins without considering header and footer
|
||||
top=2 cm, % seperation between body and page edge from the top
|
||||
@@ -15,72 +10,131 @@
|
||||
footskip=1.0 cm, % seperation between body and footer
|
||||
% showframe % for debugging
|
||||
]{geometry} % for adjusting page geometry
|
||||
\usepackage{latexsym}
|
||||
\usepackage[nobottomtitles*]{titlesec}
|
||||
\usepackage{marvosym}
|
||||
\usepackage{verbatim}
|
||||
\usepackage{setspace}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{enumitem}
|
||||
\usepackage[
|
||||
hidelinks,
|
||||
pdftitle={None's CV},
|
||||
pdfauthor={None}
|
||||
]{hyperref}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{ifthen}
|
||||
\usepackage{fontawesome5}
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage[pscoord]{eso-pic} % for floating text on the page
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
|
||||
% Ensure that generate pdf is machine readable/ATS parsable
|
||||
\input{glyphtounicode}
|
||||
\pdfgentounicode=1
|
||||
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{} % clear all header and footer fields
|
||||
\fancyfoot[CO]{\color{gray}\textit{\small None - Page \thepage{} of \pageref*{LastPage}}}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
|
||||
\usepackage{titlesec} % for customizing section titles
|
||||
\usepackage{tabularx} % for making tables with fixed width columns
|
||||
\usepackage{array} % tabularx requires this
|
||||
\usepackage[dvipsnames]{xcolor} % for coloring text
|
||||
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
|
||||
\usepackage{enumitem} % for customizing lists
|
||||
\usepackage{fontawesome5} % for using icons
|
||||
\usepackage{amsmath} % for math
|
||||
\usepackage[
|
||||
pdftitle={None's CV},
|
||||
pdfauthor={None},
|
||||
colorlinks=true,
|
||||
urlcolor=primaryColor
|
||||
]{hyperref} % for links, metadata and bookmarks
|
||||
\usepackage[pscoord]{eso-pic} % for floating text on the page
|
||||
\usepackage{calc} % for calculating lengths
|
||||
\usepackage{bookmark} % for bookmarks
|
||||
\usepackage{lastpage} % for getting the total number of pages
|
||||
\usepackage{changepage} % for one column entries (adjustwidth environment)
|
||||
\usepackage{paracol} % for two and three column entries
|
||||
\usepackage{ifthen} % for conditional statements
|
||||
\usepackage{needspace} % for avoiding page brake right after the section title
|
||||
|
||||
\urlstyle{same}
|
||||
% Ensure that generate pdf is machine readable/ATS parsable:
|
||||
\ifpdf
|
||||
\input{glyphtounicode}
|
||||
\pdfgentounicode=1
|
||||
\fi
|
||||
|
||||
% Some settings:
|
||||
\AtBeginEnvironment{adjustwidth}{\partopsep0pt} % remove space before adjustwidth environment
|
||||
\pagestyle{empty} % no header or footer
|
||||
\setcounter{secnumdepth}{0} % no section numbering
|
||||
\setlength{\parindent}{0pt} % no indentation
|
||||
\setlength{\topskip}{0pt} % no top skip
|
||||
\setlength{\columnsep}{0cm} % set column seperation
|
||||
|
||||
% \raggedbottom
|
||||
\setlength{\tabcolsep}{0in}
|
||||
\makeatletter
|
||||
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
|
||||
\patchcmd{\ps@customFooterStyle}{\thepage}{
|
||||
\color{gray}\textit{\small None - Page \thepage{} of \pageref*{LastPage}}
|
||||
}{}{} % replace number by desired string
|
||||
\makeatother
|
||||
\pagestyle{customFooterStyle}
|
||||
|
||||
% Sections formatting
|
||||
\titleformat{\section}{
|
||||
\scshape\raggedright\large
|
||||
}{}{0em}{}[\color{black}\titlerule]
|
||||
|
||||
|
||||
|
||||
\newcolumntype{R}[1]{
|
||||
>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}
|
||||
} % right-aligned fixed width column type
|
||||
\titleformat{\section}{\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule]
|
||||
|
||||
\titlespacing{\section}{
|
||||
% left space:
|
||||
0pt
|
||||
}{
|
||||
% top space:
|
||||
0.3 cm - 0.1cm
|
||||
}{
|
||||
% bottom space:
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
% left space:
|
||||
-1pt
|
||||
}{
|
||||
% top space:
|
||||
0.3 cm
|
||||
}{
|
||||
% bottom space:
|
||||
0.2 cm
|
||||
} % section title spacing
|
||||
|
||||
\renewcommand\labelitemi{$\circ$} % custom bullet points
|
||||
\newenvironment{highlights}{
|
||||
\begin{itemize}[
|
||||
topsep=0.10 cm,
|
||||
parsep=0.10 cm,
|
||||
partopsep=0pt,
|
||||
itemsep=0pt,
|
||||
leftmargin=0.4 cm + 10pt + 0.6 cm
|
||||
]
|
||||
}{
|
||||
\end{itemize}
|
||||
} % new environment for highlights
|
||||
|
||||
|
||||
\newenvironment{onecolentry}{
|
||||
\begin{adjustwidth}{
|
||||
0.2 cm + 0.00001 cm
|
||||
}{
|
||||
0.2 cm + 0.00001 cm
|
||||
}
|
||||
}{
|
||||
\end{adjustwidth}
|
||||
} % new environment for one column entries
|
||||
|
||||
\newenvironment{onecolentrybulleted}{
|
||||
\onecolentry
|
||||
\setcolumnwidth{0.6 cm, \fill}
|
||||
\begin{paracol}{2}
|
||||
\vspace*{\fill}
|
||||
\textbullet
|
||||
\vspace*{3px}
|
||||
\vspace*{\fill}
|
||||
\switchcolumn
|
||||
}{
|
||||
\end{paracol}
|
||||
\endonecolentry
|
||||
} % new environment for one column entries with bullets
|
||||
|
||||
\newenvironment{twocolentry}[2][]{
|
||||
\onecolentry
|
||||
\def\secondColumn{#2}
|
||||
\setcolumnwidth{\fill, 4.1 cm}
|
||||
\begin{paracol}{2}
|
||||
}{
|
||||
\switchcolumn \raggedleft \secondColumn
|
||||
\end{paracol}
|
||||
\endonecolentry
|
||||
} % new environment for two column entries
|
||||
|
||||
\newenvironment{threecolentry}[3][]{
|
||||
\onecolentry
|
||||
\def\thirdColumn{#3}
|
||||
\setcolumnwidth{0.6 cm, \fill, 4.1 cm}
|
||||
\begin{paracol}{3}
|
||||
#2 \switchcolumn
|
||||
}{
|
||||
\switchcolumn \raggedleft \thirdColumn
|
||||
\end{paracol}
|
||||
\endonecolentry
|
||||
} % new environment for three column entries
|
||||
|
||||
\newenvironment{header}{
|
||||
\setlength{\topsep}{0pt}\par\kern\topsep\centering\linespread{1.5}
|
||||
}{
|
||||
\par\kern\topsep
|
||||
} % new environment for the header
|
||||
|
||||
%-------------------------
|
||||
% Custom commands
|
||||
\newcommand{\placelastupdatedtext}{% \placetextbox{<horizontal pos>}{<vertical pos>}{<stuff>}
|
||||
\AddToShipoutPictureFG*{% Add <stuff> to current page foreground
|
||||
\put(
|
||||
@@ -92,67 +146,25 @@
|
||||
}%
|
||||
}%
|
||||
|
||||
\newcommand{\resumeItem}[2]{
|
||||
\item\small{
|
||||
\ifthenelse{\equal{#1}{}}{#2}{\textbf{#1:}{ #2}}
|
||||
}
|
||||
}
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
|
||||
\newcommand{\resumeItemWithoutBullet}[2]{
|
||||
\item[]\small{
|
||||
\ifthenelse{\equal{#1}{}}{#2}{\textbf{#1:}{ #2}}
|
||||
}
|
||||
}
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
\newcommand{\resumeSubheading}[4]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
#1 & \small\ifthenelse{\equal{#2}{}}{#4}{#2} \\
|
||||
{\small#3} & \small\ifthenelse{\equal{#2}{}}{}{#4} \\
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumePublicationSubheading}[3]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
#1 & \small#2 \\
|
||||
#3
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumeNormalSubheading}[2]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
\textbf{#1} & \textit{\small #2}
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumeSubItem}[2]{\resumeItem{#1}{#2}}
|
||||
|
||||
\newcommand{\resumeSubItemWithoutBullet}[2]{\resumeItemWithoutBullet{#1}{#2}}
|
||||
|
||||
\renewcommand{\labelitemii}{$\circ$}
|
||||
|
||||
\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[left=0.2 cm, topsep=0pt, parsep=0.2 cm, partopsep=0pt, rightmargin=0.2 cm]}
|
||||
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
|
||||
\newcommand{\resumeItemListStart}{\vspace{0.10 cm}\begin{itemize}[left=0.4 cm, topsep=-0.2 cm, itemsep=0.10 cm, partopsep=0pt, rightmargin=0cm]}
|
||||
\newcommand{\resumeItemListEnd}{\end{itemize}}
|
||||
|
||||
\begin{document}
|
||||
\placelastupdatedtext
|
||||
|
||||
|
||||
% save the original href command in a new command:
|
||||
\let\hrefWithoutArrow\href
|
||||
% new command for external links:
|
||||
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\color{primaryColor}\mbox{\ifthenelse{\equal{#2}{}}{}{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}}
|
||||
|
||||
\section{Test}
|
||||
\resumeSubHeadingListStart
|
||||
|
||||
\resumeSubItemWithoutBullet{}{test}
|
||||
|
||||
\begin{onecolentry}
|
||||
test
|
||||
\end{onecolentry}
|
||||
|
||||
|
||||
\resumeSubHeadingListEnd
|
||||
|
||||
|
||||
\end{document}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Sourabh Bajaj
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
BIN
tests/testdata/test_latex_to_pdf/classic_empty.pdf
vendored
BIN
tests/testdata/test_latex_to_pdf/classic_empty.pdf
vendored
Binary file not shown.
BIN
tests/testdata/test_latex_to_pdf/classic_filled.pdf
vendored
BIN
tests/testdata/test_latex_to_pdf/classic_filled.pdf
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/testdata/test_latex_to_pdf/moderncv_empty.pdf
vendored
BIN
tests/testdata/test_latex_to_pdf/moderncv_empty.pdf
vendored
Binary file not shown.
BIN
tests/testdata/test_latex_to_pdf/moderncv_filled.pdf
vendored
BIN
tests/testdata/test_latex_to_pdf/moderncv_filled.pdf
vendored
Binary file not shown.
BIN
tests/testdata/test_latex_to_pdf/sb2nov_empty.pdf
vendored
BIN
tests/testdata/test_latex_to_pdf/sb2nov_empty.pdf
vendored
Binary file not shown.
BIN
tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf
vendored
BIN
tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf
vendored
Binary file not shown.
Reference in New Issue
Block a user