# Directives: chord

This directive is similar to define but it only displays the chord immediately in the song where the directive occurs.

{chord: name}
{chord: name base-fret offset frets pos pospos}
{chord: name base-fret offset frets pos pospos fingers pos pospos}

name is the name to be used for this chord. If the directive is used to show a known chord the rest of the arguments may be omitted.

See define for all possible arguments.

Example:

{chord: Am}
{chord: Bes base-fret 1 frets 1 1 3 3 3 1 fingers 1 1 2 3 4 1}
{chord: As  base-fret 4 frets 1 3 3 2 1 1 fingers 1 3 4 2 1 1}

The resultant chord diagrams are:

See also: define.