6 collect style cell — Collection styles for cells
Fonts
font(
fontfamily
, size(#
unit
) color(color) variant(variant)
no
bold
no
italic
no
strikeout
no
underline underline(upattern)
) specifies the font style for the cell
text.
These font style properties are applicable when publishing items from a collection to Microsoft
Word, Microsoft Excel, PDF, L
A
T
E
X, and HTML files, unless otherwise specified.
fontfamily specifies a valid font family. This font style property is applicable when publishing
items from a collection to Microsoft Word, Microsoft Excel, PDF, and HTML files.
size(#
unit
) specifies the font size as a number optionally followed by units. If # is specified
without the optional unit, points is assumed. This font style property is applicable when
publishing items from a collection to Microsoft Word, Microsoft Excel, PDF, and HTML files.
variant(variant) specifies the font variant and capitalization.
bold and nobold specify the font weight. bold changes the font weight to bold; nobold changes
the font weight back to normal.
italic and noitalic specify the font style. italic changes the font style to italic; noitalic
changes the font style back to normal.
strikeout and nostrikeout specify whether to add a strikeout mark to the text. strikeout
adds a strikeout mark to the text; nostrikeout changes the text back to normal.
Only one of strikeout or underline is allowed when publishing to HTML files.
underline(upattern), underline, and nounderline specify how to underline the text.
underline(upattern) adds an underline to the text using a specified pattern. upattern may
be any of the patterns listed in Underline patterns of [TABLES] Appendix. For example,
underline(none) removes the underline from the text, and underline(single) underlines
the test. All other upatterns are available only when publishing items from a collection to
Microsoft Word.
Only one of strikeout or underline is allowed when publishing to HTML files; underline
patterns are not allowed when publishing to HTML files.
smcl(smcl) specifies how to render cell text for SMCL output. The supported SMCL directives are
input, error, result, and text. This style property is applicable only when publishing items
from a collection to a SMCL file.
latex(latex) specifies the name of a L
A
T
E
X macro to render cell text for L
A
T
E
X output. This style
property is applicable only when publishing items from a collection to a L
A
T
E
X file.
Example L
A
T
E
X macro names are textbf, textsf, textrm, and texttt. Custom L
A
T
E
X macros
are also allowed. If value is the value for a given cell, then latex is translated to the following
when exporting to L
A
T
E
X:
\latex {value}
Shading
shading(
background(bgcolor) foreground(fgcolor) pattern(fpattern)
) sets the background
color, foreground color, and fill pattern for cells. The background color is applicable when exporting
the table to Microsoft Word, Microsoft Excel, PDF, HTML, and L
A
T
E
X files. The foreground color
and fill pattern are applicable when exporting the table to Microsoft Word and Microsoft Excel.