Difference between revisions of "Command/setupspacing"
< Command
Jump to navigation
Jump to search
(autosyntax, category) |
|||
Line 5: | Line 5: | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
− | < | + | <syntax>setupspacing</syntax> |
− | + | ||
− | + | ||
− | + | == Description == | |
− | + | Setup the spacing rules. Punctuation, for this command, is the set {{code|. ? ! : ; ,}}. | |
− | + | ||
− | |||
{|class=wikitable | {|class=wikitable | ||
|- | |- | ||
Line 20: | Line 19: | ||
| broad || more space after some punctuation | | broad || more space after some punctuation | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
Line 52: | Line 45: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Whitespace|setupspacing]] |
Latest revision as of 20:39, 23 September 2019
\setupspacing
Syntax
\setupspacing[...] | |
[...] | fixed packed broad |
Description
Setup the spacing rules. Punctuation, for this command, is the set . ? ! : ; ,
.
fixed | equal spaces everywhere |
packed | equal spaces between words, equal slightly larger spaces after punctuation |
broad | more space after some punctuation |
Example
\def\X{\blackrule[width=0.1cm]} \setupspacing[fixed] So \X? \X! \X. \X: \X; \X, \X{} (fixed) \setupspacing[packed] So \X? \X! \X. \X: \X; \X, \X{} (packed) \setupspacing[broad] So \X? \X! \X. \X: \X; \X, \X{} (broad) \stopcolumns
See also
- \setupalign for more spacing-related settings
- spac-hor.mkiv for the source code
Help from ConTeXt-Mailinglist/Forum
All issues with: