Difference between revisions of "Command/setupspacing"

From Wiki
Jump to navigation Jump to search
(autosyntax, category)
 
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
+
<syntax>setupspacing</syntax>
  <tr>
+
 
    <td colspan="2" class="cmd">\setupspacing<span class="first" >[...]</span></td>
+
 
  </tr>
+
== Description ==  
  <tr valign="top" class="first">
+
Setup the spacing rules. Punctuation, for this command, is the set {{code|. ? ! : ; ,}}.
    <td class="cmd">[...]</td>
+
 
    <td>
 
 
{|class=wikitable
 
{|class=wikitable
 
|-  
 
|-  
Line 20: Line 19:
 
| broad || more space after some punctuation
 
| broad || more space after some punctuation
 
|}
 
|}
    </td>
 
  </tr>
 
</table>
 
 
  
== Description ==
 
Setup the spacing rules. Punctuation, for this command, is the set {{code|. ? ! : ; ,}}.
 
  
 
== Example ==
 
== Example ==
Line 52: Line 45:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|setupspacing]]
+
[[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

Help from ConTeXt-Mailinglist/Forum

All issues with: