# professional cv spacing issues

I've been trying to figure out how to format this section of Professional CV from ShareLaTeX to make the vertical spacing more tight.

The vertical bar between columns tends to leave more space than necessary after the last entry in the footnotes section. I'm trying to make the bullet list flush left with the description of the project above it.

Preamble:

\documentclass[a4paper,10pt, scale=0.8,top=2cm]{article}

%A Few Useful Packages
\usepackage{marvosym}
\usepackage{xunicode,xltxtra,url,parskip}   %other packages for formatting
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[big]{layaureo}              %better formatting of the A4 page
% an alternative to Layaureo can be ** \usepackage{fullpage} **
\usepackage{titlesec}                   %custom \section

%final bullet list for projects
\usepackage{enumitem}
\setlist[itemize]{leftmargin=1em}
\newenvironment{myitemize}
{ \begin{itemize}
\setlength{\itemsep}{0pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}     }
{ \end{itemize}                  }

\usepackage{fontawesome}

%Setup hyperref package, and colours for links
\usepackage{hyperref}

%FONTS
\defaultfontfeatures{Mapping=tex-text}
%\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin}
%%% modified for Karol Kozioł for ShareLaTeX use
\setmainfont[
SmallCapsFont = Fontin-SmallCaps.otf,
BoldFont = Fontin-Bold.otf,
ItalicFont = Fontin-Italic.otf
]
{Fontin.otf}
%%%

%CV Sections inspired by:
%http://stefano.italians.nl/archives/26
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}
%Tweak a bit the top margin

%Italian hyphenation for the word: ''corporations''
\hyphenation{im-pre-se}

%-------------WATERMARK TEST [**not part of a CV**]---------------
\usepackage[absolute]{textpos}

\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{2mm}{0.65\paperheight}
\setlength{\parindent}{0pt}


and Projects section

%Section: Projects section
\section{Projects}
\begin{tabular}{r|p{11cm}}
\emph{KenKen puzzle} &  \textbf{Java} \\\textsc{2014} & Arithmetic and logic puzzle similar to Sudoku\\
&\footnotesize{\begin{myitemize}
\item Takes a pre-loaded puzzle and determines proper ordering of numbers.
\item Validates the arithmetic restrictions and recursively verifies the solution.
\end{myitemize}} \\ \multicolumn{2}{c}{} \\
\emph{Huffman Tree} & \textbf{Java} \\ \textsc{2014} & A Binary Tree used to store character frequency and used to calculate compression ratio.\\ & \footnotesize{\begin{myitemize}
\item Determines which branch to store character based on level of frequency.
\item Utilizes HashMaps, PriorityQueues, and recursion to place the characters within the right node.
\end{myitemize}}\\ \multicolumn{2}{c}{} \\
\emph{Bird Maze} & \textbf{Java} \\ \textsc{2014} & A maze that consists of bird-like objects that can only go in the direction of their beak. \\ &\footnotesize{\begin{myitemize}
\item Includes the ability to check the path for correctness and discovers the right path.
\item Implements recursive solutions and iterative solutions.
\end{myitemize}} \\ \multicolumn{2}{c}{} \\
\emph{Gettysburg Address} & \textbf{C} \\ \textsc{2014} & A Binary Tree implementation of the Gettysburg Address. \\ &  \footnotesize{\begin{myitemize}
\item Successfully prints out the Gettysburg address via Binary Tree implementation.
\item Correctly used Malloc and Free to obtain and release memory.
\end{myitemize}} \\

\end{tabular}

• You don't seem to be using moderncv, but article instead. Is this correct? – Werner Aug 24 '15 at 21:15
• @Werner you're right. I changed the title, I thought I was using moderncv but in fact I'm using professionalcv from sharelatex's site. – Joshhw Aug 24 '15 at 21:18
• This template: Professional-CV? – Werner Aug 24 '15 at 23:06
• @Werner Yes, that is the one. – Joshhw Aug 24 '15 at 23:19
• @Werner I've tried implementing a topset=0pt within the itemize setlist section, but it didn't work. – Joshhw Aug 24 '15 at 23:29

I'd suggest using a full tabular-like implementation - using tabularx - to set that part of the CV construction. Also, to avoid using a list and set the content as rows inside your table... it's not that difficult to maintain this way, and provides you with the control you want inside such a rigid structure.

% https://www.sharelatex.com/templates/cv-or-resume/professional-cv
\documentclass[a4paper,10pt]{article}

%A Few Useful Packages
\usepackage{marvosym}
\usepackage{xunicode,xltxtra,url,parskip}   %other packages for formatting
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[big]{layaureo}              %better formatting of the A4 page
% an alternative to Layaureo can be ** \usepackage{fullpage} **
\usepackage{titlesec}                   %custom \section

%Setup hyperref package, and colours for links
\usepackage{hyperref}

%FONTS
\defaultfontfeatures{Mapping=tex-text}
%\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin}
%%% modified for Karol Kozioł for ShareLaTeX use
\setmainfont[
SmallCapsFont = Fontin-SmallCaps.otf,
BoldFont = Fontin-Bold.otf,
ItalicFont = Fontin-Italic.otf
]
{Fontin.otf}
%%%

%CV Sections inspired by:
%http://stefano.italians.nl/archives/26
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}
%Tweak a bit the top margin

%Italian hyphenation for the word: ''corporations''
\hyphenation{im-pre-se}

%-------------WATERMARK TEST [**not part of a CV**]---------------
\usepackage[absolute]{textpos}

\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{2mm}{0.65\paperheight}
\setlength{\parindent}{0pt}

%final bullet list for projects
\usepackage{tabularx}
\newcommand{\blankline}{\multicolumn{1}{c}{}\\}
\newcommand{\projectitem}{\footnotesize\textbullet~\ignorespaces}

%--------------------BEGIN DOCUMENT----------------------
\begin{document}

%WATERMARK TEST [**not part of a CV**]---------------
%{\wm
%   \begin{textblock}{1}(0,0)
%       \rotatebox{-90}{\parbox{500mm}{
%           Typeset by Alessandro Plasmati with \XeTeX\  \today\ for
%           {\wmweb \href{http://www.aleplasmati.comuv.com}{aleplasmati.comuv.com}}
%       }
%   }
%   \end{textblock}
%}

\pagestyle{empty} % non-numbered pages

\font\fb=''[cmr10]'' %for use with \LaTeX command

%--------------------TITLE-------------
\par{\centering
{\Huge Alessandro \textsc{Plasmati}
}\bigskip\par}

%--------------------SECTIONS-----------------------------------
%Section: Personal Data
\section{Personal Data}

\begin{tabular}{rl}
\textsc{Place and Date of Birth:} & Someplace, Italy  | dd Month 1912 \\
\textsc{Address:}   & CV Inn 19, 20301, Milano, Italy \\
\textsc{Phone:}     & +39 123 456789\\
\textsc{email:}     & \href{mailto:alessandro.plasmati@gmail.com}{alessandro.plasmati@gmail.com}
\end{tabular}

%Section: Projects section
\section{Projects}
\noindent
\begin{tabularx}{\textwidth}{@{}r|>{\raggedright\arraybackslash}X@{}}
\emph{KenKen puzzle} & \textbf{Java} \\
\textsc{2014} & Arithmetic and logic puzzle similar to Sudoku \\
& \projectitem Takes a pre-loaded puzzle and determines proper ordering of numbers. \\
& \projectitem Validates the arithmetic restrictions and recursively verifies the solution. \\
\blankline
\emph{Huffman Tree} & \textbf{Java} \\
\textsc{2014} & A Binary Tree used to store character frequency and used to calculate compression ratio. \\
& \projectitem Determines which branch to store character based on level of frequency. \\
& \projectitem Utilizes HashMaps, PriorityQueues, and recursion to place the characters within the right node. \\
\blankline
\emph{Bird Maze} & \textbf{Java} \\
\textsc{2014} & A maze that consists of bird-like objects that can only go in the direction of their beak. \\
& \projectitem Includes the ability to check the path for correctness and discovers the right path. \\
& \projectitem Implements recursive solutions and iterative solutions. \\
\blankline
\textsc{2014} & A Binary Tree implementation of the Gettysburg Address. \\
& \projectitem Successfully prints out the Gettysburg address via Binary Tree implementation. \\
& \projectitem Correctly used Malloc and Free to obtain and release memory.
\end{tabularx}

\end{document}


Some notes:

• The use of \noindent ensures that the tabularx won't be wider than \textwidth due to a paragraph indent.

• @{} removes the tabular column separation on either side of the tabularx. This ensures that your widest entries will be flush left (in the first column) and flush right (in the second/last column).

• >{\raggedright\arraybackslash} formats the X-column to be \raggedright (\arraybackslash is required when doing such formatting) which might not be needed, depending on whether you want a justified look or not. I opted for "not".

• \blankline inserts a blank line between entries.

• \projectitem formats the itemize-like structure by setting the text in \footnotesize with a \textbullet. For a more "itemized look", you could consider using the following definition:

\newcommand{\projectitem}{%
\footnotesize\makebox[1em][l]{\textbullet}%
\hangindent=1em\ignorespaces}

• facing the error {Fontin.otf} font not found and I am using the LuaLaTeX – Micky K Aug 25 '15 at 1:23
• @MickyK: The fonts form part of the Professional CV template on ShareLaTeX. Download it and place the fonts in your working folder, just like in the template. – Werner Aug 25 '15 at 1:31
• I download the font file from the following exljbris.com/fontin.html and put it in font folder but still found the error. – Micky K Aug 25 '15 at 1:41
• @MickyK: Your link provides Fontin-Regular.otf while the linked template uses Fontin.otf. You may have to rename Fontin-Regular.otf to Fontin.otf or update the code to use Fontin-Regular.otf instead of Fontin.otf. – Werner Aug 25 '15 at 2:00
• is there a way to make the text all align with the bullet? The reason I started doing this in the beginning was because I wanted the text to be aligned like a list format. the words "right node" near the huffman tree slightly goes over and I can't seem to get it to not do that. **if that's not possible I totally understand, I'm knew to this and I'm trying to learn more about formatting text. – Joshhw Aug 25 '15 at 2:50