Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: Full | XeTeX: Full |
textmacros | MathJax: Full | KaTeX: Full | XeTeX: Full |
Syntax#
\llapm{a}math contentArgspec m — one mandatory argument. In base. Reading argspecs
\llapm:T{a}text contentArgspec m:T — one mandatory argument. In textmacros. Reading argspecs
Examples#
Package variants#
| Package | Signature | Allowed mode | Notes |
|---|---|---|---|
base | m | math | Used to place material flush-left in zero width so it overlaps neighboring math without contributing horizontal width, typically for manual annotations or adjusted symbol placement. |
textmacros | m:T | text | Used in text-mode material to place content in a zero-width box that protrudes to the left, so it overlaps following text without taking horizontal space. |
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
See also#
\rlapbase
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\llap{a} | Positive · baseline | Pass | Pass | Pass |
\llap a | Positive · bare[0] | Pass | Pass | Pass |
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\llap{a} | Positive · baseline | Pass | Pass | Pass |
\llap a | Positive · bare[0] | Pass | Pass | Pass |
\llap{a^2} | Negative · neg:T[0] | Fail | Fail | Fail |