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 am preparing my CV and I am encountering an extra space at the start of each line in each of the colchunks of parcolumns. The following image says it all:

enter image description here

Notice extra space in from of P or Project and S of Some. Note this happens with the first line only. noindent does not help either. Here's my piece of code that produces this block:

\begin{parcolumns}[rulebetween, nofirstindent, colwidths={1=.15\linewidth}]{2}
  \colchunk[1]{
  \noindent PROJECT\\*
  WORK
  }
  \colchunk[2]{
  Some project work here.\\*
  Some project work here.
  }
\end{parcolumns}
share|improve this question
    
you mean parcolumns in your opening sentence. –  jon Mar 28 '12 at 4:25
    
Yes, thanks for pointing that out. I have edited that. –  abhinavkulkarni Mar 28 '12 at 5:11

1 Answer 1

up vote 2 down vote accepted

Remove the spurious blank spaces (a "carriage return" is taken as a single space) using %:

\documentclass{article}
\usepackage{parcolumns}

\begin{document}

\begin{parcolumns}[rulebetween, nofirstindent, colwidths={1=.15\linewidth}]{2}
  \colchunk[1]{%
  PROJECT\\*
  WORK%
  }
  \colchunk[2]{%
  Some project work here.\\*
  Some project work here.%
  }
\end{parcolumns}

\end{document}

enter image description here

share|improve this answer
    
Thanks for the fix. Can you explain why this happens? –  abhinavkulkarni Mar 28 '12 at 5:12
1  
@abhinavkulkarni: I already explained in my answer. In text mode, a carriage return will be taken as a blank space; adding % prevents those undesired spaces. –  Gonzalo Medina Mar 28 '12 at 17:08

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.