Jump to content

Tab stop: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add redirect template for fixed-width
Line 1: Line 1:
{{unreferenced|date=January 2008}}
{{unreferenced|date=January 2008}}
{{redirect|fixed width|the class of fonts with fixed character widths|Monospaced font}}

A '''tab stop''' on a [[typewriter]] is a location where the carriage movement is halted by mechanical gears. Tab stops are set manually, and pressing the [[tab key]] causes the carriage to go to the next tab stop. In [[text editor]]s on a computer, the same concept is implemented simplistically with automatic, fixed tab stops.
A '''tab stop''' on a [[typewriter]] is a location where the carriage movement is halted by mechanical gears. Tab stops are set manually, and pressing the [[tab key]] causes the carriage to go to the next tab stop. In [[text editor]]s on a computer, the same concept is implemented simplistically with automatic, fixed tab stops.



Revision as of 02:38, 17 June 2010

A tab stop on a typewriter is a location where the carriage movement is halted by mechanical gears. 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.

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.

File:Tab stop.PNG
A ruler depicting tab stops in a word processor

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.

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.

Elastic tabstops

In 2006 Nick Gravgaard invented elastic tabstops.[1] He also has written 2 plugins for Gedit implementing elastic tabstops. Elastic tabstops are also implemented in the "tabwriter" package of Go (programming language).[2]

See also

References