Tables can be also be created and inserted (or embedded) using DocumentTools commands:
The Tabulate command provides built-in support for laying out lists, Arrays, Vectors, Matrices and DataFrames containing strings, numbers, math expressions, and plots. By constructing the content using the DocumentTools commands, further customization is possible and the inserted Table can also be subsequently altered programmatically.
>
|
|
>
|
|
| (1.2.1) |
>
|
|
Date
|
Mean Sunspot Number
|
1700
|
5.0
|
1701
|
11.0
|
1702
|
16.0
|
1703
|
23.0
|
1704
|
36.0
|
1705
|
58.0
|
1706
|
29.0
|
1707
|
20.0
|
1708
|
10.0
|
1709
|
8.0
|
1710
|
3.0
|
1711
|
0.
|
1712
|
0.
|
1713
|
2.0
|
|
|
The Table inserted above may receive a new identity upon insertion if the value of the identity option supplied to the Table constructor is already in use in the worksheet. The name lookup has been assigned a table which can be used to look up the identity that has been used for insertion. In this example, the identity has not changed since the supplied identity is not already used in any other component in the worksheet.
The next command hides rows 11 through 14 of the above Table. The identity of the inserted Table is used for this.
>
|
|
And those rows can be made visible once more.
>
|
|