TablesTables |
|
This information is part of the Modelica Standard Library maintained by the Modelica Association.
<table> and </table>,
not with <pre> and </pre>.This is a simple example of a table.
<table border="1" cellspacing="0" cellpadding="2">
<caption align="bottom">Caption starts with a capital letter</caption>
<tr>
<th>Head 1</th>
<th>Head 2</th>
</tr>
<tr>
<td>Entry 1</td>
<td>Entry 2</td>
</tr>
<tr>
<td>Entry 3</td>
<td>Entry 4</td>
</tr>
</table>
appears as
| Head 1 | Head 2 |
|---|---|
| Entry 1 | Entry 2 |
| Entry 3 | Entry 4 |
In this case of table captions, the table name (Tab.) including the table enumeration (1,2,...)
has to be displayed bold using <strong> and </strong>. The table name
and enumeration should look like this: Tab. 1: Tables have to be enumerated manually.
<table border="1" cellspacing="0" cellpadding="2">
<caption align="bottom"><strong>Tab 2:</strong> Caption starts with a capital letter</caption>
<tr>
<th>Head 1</th>
<th>Head 2</th>
</tr>
<tr>
<td>Entry 1</td>
<td>Entry 2</td>
</tr>
<tr>
<td>Entry 3</td>
<td>Entry 4</td>
</tr>
</table>
appears as
| Head 1 | Head 2 |
|---|---|
| Entry 1 | Entry 2 |
| Entry 3 | Entry 4 |