# \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}
```