Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My question is rather simple. I want to put a title into a table.

For example, consider a list with depth two and a title

list = Range[4] & /@ Range[4];
title = "Bravo";

And I want to create a table from list, i.e.,


This will generate a table without a title. Let's say I want to make a title "Bravo" on top of the table(which is center-aligned).

Can you suggest a neat way to achieve it? I looked up the possible options for TableForm, but I could not find a relevant one.

share|improve this question
up vote 7 down vote accepted
Labeled[TableForm[list], title, Top]
share|improve this answer

Here is another approach using only the functionality of TableForm itself:

list = Range[4] & /@ Range[4];
title = "Bravo";
TableForm[{{list}}, TableHeadings -> {None, {title}}]


This nests the list deep enough inside {{ }} so that the column labels provided by TableHeadings are applied only to a single column containing the actual table. The result is that the column heading has become a table heading for the inner table.

share|improve this answer
{ToString["This is the title"],
Alignment-> Center]
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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