2017

Table Of Contents
USING QUARKXPRESS SERVER
146 | A Guide to QuarkXPress Server 2017
T
able Span
A
n
<
INLINETABLE>
c
an include an optional
S
PAN
a
ttribute. Values for
S
PAN
c
an be:
P
AGEWIDTH
-
the table will span the width of the page.
ALLCOLUMNS
- the table will span all columns on the page.
the number of columns to span.
<INLINETABLE SPAN=”PAGEWIDTH”>
....
.
...
</INLINETABLE>
Using table styles
Table styles make it easy to style inline tables. Rather than applying formatting
directly, you can define a table style, then apply the table style to inline tables like
so:
<INLINETABLE TABLESTYLEREF=”TableStyle1 ”>
For example, assume you want to create a table where alternating rows are shaded,
the grid is a particular color, the insets are a particular amount, and so forth. Instead
of specifying the formatting for such a table manually for every row, you can define
the table’s qualities in a table style, like so:
<PROJECT>
<TABLESTYLE WIDTH=”95”>
<ID NAME=”tableStyle10”/>
<TROWSTYLE INSET=”2”>
<TOPGRID COLOR=”none”/>
<BOTTOMGRID COLOR=”none”/>
</TROWSTYLE>
<HEADTROWSTYLE COLOR=”red” SHADE=”30”>
<TOPGRID COLOR=”red” WIDTH=”1”/>
<BOTTOMGRID COLOR=”black” WIDTH=”1”/>
</HEADTROWSTYLE>
<ODDTROWSTYLE COLOR=”black” SHADE=”20”>
<TOPGRID COLOR=”none”/>
<BOTTOMGRID COLOR=”none”/>
</ODDTROWSTYLE>
<EVENTROWSTYLE COLOR=”magenta” SHADE=”60”>
<TOPGRID COLOR=”none”/>
<BOTTOMGRID COLOR=”none”/>
</EVENTROWSTYLE>
<TCOLSTYLE>
<LEFTGRID COLOR=”none”/>
<RIGHTGRID COLOR=”none”/>
</TCOLSTYLE>
<FIRSTTCOLSTYLE COLOR=”Cyan” SHADE=”90”/>
<LASTTCOLSTYLE COLOR=”Cyan” SHADE=”50”/>
</TABLESTYLE>
...
</PROJECT>
A <TABLESTYLE> lets you specify the following things:
<TROWSTYLE>: A row style to be applied to every row in the table. One of the
two mandatory elements of <TABLESTYLE>. Includes the INSET attribute, which
lets you specify the inset to apply on all four sides.