I am using inline lists (from the enumitem package) within a table (see Comma-separated list environment) Originally, I had an issue where the inline list would expand horizontally to the width of the table. I mostly fixed this using a \hfill
after the inline list, but this doesn't seem to work for the last table row. Does anyone have any ideas how I could fix this?
Here is the relevant LaTeX code:
\newlist{commalist}{description*}{4}
\setlist[commalist]{itemjoin={{,}},itemjoin*={{ and}},afterlabel=\unskip{{~}}}`
\newenvironment{technicalSkills}%
{%
\def\lwidth{0.3\textwidth}%
\def\rwidth{0.64\textwidth}%
%
\newcommand\technicalSkillsItem[2]{%
\ifdef{\separator}{\separator}{}%
##1 & %
\begin{commalist}%
##2 %
\end{commalist}. \hfill %
\def\separator{\\[0.5em]}%
}%
%
\begin{longtable}{>{\bfseries}L{\lwidth}!{\VRule}R{\rwidth}}%
}
{\end{longtable}}
\section*{Technical Skills}
\begin{technicalSkills}
%
\technicalSkillsItem{Programming Languages}
{\item C
\item C++
\item Java
\item Perl
\item Python}
%
\technicalSkillsItem{Web-Based Development}
{\item PHP
\item JavaScript
\item CSS
\item HTML}
%
\technicalSkillsItem{Document markup}
{\item \LaTeX}
%
\technicalSkillsItem{Databases}
{\item Oracle
\item MySQL
\item postgreSQL}
%
\technicalSkillsItem{Operating Systems}
{\item Microsoft Windows
\item Linux
\item Solaris}
%
\technicalSkillsItem{Tools}
{\item Git
\item Subversion
\item Eclipse IDE}
%
\end{technicalSkills}