[texhax] Using longtable to format a resume

Oleg Parashchenko olpa at uucode.com
Mon Mar 14 10:19:08 CET 2011


Hello Peter,

if you are not against to use a new ("cals", not in TeXLive 2010) package
instead of longtable, here is now to implement your layout:

\documentclass[11pt]{article}
\usepackage{cals}
\usepackage{xcolor}

\newenvironment{bulletlist}{\begin{list}{$\bullet$}{\setlength{\topsep}
{0pt}\setlength{\itemsep}{2pt}\setlength{\parsep}{0pt}\setlength
{\partopsep}{0pt}}}{\end{list}}

\begin{document}

\begin{calstable}
\makeatletter
\def\cals at cs@width{0pt}
\def\cals at rs@width{0pt}
\def\coloron{\def\cals at bgcolor{lightgray}}
\def\coloroff{\def\cals at bgcolor{}}

\colwidths{{1.75in}{2.25in}}

\brow
 \coloron \cell{{\bfseries Company}\newline Job title\newline Dates}
 \coloroff \cell{
   \begin{bulletlist}
    \item Most important item
    \item Second most important item
    \item Third most important item
    \end{bulletlist}}
 \ht\cals at current@row=5cm\relax
\erow
\brow
 \coloron \cell{{\bfseries Company}\newline Job title\newline Dates}
 \coloroff \cell{
   \begin{bulletlist}
    \item Most important item
    \item Second most important item
    \item Third most important item
    \end{bulletlist}}
\erow

\end{calstable}

\end{document}

On Sun, 13 Mar 2011 20:47:07 -0400
Peter Davis <pfd at pfdstudio.com> wrote:

> Added minimal example below ...
> 
...
> The Tech Curmudgeon
> http://www.techcurmudgeon.com


-- 
Oleg Parashchenko  olpa@ http://uucode.com/
http://uucode.com/blog/  XML, TeX, Python, Mac, Chess



More information about the texhax mailing list