Command/hspace

From Wiki
< Command
Revision as of 08:21, 19 November 2021 by Taco (talk | contribs) (Created page with "Documentation for \hspace")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\hspace

Summary

The command \hspace inserts horizontal space

Settings

\hspace[...][...]
[...]name
[...]small medium big normal default none .5 1 2 3 speech quote interquotation quotation sentence intersentence final name

OptionExplanation
small .25em
medium .5em
big 1em
normal spaceamount
default spaceamount
.5 .1250em (aka \hairspace)
1 .1667em (aka \thinspace)
2 .2222em (aka \medspace)
3 .2777em (aka \thickspace)
speech a language-specific amount, taken from the "quotation" language parameter
quote a language-specific amount, taken from the "quotation" language parameter
interquotation .125em
quotation 0pt
sentence 0pt
intersentence .25em

Description

Insert a named amount of horizontal space. A number of dimensions are already predefined; more can be defined with \definehspace.

Examples

Example 1

\definehspace[oneem][1 em]
\definehspace[twoem][2 em]

asdf\hspace[oneem]asdf\crlf
asdf\hspace[twoem]asdf

Example 2


asdf\hspace[speech]: more text

\language[fr]

asdf\hspace[speech]: more text

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: