3

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}
2
  • you mean parcolumns in your opening sentence.
    – jon
    Commented Mar 28, 2012 at 4:25
  • Yes, thanks for pointing that out. I have edited that. Commented Mar 28, 2012 at 5:11

1 Answer 1

3

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

2
  • Thanks for the fix. Can you explain why this happens? Commented Mar 28, 2012 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. Commented Mar 28, 2012 at 17:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .