8.0

Table Of Contents
outside the trailing margin.
The second line in this sample text shows no hang on the left, but shows a leading hang on the right.
The punctuation characters in this sample text are trailing hanging characters.
You can create custom hanging character classes and hanging character sets in QuarkXPress, or you can
use the default classes and sets that come with the software. A hanging character class is a group of
characters that should always hang outside the margin or indent inside the margin by the same
percentage. A hanging character set is a group of hanging character classes. You can use a hanging
character set to apply one or several hanging character classes to paragraphs.
In Modifier XML, the hanging characters set applied to text is specified by the
FORMAT@HANGINGCHARACTERS attribute.
Support for Character Alignment
The Character Alignment feature gives you several options for aligning small characters in a line of text to
the largest character in a line of text. You can align characters based on their baselines, their em boxes,
or their ICF boxes.
Em boxes are the bounding boxes of characters. The ideographic character face (ICF) box is a
boundary inside the em box beyond which a glyph cannot extend. ICF boxes are necessary to ensure
that glyphs in an East Asian text flow do not touch each other. The red area in the diagram below
represents the boundaries of the em box. The yellow area represents the ICF box.
Red represents the em box. Yellow represents the ICF box.
The alignment options available in QuarkXPress through the Style> Character Alignment submenu are
available in Modifier XML through the FORMAT@CHARACTERALIGNMENT attribute, which can
have the following values:
ICFBOXTOP
Aligns small characters with the top of the ICF box.
ICFBOXBOTTOM
Aligns small characters with the bottom of the ICF box.
ICFBOXLEFT
Aligns small characters with the left side of the ICF box.
Page 5