![]() |
Creating tables | ![]() |
In order to create a table, you may either use Insert\(\rightarrow\)Table or one of the following keyboard shorthands:
Create a plain table.
Create a table whose cells are centered.
Create a “block”, whose cells all have a small border.
Create a block whose cells are centered.
In math mode, a few other table-like structures are provided:
Create a matrix.
Create a determinant.
Create a choice list.
Examples of a plain table, a centered block and a matrix are shown below. Notice that the environments with the explanatory text below the tables were created using Insert\(\rightarrow\)Table\(\rightarrow\)Small table. The use of “small tables” allows you to put several tables besides each other on the same line. For a single large table, one may use Insert\(\rightarrow\)Table\(\rightarrow\)Big table.
|
||||||
|
||||||
| \(\displaystyle \left( \begin{array}{cc} a & b\\ c & d \end{array} \right)\) |
There are several other table-like environments and new ones may be created by the user. For instance, using Insert\(\rightarrow\)Mathematics\(\rightarrow\)Equations or ⌃&, you may insert an eqnarray* environment, which allows mathematically oriented users to align a list of equations which span over entire lines. An example of such a list of equations is
When starting a new table, its size is minimal (usually \(1 \times 1\)) and its cells are empty. New rows and columns are inserted using the ⌃←, ⌃→, ⌃↑ and ⌃↓ shorthands. For instance, ⌃→ creates a new column at the right of the current cursor position, as illustrated in the figure below. You may also start a new row below the current cursor position by hitting ↩.