2
$\begingroup$

How can I get the option Frame in TextGrid to do all horizontal lines, including top and bottom?

I want:

----
a b
----
c d
----
e f
----

The closest I get is with the following command:

TextGrid[{{a, b}, {c, d}, {e, f}},  Frame -> {{False, False}, All}]

which produces a grid with horizontal lines but misses top and bottom:

a b
----
c d
----
e f

I tried several things, but to no avail.

$\endgroup$
4
$\begingroup$
 TextGrid[{{a,b},{c,d},{e,f}},Dividers->{False,All}]

Mathematica graphics

$\endgroup$
1
  • $\begingroup$ I just found that answer haha. Thanks. $\endgroup$
    – A. Vieira
    Nov 11 '17 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.