groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Using groff & tbl for creating a CV


From: Tadziu Hoffmann
Subject: Re: [Groff] Using groff & tbl for creating a CV
Date: Wed, 10 Aug 2011 18:55:14 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> Nevertheless, for a CV I think a few custom macros would
> probably be better than using tbl.

I've played around a bit, and this is what I hacked together
based on your CV design using tbl:


.\"
.\" ----------------------------------------------------------------
.sp 3c
.ll 15c
.po 3c
.nr In 3c
.\" ----------------------------------------------------------------
.de Date
.sp 2
.in 0
.ft 2
..
.de Company
'in \\n(Inu
\h'\\n(Inu-\\n(.ku'\c
.ft 3
.ad l
..
.de Desc
.br
\v'-.5m'\h'-\\n(.iu'\D'l \\n(.lu 0'
.ft 1
.ad b
..
.de BL
.in +2n
..
.de LE
.sp .2
.in -2n
..
.de LI
.sp .2
\Z'\h'-1.3n'\[bu]'\c
..
.\" ----------------------------------------------------------------
.Date
Since 05/2006
.Company
My Company in Downtown which has a very long name
and needs at least two lines to print (just for fun)
.Desc
This is the role I occupied
.BL
.LI
Working on this
.LI
Working on that
(the description of which is also rather long, so we can test
what happens when it needs more than one line)
.LI
Achieved lots of things
.LE
But now, this is going to be a rather lengthy description of a task
that I had which is so long that groff is complaining about the length
of the line
.Date
07/2003\[en]04/2006
.Company
Yet Another Company I Worked For
.Desc
The role I had there
.BL
.LI
Some more tasks
.LI
You will get the idea
.LE
.\" ----------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]