Your support for our advertisers helps cover the cost of hosting, research, and maintenance of this document

Formatting Information — An introduction to typesetting with LATEX

### Chapter 7: Programmability

In its simplest form, a LATEX macro can just be a straightforward text replacement of a phrase to avoid lengthy retyping with the possibility of misspelling something each time you need it, eg

```\newcommand{\EF}{European Foundation for the
Improvement of Living and Working Conditions}
```

Put this in your Preamble, and you can then use \EF in your document and it will typeset it as the full text. Remember that after a command ending in a letter you need to leave a space to avoid the next word getting gobbled up as part of the command (see § 1.5.1). If you want to force a space to be printed after the expansion, use a backslash followed by a space, eg

```The \EF\ is a member institution of the Commission of the
European Union.
```
