Open main menu

Changes

m
no edit summary
The macro
autoinsertnextspace
The macro {{cmd|autoinsertnextspace}} conditionally adds a space, depending on the next token.
This is very useful when defining macro commands as short hands for text (or other expressions used within text), since by default TeX ignores spaces after a command macro. Compare the following two definitions.
<contextsource=yes>
\define\myBla{blablabla\autoinsertnextspace}
\define\myBadBla{blablabla}
\stoptext
</context>
 
[[Category:Basics]]