Tab stop

A tab stop on a typewriter is a location where the carriage movement is halted by an adjustable end stop. Tab stops are set manually, and pressing the tab key causes the carriage to go to the next tab stop. In text editors on a computer, the same concept is implemented simplistically with automatic, fixed tab stops.

A ruler depicting tab stops in a word processor

Modern word processors generalize this concept by offering tab stops that have an alignment attribute and cause the text to be automatically aligned at left, at right or center of the tab stop itself. Such tab stops are paragraph-specific properties and can be moved to a different location in any moment, or even removed.

Types of tab stops

A tab stop is a horizontal position which is set for placing and aligning text on a page. There are at least five kinds of tab stops in general usage in word processing or in MS Word.

Left
text extends to the right from the tab stop.
Center
text is centered at the tab stop.
Right
text extends to the left from the tab stop until the tab's space is filled, and then the text extends to the right.
Decimal
text before the decimal point extends to the left, and text after the decimal point extends to the right.
Bar
a vertical line at the specified position on each line in a document.

Dynamic tab stops

Some software supports tab stops whose positions are set dynamically by the position of a specific character in a line of text. Adobe InDesign supports this with a non-printing "indent to here" character. Third-party plug-ins add this functionality to numerous other programs[1] including Visual Studio,[2][3] and Go's tabwriter package.[4]

gollark: Stop hating them.
gollark: There are things between linear and exponential, which is important sometimes.
gollark: ... the point is that if the thing which is varying is in the exponent it's "exponential", if the exponent is constant it's "polynomial" or something.
gollark: Exponential would be if it was 2^x or something.
gollark: ... no.

See also

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.