Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to add an itemized list in a tabular environment, it does work however it adds an unwanted space above the list...

Here's the code...

\documentclass[10pt]{article}

% packages
\usepackage[T1]{fontenc}
\usepackage[margin=3cm]{geometry}
\usepackage{array, xcolor}
\usepackage{titling}
\usepackage{blindtext}

% rules
\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}

\begin{document}

\maketitle
\thispagestyle{empty}
\pagestyle{empty}

\section*{Work Experience}

\begin{tabular}{L! {\VRule} R}
2010-2011 & {\bf Profession}\\
& Job Description\\
& \begin{itemize}
  \item The first item
  \item The second item
  \item The third etc
\end{itemize} \\

\end{tabular}

\end{document}

And the result is this...

Table with unwanted gap

Is there anyway to make the itemized list have less of a line break between its start and 'Job Description'?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

One way would be to use paralist

\documentclass[10pt]{article}

% packages
\usepackage[T1]{fontenc}
\usepackage[margin=3cm]{geometry}
\usepackage{array, xcolor}
\usepackage{titling}
\usepackage{blindtext}
\usepackage{paralist}

% rules
\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}

\begin{document}


\thispagestyle{empty}
\pagestyle{empty}

\section*{Work Experience}

\begin{tabular}{L! {\VRule} R}
2010-2011 & {\bf Profession}\\
& Job Description\\
& \begin{compactitem}
  \item The first item
  \item The second item
  \item The third etc
\end{compactitem} \\

\end{tabular}

\end{document}

This also eliminates the indentation.enter image description here

share|improve this answer
    
Thanks, this is grand and the lesser line spacing is ideal for my purposes. –  Ben Jan 17 '13 at 13:09
add comment

You can use enumitem and put topsep=0pt

\documentclass[10pt]{article}

% packages
\usepackage[T1]{fontenc}
\usepackage[margin=3cm]{geometry}
\usepackage{array, xcolor}
\usepackage{titling,enumitem}
\usepackage{blindtext}

% rules
\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}

\begin{document}
%
%\maketitle
\thispagestyle{empty}
\pagestyle{empty}

\section*{Work Experience}

\begin{tabular}{L! {\VRule} R}
2010-2011 & {\bf Profession}\\
& Job Description\\
& \begin{itemize}[parsep=0pt,topsep=0pt]
  \item The first item
  \item The second item
  \item The third etc
\end{itemize} \\

\end{tabular}

\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.