TITLES Subcommand: Titles, Captions, and Corner Text (CTABLES command)
The TITLES
subcommand specifies table annotations. If the subcommand is used,
a title, caption, or corner text must be specified. No caption, title,
or corner text is displayed by default.
/TITLES CAPTION= ['text' 'text'...]
CORNER= ['text' 'text'...]
TITLE= ['text' 'text'...]
CAPTION. Caption lines. The caption appears below the table. Multiple lines can be specified. Each line must be quoted.
CORNER. Corner text. Corner text appears in the corner cell of the table, above row titles
and next to column titles. Multiple lines can be specified. Each line
must be quoted. Pivot tables show all corner text that fits in the
corner cell. The specified text is ignored if the table has no corner
cell. The system default TableLook uses the corner area for display
of row dimension labels. To display CTABLES
corner text, the Row Dimension Labels setting in Table Properties
should be set to Nested. This
choice can be preset in the default TableLook.
TITLE. Title text. The title appears above the table. Multiple lines can be specified. Each line must be quoted.
The following symbols can be used within any caption, corner text, or title line. Each symbol must be specified by using an opening right parenthesis and all uppercase letters.
)DATE . Current date. Displays a locale-appropriate date stamp that includes the year, month, and day.
)TIME. Current time. Displays a locale-appropriate time stamp.
)TABLE. Table description. Inserts a description of the table, which consists of the table
expression stripped of measurement levels, statistics specifications,
and /TABLE
. If variable labels
are available, they are used instead of variable names in the table
expression.
Example
CTABLES /VLABELS VARIABLES=SEX HAPMAR DISPLAY=NONE
/TABLE SEX > HAPMAR BY CHILDCAT [COLPCT]
/SLABELS VISIBLE=NO
/TITLE TITLE = 'Marital Happiness for Men and Women '+
'by Number of Children'
CAPTION= 'Report created at )TIME on )DATE' ')TABLE'.

- The
VLABELS
subcommand suppresses the display of variable labels for SEX and HAPMAR. - The
SLABELS
subcommand suppresses the default label for the summary function. - The
TITLE
specification on theTITLE
subcommand uses the standard IBM® SPSS® Statistics convention to break a single string across input lines. - The
CAPTION
specification uses the)DATE
,)TIME
, and)TABLE
keywords to print the date, time, and a description of the table structure.