2015

Table Of Contents
Using inline tables
The Inline Tables feature makes it easy to create an anchored table. Rather than having
to specify every attribute of a table, you can simply specify the content for a table as
a series of <TROW> and <ENTRY> elements in an <INLINETABLE> element, like so:
<STORY>
<INLINETABLE>
<THEAD>
<TROW>
<ENTRY>Year</ENTRY>
<ENTRY>2012</ENTRY>
<ENTRY>2013</ENTRY>
<ENTRY>2014</ENTRY>
<ENTRY>2015</ENTRY>
</TROW>
</THEAD>
<TBODY>
<TROW>
<ENTRY>Revenue</ENTRY>
<ENTRY>000</ENTRY>
<ENTRY>100</ENTRY>
<ENTRY>200</ENTRY>
<ENTRY>300</ENTRY>
</TROW>
<TROW>
<ENTRY>Liabilities</ENTRY>
<ENTRY>000</ENTRY>
<ENTRY>100</ENTRY>
<ENTRY>200</ENTRY>
<ENTRY>300</ENTRY>
</TROW>
</TBODY>
</INLINETABLE>
...
</STORY>
The number of rows in such a table is determined by the number of <TROW> elements.
The number of columns is determined by the maximum number of <ENTRY> elements
in a <TROW>.
In the <TBODY> element, each <TROW> contains one or more <ENTRY> elements. If
you don't style the text in an <ENTRY> element, it uses the default styling, which can
be defined in a <TROWSTYLE> or <TCOLSTYLE> element (see below).
The <THEAD> element lets you create a repeating header for the table. The
<TCONTINUED> element lets you create a "continued" row for the table. If you don't
supply either of these elements, you must create the header row manually as a <TROW>
in the <TBODY>.
For each row and column, you can specify the following things:
COLOR: Cell background color.
SHADE: Cell background shade.
STORYDIRECTION: Story direction.
You can automatically adjust and position pictures in table cells. The VALIGN@ENTRY
and ALIGNMENT@ENTRY attributes lets you specify the alignment of a cell, including
picture cells.
An <INLINETABLE> can also include optional <COLGROUP> elements, which allow
you to specify column attrbutes in the form of <TCOL> elements, like so:
<INLINETABLE>
<COLGROUP>
<TCOL INDEX="1" WIDTH="250">
</TCOL>
128 | A GUIDE TO QUARKXPRESS SERVER 2015
USING QUARKXPRESS SERVER