Next: Pixel Specification, Previous: Replacing Specs, Up: Display Property
To display a space of specified width and/or height, use a display
specification of the form (space .
props)
, where
props is a property list (a list of alternating properties and
values). You can put this property on one or more consecutive
characters; a space of the specified height and width is displayed in
place of all of those characters. These are the properties you
can use in props to specify the weight of the space:
:width
width:relative-width
factordisplay
property. The space width is the pixel width of
that character, multiplied by factor. (On text-mode terminals,
the “pixel width” of a character is usually 1, but it could be more
for TABs and double-width CJK characters.)
:align-to
hposYou should use one and only one of the above properties. You can also specify the height of the space, with these properties:
:height
height:relative-height
factor:ascent
ascentDon't use both :height
and :relative-height
together.
The :width
and :align-to
properties are supported on
non-graphic terminals, but the other space properties in this section
are not.
Note that space properties are treated as paragraph separators for the purposes of reordering bidirectional text for display. See Bidirectional Display, for the details.