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.

First time poster so please be kind.

Here is my MWE:

\documentclass[10pt]{article}
\usepackage{amsmath,amsthm,amssymb,amsfonts}
\usepackage{verbatim}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage[margin=10pt,font=footnotesize,labelfont=bf,labelsep=endash]{caption}
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{rotating}
\usepackage{colortbl}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{fullpage}
\usepackage[bottom,flushmargin,hang,multiple]{footmisc}
\usepackage{setspace}
\usepackage{endnotes}
\usepackage{longtable}
\usepackage[sort]{natbib}
\usepackage{indentfirst}
\usepackage[hyphens]{url}
\usepackage[breaklinks]{hyperref}
\usepackage{appendix}
\hypersetup{colorlinks=false}
\hypersetup{citebordercolor=1 1 1} \hypersetup{linkbordercolor=1 1 1}
\usepackage{array}
\definecolor{lightgray}{gray}{0.8}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}
\usepackage{hyperref}
\usepackage[small,compact]{titlesec}
\usepackage{epigraph}
\bibpunct{(}{)}{;}{a}{}{;}
\newcommand{\gray}{\rowcolor[gray]{.9}}
\newcommand{\todo}[1] {\textbf{\textcolor{red}{#1}}}
\usepackage[margin=.75in]{geometry}
\usepackage{titling}
\begin{document}
\section*{Research interests}
\begin{longtable}{p{1in}!{\VRule}p{5.5in}}
\endfirsthead
\multicolumn{2}{l}{\textit{Research interests continued}}\vspace{.1in}\\
\endhead
\multicolumn{2}{r}{\textit{Continued on next page}}\\
\endfoot
\endlastfoot
International Political Economy             & Effectiveness of foreign aid \\
            & Differential effects of economic and military aid\\
            & Foreign aid during civil conflict\vspace{.1in}\\
Conflict            & \\
            & \vspace{.1in}\\
\end{longtable}
\end{document}

This creates the following:

Screenshot

The lines in the second column should not have the skip. Also, if anyone has a method of keeping LaTeX from hyphenating within the table, that would be great too.

share|improve this question
    
Welcome to tex.sx. To upload an image you can use the image button as usual but remove ! from the generated markup. This makes a link, and a user with edit rights will put the ! back and inline the image later. Thanks for posting a complete document, that always helps although I suspect you could have trimmed the package loading a bit and made it more minimal while still showing the problem:-) –  David Carlisle Apr 25 '13 at 16:15
    
You can use >{\raggedright\arraybackslash}p{1in} to set the contents ragged (and not hyphenated) –  David Carlisle Apr 25 '13 at 16:20
    
@DavidCarlisle Ah, thanks for the image explanation. And, yes, I probably should have trimmed the preamble, but you know how that goes... So if there are any suggestions on unnecessary/outdated/alternative packages, I am grateful to entertain those as well. –  JWells Apr 25 '13 at 16:21
    
The image looks as I would expect, which space do you not want? –  David Carlisle Apr 25 '13 at 16:22
    
The main reason fror trimming the preamble is not that you may be using oudated package it's that some questions require \tracingall and other debugging tools and loading a few thousand lines of unused code makes debugging harder:-) –  David Carlisle Apr 25 '13 at 16:24

1 Answer 1

use

\begin{longtable}{>{\hspace{0pt}}p{1in}!{\VRule}>{\hspace{0pt}}p{5.5in}}

TeX doesn't hyphenate the first word in a paragraph. And use package ragged2e and then

\begin{longtable}{>{\RaggedRight\hspace{0pt}}p{1in}!{\VRule}>{\RaggedRight\hspace{0pt}}p{5.5in}}

\RaggedRight aloows hyphenation, \raggedright not

\documentclass[10pt]{article}
%\usepackage{booktabs}
\usepackage{ragged2e}
\usepackage{array,longtable}
\begin{document}

\begin{longtable}{>{\RaggedRight}p{1in} | >{\RaggedRight}p{5.5in}}
\endfirsthead
\multicolumn{2}{l}{\textit{Research interests continued}}\\
\endhead
\multicolumn{2}{r}{\textit{Continued on next page}}\\
\endfoot
\endlastfoot
International Political Economy             & Effectiveness of foreign aid \\
            & Differential effects of economic and military aid\\
            & Foreign aid during civil conflict\\
Conflict            & \\
            & 
\end{longtable}

\end{document}

enter image description here

share|improve this answer

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.