TeX/hfill

SyntaxEdit

 \hfil
 \hfill
 \vfil
 \vfill

DescriptionEdit

The TeX primitives \hfil, \hfill \vfil, \vfill, \hfilneg, \vfilneg are respectively equivalent in their effect to the command sequences:

 \hskip 0pt plus 1fil
 \hskip 0pt plus 1fill
 \vskip 0pt plus 1fil
 \vskip 0pt plus 1fill
 \hskip 0pt plus -1fil
 \vskip 0pt plus -1fil

In other words, they provide infinite horizontal and vertical glue, where \hfill and \vfill are infinitely larger than \hfil and \vfil respectively.

Please note that while you can use

  \hskip 0pt plus 1filll
  \vskip 0pt plus 1filll

there is no \hfilll or \vfilll.

The glue produced by these commands never shrinks.

See also:Edit

Last modified on 17 September 2013, at 14:18