Boxes

These next three commands for making LR-boxes all existed in LATEX~2.09. They have been enhanced in two ways.
#decl288#
One small but far-reaching change for LATEX2e is that, within the <#300#>width<#300#> argument only, four special lengths can be used. These are all dimensions of the box that would be produced by using simply ||<#301#>text<#301#>:
 ||;SPMnbsp;;SPMnbsp;;SPMnbsp;;SPMnbsp;its height above the baseline;
 ||;SPMnbsp;;SPMnbsp;;SPMnbsp;;SPMnbsp;its depth below the baseline;
 ||;SPMnbsp;;SPMnbsp;;SPMnbsp;;SPMnbsp;the sum of || and ||;
 ||;SPMnbsp;;SPMnbsp;;SPMnbsp;;SPMnbsp;its width.
Thus, to put `hello' in the centre of a box of twice its natural width, you would use:
verbatim50#
Or you could put f into a square box, like this: #math68##tex2html_wrap1158#
verbatim51#
Note that it is the total width of the framed box, including the frame, which is set to ||. The other change is a new possibility for <#310#>pos<#310#>: |s| has been added to |l| and |r|. If <#311#>pos<#311#> is |s| then the text is stretched the full length of the box, making use of any `rubber lengths' (including any inter-word spaces) in the box's contents. If no such `rubber length' is present, an `underfull box' will probably be produced.
#decl312#
As for the box commands above, ||, ||, etc.~may be used in the <#326#>height<#326#> argument to denote the natural dimensions of the box. The <#327#>inner-pos<#327#> argument is new in LATEX2e. It is the vertical equivalent to the <#328#>pos<#328#> argument for ||, etc, determining the position of <#329#>text<#329#> within the box. The <#330#>inner-pos<#330#> may be any one of |t|, |b|, |c|, or |s|, denoting top, bottom, centred, or `stretched' alignment respectively. When the <#331#>inner-pos<#331#> argument is not specified, LATEX gives it same value as <#332#>pos<#332#> (this could be the latter's default value).
#decl333#
This is an environment which does not directly print anything. Its effect is to save the typeset <#339#>text<#339#> in the bin <#340#>cmd<#340#>. Thus it is like | | <#341#>cmd<#341#> <#342#>text<#342#>, except that any white space before or after the contents <#343#>text<#343#> is ignored. This is very useful as it enables both the |1#math69##tex2html_wrap_inline1220#|. The following example defines an environment, called |fmpage|, that is a framed version of |minipage|.
verbatim52#