The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: text table
Replies: 2   Last Post: Jan 30, 2013 10:05 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alexei Boulbitch

Posts: 483
Registered: 2/28/08
Re: text table
Posted: Jan 30, 2013 4:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I need to make a table, but one that uses text with in, not numbers. How do
I go about this?

You do the same as in any other table i.e. make a nested list and wrap it by Grid, but put strings as the elements of the list. Below find a table with some styling containing both text cells, cells with numbers and empty ones that I did for my own purpose. Evaluate this:

tableSkinTempNeutral1 = {{"Segment",
Column[{"Skin temperature", "thin leotard [\[Degree]C]"}],
Column[{"Skin temperature", "office clothing [\[Degree]C]"}] },
{"Forehead", 35.8, 34.2},
{"Cheek", 35.2, " "},
{"Front neck", 35.8, ""},
{"Back neck", 35.4, ""},
{"Chest", 35.1, 34.5},
{"Back", 35.3, 34.4},
{"Abdomen", 35.3, 34.9},
{"Upper arm", 34.2, 33.5}};

Panel@Grid[tableSkinTempNeutral1, Frame -> All,
Dividers -> Directive[Gray, Thickness[4]],
ItemSize -> {Automatic, 2},
Background -> {None, {LightYellow, {LightBlue, LightOrange}},
1 -> LightYellow}]

You may also play with Style statements. That is instead of, say, "Forehead" you put Style["Forhead",12,Red,Bold], and so on.

Hope this helps, have fun, Alrexei

Alexei BOULBITCH, Dr., habil.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.