# 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 pos … pos}
{chord:
name base-fret
offset frets
pos pos … pos fingers
pos pos … pos}
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.