groff
[Top][All Lists]
Advanced

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

Re: [Groff] Trying to use tabs and tab stops in groff


From: Mike Bianchi
Subject: Re: [Groff] Trying to use tabs and tab stops in groff
Date: Wed, 5 Apr 2017 10:37:05 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

I cannot see what you are doing wrong (why the \t is not seen as a tab)
but if you change all your  \t  to actual  tab  characters you get:

        Name                          Birthday       Telephone

        John Smith                    1/1/70         (410) 555‐1111
        Dave Jones                    2/2/63         (311) 800‐0000
        Bob Williams‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐3/3/56‐‐‐‐‐‐‐‐‐(999) 555‐2222

                                                                        Mike

On Wed, Apr 05, 2017 at 10:18:34AM -0400, T. Kurt Bond wrote:
> Hello,
> 
> I'm trying to use tabs and tab stops in groff to so some simple tables, and
> can't figure out why it is not working.  Here's the input:
> 
> .\" groff -mm tabs.mm | ps2pdf - tabs.pdf
> .P
> A sentence to start the example.
> .\" http://cmd.inp.nsk.su/old/cmd2/manuals/unix/UNIX_Unleashed/ch08.htm
> .\" output should look something like:
> .\"
> http://cmd.inp.nsk.su/old/cmd2/manuals/unix/UNIX_Unleashed/art/08/08unx25.gif
> .nf
> .ta 3i 4.5i
> Name\tBirthday\tTelephone
> 
> John Smith\t1/1/70\t(410) 555-1111
> Dave Jones\t2/2/63\t(311) 800-0000
> .tc -
> Bob Williams\t3/3/56\t(999) 555-2222
> .fi
> .P
> A sentence to end the example.
> 
> 
> I get a result with everything smashed together, as if the "\t"s weren't
> there at all.
> 
> Any idea what I'm doing wrong?
> 
> -- 
> T. Kurt Bond, address@hidden

-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085

 address@hidden
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com



reply via email to

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