groff
[Top][All Lists]
Advanced

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

[Groff] Another tbl tip - conditional rows


From: Larry Kollar
Subject: [Groff] Another tbl tip - conditional rows
Date: Fri, 22 Feb 2008 22:04:45 -0500


If you have a row in a table that you want to include only when a condition is met, you need to add a "\c" to the end of the if statement:

.TS
box tab(#);
cb cb
l l .
Name#Description
_
NORMAL#No special features.
NCS#Uses NCS.
.if \n[SIP] \{\c
SIP#Uses SIP.
.\}
EURO#Special load for Europe.
.TE

Fun stuff!

-- Larry




reply via email to

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