### Setup

I use the glossaries package with the following settings, which aren’t all important unless printing the glossary terms.

### Defining Acronyms

Acronyms are defined in the following fashion

For example, signal-to-noise ratio (SNR) would be defined via

### Usage

To use the SNR acronym, simply type \gls{snr} anywhere you want to use it.

The first time the acronym is used, the acronym will be defined. Thereafter, it will be referred to by its acronym only.

For example, the following LaTeX

yields

The signal-to-noise ratio (SNR) is very low. The SNR should be higher.

### Shorthand Macros

Sometimes it is cumbersome to type \gls{snr} anytime I want to call the SNR acronym. It would be more convenient to type \snr instead, so I create shorthand macros for the acronyms I use most.

The xspace package is useful when creating glossary shorthand macros to automatically insert/neglect spaces when appropriate.

A shorthand macro can then be defined via

The following LaTeX

yields

The signal-to-noise ratio (SNR) is very low. The SNR should be higher.