groff
[Top][All Lists]
Advanced

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

[Groff] A little macro (tbl enhancement)


From: Thomas Baruchel
Subject: [Groff] A little macro (tbl enhancement)
Date: Tue, 29 Jan 2002 17:02:40 +0100
User-agent: Mutt/1.2.5i

Brest, le mardi 29 janvier

Just in case someone is interested

.de SlashCell
.nr tk \\n[3cd0]+\\n[3ind]+\\n(.o
.nr tl \\n[3cd1]-\\n[3cd0]
.nr th \\n[3rt1]-\\n[3rt0]
.  if !\\n[th] \{\
.  nr th \\n[3rt0]+\\n[3bot]-\\n[3rt0]
.  \\" Next lines is in case of doublebox:
.    nr th -\\n[3cd0]
.\}
\\!H\\n[tk]
\\!V\\n[3rt0]
.nr tk .25m
\\!v\\n[tk]
\\!Dl \\n[tl] \\n[th]
..
.TS
tab(:) allbox doublebox;
c c c.
\fIp\v'-2.5p'\h'10p'n\v'2.5p':b:c
d:e:f
.TE
.SlashCell

-- 
        ,--._
      .'o    `-.__
      |     (~'   ~~--.__
      ),-.'  `. '' ,,    ~`-.
     //   \    ( ,,  ,, ''   `)    Thomas Baruchel
    //     `.   `. ,,  ,,'' .'
   //        ~.   `._,,   ,'  <address@hidden>
   '   _tb_    `-.___.,-~'
                   \  \                 Brest
                  _/ _/

reply via email to

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