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: Ralph Corderoy
Subject: Re: [Groff] Trying to use tabs and tab stops in groff
Date: Wed, 05 Apr 2017 19:03:55 +0100

Hi Kurt,

> 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.

Mike pointed out you need real ASCII tab characters to have your example
work.  `\t' is used in `copy mode', e.g. when defining a macro, to
create a tab that's interpreted later, e.g. when the macro is invoked.

    $ printf '%s\n' .nf '.de m' 'foo\tbar' 'x\ty\tz\tz\ty' .. .m |
    > nroff | grep .
    foo     bar
    x       y       z       z       y
    $

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

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