Spacing\hfil

\hfilCommand

Used as the lower-level TeX primitive form of \hfill inside an array-like cell; in MathJax it marks a fill position that later affects the cell's alignment.

\begin{array}{c}a\hfil\end{array}
Topic
Spacing
Available in
base
Kind
prefix
Allowed mode
math
Frequency
<0.01% of corpus formulasrank 220 of 263
Commonality
low
Tags
invisible
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\hfil

Takes no arguments. Reading argspecs

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

base/hfil-to-hfillfrom Authoringrender

Collapse hfil to the canonical hfill command under MathJax spacing semantics.

\hfil \hfill

Equivalent forms#

  • \hfillexact

    Exact in current MathJax implementation because BaseMappings routes \hfil to the same HFill handler as \hfill, though traditional TeX distinguishes their glue orders.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\begin{array}{cc} a \hfil & b \end{array}Positive · ctx:in-arrayPassFailPass
All 32 in Spacing