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 trying to create a class file of my own for a personally formatted CV. I would like to know how to create two column cv with one column containing only the section title while the others containing the contents. Also how can i create a box filled with color along the side of each line in the content side column.

share|improve this question

1 Answer 1

The multicol package (link) does exactly what you need, see the following example of its usage (you can replace \lipsum by any text material or whatever):

\documentclass{article}

\usepackage{multicol}

\usepackage{lipsum} % for some dummy text

\begin{document}

\begin{multicols}{2}
  [\section{Section title that goes into both columns}]
\lipsum
\end{multicols}

\begin{multicols}{2}
  [\section{Section title that goes into both columns}]
\lipsum[11-20]
\end{multicols}

\end{document}

Edit: as egreg points out correctly, the section header should be put as an optional argument (as is now in the MWE), so that the first paragraph gets correctly un-indented.

share|improve this answer
    
Actually this is not what i wanted. I wanted to add margin note. I found the package marginnote and it helped me do the job. –  sgp May 30 '12 at 15:46
1  
@sgp That just shows how important is to properly and state your question and even better to provide an image or what should be done, Minimal (non-)Working Example etc. –  yo' May 31 '12 at 10:41
    
sorry for the inconvenience. i am new to this forum and i am still learning. thanks for the advice. –  sgp May 31 '12 at 13:48
    
You're welcome of course! –  yo' May 31 '12 at 15:05

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.