Open main menu

Command/definehbox

< Command
Revision as of 17:02, 27 August 2020 by Taco (talk | contribs) (Created page with "Documentation for \definehbox")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


\definehbox

Summary

The command \definehbox creates a shortcut for a horizontal box specification

Settings

\definehbox[...][...]
[...]name
[...]dimension

Description

This command creates a TeX macro that is a shortcut for a horizontal box with a specific width and including a \strut. See the example below.

This is a low-level helper that is rarely needed any more.

Examples

Example 1

\definehbox[halfline][5cm]

\hboxhalfline{some text here}
\hboxhalfline{\hfill or here}

Notes

See also

Help from ConTeXt-Mailinglist/Forum