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 a beginner for creating latex templates. I am using a custom template for CV. And I would like to create a table which looks like below. I like the way the text wraps in the columns. This is taken from moderncv latex template. I tried to copy the code from moderncv template in order to create this table. However,I was not able to do it, because it generated some errors which I was unable to resolve. I read about a similar question which is mentioned here. However it did not help my problem.

enter image description here

I will try to provide a MWE here -

\documentclass[]{temp}

\begin{document}

\singleitem{Hardware Platforms}{Intel MPSoC for Wireless USB, TI MPSoC for VOIP, Freescale IMX31, MIPS32, ATMEL, ARM 7, Microblaze}
\singleitem{Development Tools}{GCC, Rose Compiler, Xilinx ISE,  Logic Analyzer, LeCroy USB Tracer, Ellisys Wireless-USB Tracer,  Atmel AVR Studio}
\singleitem{Languages}{C, C++, Linux Shell Scripts, VHDL, Assembly,  SystemC, Java}
\singleitem{Operating Systems}{Linux, VxWorks, RTLinux, MQX, RedBoot}
\singleitem{Protocols}{PCI, USB, Wireless USB, RS 232, SPI, I2C, Ethernet}
\singleitem{Other}{Clearcase, SVN}

\end{document}

Here is the short template file which I am using.

\LoadClass{article}
\RequirePackage[left=6.1cm,top=2cm,right=1.5cm,bottom=2.5cm,nohead,nofoot]{geometry}    

\newlength{\columnWidth}
\setlength{\columnWidth}{320pt}

\newcommand*{\singleitem}[2]{%
 \begin{minipage}[t]{50pt}\raggedleft{\fontsize{7pt}{7pt}{#1}}\end{minipage}\hspace*{30pt}\begin{minipage}[t]{\columnWidth}#2\end{minipage}
\vspace{5pt}}

The PDF it produces has somewhat cluttered appearance. enter image description here

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Okay I did a hack to solve the problem I had. I modified the singleitem command as given below -

\newcommand*{\singleitem}[2]{%
 \begin{minipage}[t]{50pt}\raggedleft{\fontsize{7pt}{7pt}{#1}}\end{minipage}\hspace*{30pt}\vspace{5pt}\begin{minipage}[t]{\columnWidth}#2\end{minipage}
\vspace{5pt}}
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.