Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: Full | XeTeX: Full |
textmacros | MathJax: Full | KaTeX: Full | XeTeX: Full |
Syntax#
\!Takes no arguments. Same argspec in base and textmacros. Reading argspecs
Common tasks#
How to tighten space around a factorial-like product#
\! is a negative thin space; it is not the factorial glyph.
How to pull a subscript closer to a large operator#
How to cancel a thin space before punctuation#
Examples#
Package variants#
| Package | Signature | Allowed mode | Notes |
|---|---|---|---|
base | | math | Adds a negative thin math space to tighten spacing between nearby symbols in formulas. |
textmacros | | text | Used to insert a negative thin space to tighten spacing in text fragments when default spacing is too loose. |
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Equivalent forms#
\negthinspaceexactBoth base mappings call BaseMethods.Spacer with MATHSPACE.negativethinmathspace.
\negthinspaceexactIn the textmacros mappings,
\negthinspaceis sent to the same Spacer method with the same negative thin-space width.
See also#
\,base\;base\:base\>base\enspacebase\negmedspaceams\negthickspaceams\negthinspacebase\qquadbase\quadbase\thinspacebase
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\! | Positive · baseline | Pass | Pass | Pass |
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\! | Positive · baseline | Pass | Pass | Pass |