Skip to content

Text Positioning

Terry Burton edited this page Aug 15, 2024 · 10 revisions

Text Positioning

textxalign

The textxalign option is used to specify where to horizontally position the text.

  • textxalign=offleft
  • textxalign=left
  • textxalign=center
  • textxalign=right
  • textxalign=offright
  • textxalign=justify

textyalign

The textyalign option is used to specify where to vertically position the text.

  • textyalign=below
  • textyalign=center
  • textyalign=above

textxoffset

The horizontal position of the text in points relative to the leftmost bar or modules.

textyoffset

The vertical position of the text in points relative to the base of the bars or modules.

Notes

  • By default (in the absence of textxalign or textyalign), each character of text is placed immediately below the corresponding modules where this is possible.
  • Where there isn't such a direct relationship then the default is to position the text centrally beneath the symbol.

extratextxalign, extratextyalign, extratextxoffset, extratextyoffset

  • Any extra text can be position using the extratextxalign, extratextyalign, extratextxoffset and extratextyoffset options that function the same as their textxalign, textyalign, textxoffset and textyoffset analogues.
Clone this wiki locally