Command/hspace
< Command
Jump to navigation
Jump to search
Contents
\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 |
Option | Explanation |
---|---|
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