Syntax#
\hfilTakes no arguments. Reading argspecs
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Collapse hfil to the canonical hfill command under MathJax spacing semantics.
\hfil \hfillEquivalent forms#
\hfillexactExact in current MathJax implementation because BaseMappings routes
\hfilto the same HFill handler as\hfill, though traditional TeX distinguishes their glue orders.
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\begin{array}{cc} a \hfil & b \end{array} | Positive · ctx:in-array | Pass | Fail | Pass |