Difference between revisions of "Command/fixedspaces"

From Wiki
Jump to navigation Jump to search
(cleanup)
 
(11 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>fixedspaces</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 13: Line 16:
 
== Description ==  
 
== Description ==  
  
Makes the space created by <texcode>~</texcode> have the same width as the glyph for the numeral zero (0) in the current font
+
A switch; makes the non-breaking space created with the tilde {{code|~}} have the same width as the glyph for the numeral zero (0) in the current font
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source=yes>
 +
 
 +
Without \tex{fixedspaces}:\crlf
 +
101\crlf
 +
1~1\crlf
 +
1 1\crlf
 +
 
 +
\fixedspaces
 +
With \tex{fixedspaces}:\crlf
 +
101\crlf
 +
1~1\crlf
 +
1 1
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{src|spat-gen.mkii}}
 +
* {{src|spac-hor.mkiv}}
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|fixedspaces]]
+
[[Category:Command/Fonts|fixedspaces]]

Latest revision as of 19:37, 13 January 2020

\fixedspaces

Syntax (autogenerated)

\fixedspaces


Syntax

\fixedspaces

Description

A switch; makes the non-breaking space created with the tilde ~ have the same width as the glyph for the numeral zero (0) in the current font

Example


Without \tex{fixedspaces}:\crlf
101\crlf
1~1\crlf
1 1\crlf

\fixedspaces
With \tex{fixedspaces}:\crlf
101\crlf
1~1\crlf
1 1

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: