1 /* tt.c: subroutines for drawing horizontal lines */
12 return(style
[ic
][il
]);
19 return(a
< b
? a
: b
);
27 return(c
< ncol
&& ctype(i
, c
) == 's');
36 if (ctype(i
, c
) != 's')
39 if (c
< ncol
&& ctype(i
, c
) == 's')
41 for (k
= 0; ctype(i
, --c
) == 's'; k
++)
52 for (k
= 1; c
< ncol
&& ctype(i
, c
) == 's'; k
++)
62 fprintf(tabout
, "\\h'|0'");
64 fprintf(tabout
, "\\h'(|\\n(%2su+|\\n(%2su)/2u'", reg(ic
, CLEFT
),
72 /* return true if every element in line i is horizontal */
73 /* also at least one must be horizontl */
79 return(dboxflg
|| boxflg
);
80 for (one
= c
= 0; c
< ncol
; c
++) {
104 if (t
== '_' || t
== '-')
113 return(thish(i
, c
- 1));
117 s
= (t
== 'a' ? pc
->rcol
: pc
->col
);
118 if (s
== 0 || (point(s
) && *s
== 0))