Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Line, Point, And Tab Alignment

IP.com Disclosure Number: IPCOM000049515D
Original Publication Date: 1982-Jun-01
Included in the Prior Art Database: 2005-Feb-09
Document File: 2 page(s) / 14K

Publishing Venue

IBM

Related People

Adam, TL: AUTHOR [+4]

Abstract

Methods are provided for 1 ne, point, and tab alignment of characters displayed on a cathode ray tube (CRT) or any similar video display unit.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 56% of the total text.

Page 1 of 2

Line, Point, And Tab Alignment

Methods are provided for 1 ne, point, and tab alignment of characters displayed on a cathode ray tube (CRT) or any similar video display unit.

Three line alignments are left, justify and one-half justify. Left alignment, a common method of aligning text, aligns all of the text flush with the effective left margin. Justify aligns all of the text flush with the left margin and the right margin by inserting interword spacing. Leading spaces, trailing spaces, required spaces and spaces prior to a tab will not be expanded. The larger expanded spaces will alternate between the left and right ends of the line. Expanded spaces will be expanded as equally as possible and will differ in width from a normal space by no more than the number of spaces to be expanded times the printer unit space value. (A printer unit space is the minimum escapement a printer is capable of achieving.) The one-half justify process causes one half of the space expansion required to achieve full justification.

Point alignment is provided for centering and is invoked by a center key. This key causes an "insert mode" to be entered and a center control to be placed into the document at whatever cursored location is selected. The effect of the center control is twofold. 1. The character position cursored when the center key is

is pressed is identified as the centering position for

this instance of the center control.

2. The text following the center control is identified as the

centered phrase for this instance of the center control.

The centered phrase is terminated by a line ending control,

a tab control, or another point alignment function. The

centered phrase may also be terminated by the system if the

centered phrase reaches the left margin. Each center

control will always have a centered phrase, although the

centered phrase may be null (that is, no characters exist

between the center control and the centered phrase

terminator).

The effect of the center control is immediately reflected on the display both when the center control is entered and when the centered phrase is subsequently revised. The effect of the center control on the display is defined as follows: A centered phrase will be displayed in the same manner

as without the center control except that the phrase will

begin 'n' character positions to the left of the centering

position, where:

n equals (NChar - NRBS) /2

NChar equals Number of characters in the centered

phrase excluding required...