ReadyScript
Typography Arguments

You can control the typography of the text in the document you create with ReadyScript with the typography arguments described in this section. For more information about any of the typographic options available with Sahafi, refer to the appropriate section of the Sahafi User's Guide.
The typography arguments can be typed into the text of the TEXTBLOCK command, in the STYLE command, or directly into the text file you want to import into Sahafi, as shown in the following examples:

{TEXTBLOCK=8.7,19.2,4.07,31.10,0,0,:<FT3><PL><BO><PS14><LS24><P10><HYX>This month:<RET>Our first exhibition of kachinas and baskets from the Eleanora Corelli collection of Hopi Crafts.}
{STYLE=title:<FT2><BO><PS48><AC>}
{STYLE=header:<FT1><BO><PS24><AL><PI1><TB1,3.5,1.5,l>
<TB2,5,1.5,l><TB3,6.5,1.5,l><TB4,8,1.5,l>}
{STYLE=table:<FT1><PL><PS18><AL><PI1><TB1,3,1,r,.,.5>
<TB2,4.5,1,r,.,.5><TB3,6,1,r,.,.5><TB4,7.5,1,r,.,.5>

When typography arguments are typed into the STYLE command, the formatting only applies to the text that is tagged with the style name in the text or data file.
If you create a word processing file containing text that you want to use in your document, you can place the typography arguments directly into the text of the word processing file to specify the typography of the text:

<FT2><PL><PS12><AC>This is an example of using <BO>boldface <PL>type for emphasis.
The typographic arguments are described as follows:

<FTn> Specifies the font by its number in the FONTS command. 
Example: <FT1> sets font to the first font defined in the FONTS command.

<PSn> Specifies font size in points. 
Example: <PS18.5> sets font size to 18.5 points.

<PL><BO><IT>Specifies typestyle as plain, bold, and italic, respectively. 
Example: <PL> sets typestyle to plain.

<LSn><GSn>
Specifies line spacing and paragraph spacing, respectively, in points. 
Example: <LS12.5><GS14> sets line spacing to 12.5 points and paragraph spacing to 14 points.

<PIn><LIn><RIn>Specifies paragraph, left, and right indents, respectively, in the current units of measurement. 
Example: <PI.25> sets paragraph indent to .25 inches, assuming inches are the current units of measurement.

<AL><AR><AC><AJ><AF>Specifies alignment as left, right, centered, justified, or full-justified. Example: <AJ> sets alignment to justified.

<SUn><SDn><BL>Specifies baseline shift up or down in points. <BL> specifies the normal baseline. 
Example: <SU6> sets baseline shift up six points. 
Example: <SD8> sets baseline shift down eight points.

<KOn><KX>Specifies manual kerning in ems. <KX> turns kerning off. 
Example: <KO.05> sets kerning at .05 ems.

<AKO><AKX>Specifies auto kerning as either on or off.
Example: <AKO> sets auto kerning to on.

<TROn><TRX>Specifies manual tracking in ems. <TRX> turns tracking off. 
Example: <TRO.05> sets tracking at .05 ems.

<ATOn><ATX>Specifies auto tracking as on, where "n" is either 1, 2, or 3, depending on the desired Sahafi auto tracking level. <ATX> turns auto tracking off. 
Example: <ATO2> sets auto tracking to Level 2.

<WSOn><WSX>Specifies word spacing in percentages. <WSX> sets word spacing to 100%. Example: <WSO80> sets word spacing to 80%.

<LSOn><LSX>Specifies letter spacing in ems. <LSX> turns letter spacing off. 
Example: <LSO.05> sets letter spacing to .05 ems.

<CLOn><CLX>Specifies the color of the text, where "n" is a number representing one of eight colors: 60=black, 61=white, 62=red, 63=green, 64=blue, 65=cyan, 66=magenta, 67=yellow. Be sure to enter the number for the color, and not the color name, as you do for PENCOLOR or FILLCOLOR.

<CLX> sets the text color to black. 
Example: <CLO62> sets the text color to red.

<HYO><HYX>Specifies hyphenation as on or off, respectively. 
Example: <HYO> sets hyphenation on.

<TBn,indent[,measure][,alignment][,leader][,decimal position]>Specifies tab setting, where "n" is the column number of the tab. Indent is the only required argument, and is specified as a number. Measure, or column width, is specified as a number. Alignment is specified by a letter, as follows: "l" for left, "r" for right, "c" for center,"j" for justified, and "d" for decimal. The leader argument is specified with the character you want to use as a tab leader, such as a period, and decimal position is specified as a number. The sample commands below show how to specify tabs for a variety of situations. 
Example: <TB1,.5,1,r,.> sets one tab at .5 inches, with a measure of 1 inch, right-aligned, and using a period as a leader character.

Example:<TB1,1,1.5,l><TB2,3,1.5,l><TB3,6.5,1.5,d,.,2>Sets three tabs on a line. The first tab has an indent of 1 inch and a measure of 1.5 inches, and is left-aligned. The second tab on the line is indented 3 inches from the left margin, has a measure of 1.5 inches, and is left-aligned. The third tab on the line is indented 6.5 inches from the left margin, has a measure of 1.5 inches, is a decimal tab, is preceded by a period leader, and has two decimal places.

<style name>Assigns the named style to the text following this argument in the TEXTBLOCK command. 
Example: {TEXTBLOCK=.5,.5,2.5,7.5,:<body text>This is a test of ReadyScript.} creates a text block starting .5 inches from the left side of the page and .5 from the top. The block is 2.5 inches wide and 7.5 inches deep. The text "This is a test of ReadyScript." is placed in the text block using the typographic specifications set for the body text style in a preceding STYLE command.