Difference between revisions of "Command/space"
< Command
Jump to navigation
Jump to search
(Create reference page) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{{Reference | {{Reference | ||
|name=space | |name=space | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>space</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 14: | Line 15: | ||
== Description == | == Description == | ||
+ | A macro that expands to a space, defined very simply as | ||
+ | <texcode> | ||
+ | \def\space{ } | ||
+ | </texcode> | ||
+ | Useful when an ordinary space would get gobbled, as is common when macros are involved. | ||
+ | == Example == | ||
+ | <context source=yes text=gives> | ||
+ | \def\text{page} | ||
+ | With a space: \text \pagenumber \crlf | ||
+ | With a \tex{space}: \text\space\pagenumber | ||
+ | </context> | ||
− | == | + | == See also == |
− | <!-- | + | <!-- something like {{cmd|goto}} --> |
− | == | + | == Help from ConTeXt-Mailinglist/Forum == |
− | + | All issues with: | |
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Internals|space]] |
+ | [[Category:Command/Texts|space]] | ||
+ | [[Category:Command/Fonts|space]] |
Latest revision as of 16:30, 11 November 2019
\space
Syntax (autogenerated)
\space |
Syntax
\space |
Description
A macro that expands to a space, defined very simply as
\def\space{ }
Useful when an ordinary space would get gobbled, as is common when macros are involved.
Example
\def\text{page} With a space: \text \pagenumber \crlf With a \tex{space}: \text\space\pagenumber
gives
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: