TITL (Draw a title block)

The TITL command plots a title block. The title block is a rectangular block that is divided horizontally into 4 optional areas in which text can be written. The text areas are referred to as, from top to bottom, A,B,C,and D.

Each line of text is defined in a separate sub-command line. The width of the block can be specified by the user and the height is dependent upon the text heights and number of text lines that are included.

Command Syntax:

TITL refp,xoff,yoff,width,bigatt,smlatt,area,"text"

just,att,height,width,space,slant,font 

Command Parameters:

refp

Reference point (1 - 9) from which to refer the following offsets. (Default is reference point 1.)

xoff,yoff

Offset location in map units at which to place the title block relative to the reference point. The default is to place the appropriate title block corner at the specified reference point.

width

Title block width in map units. The default is 12 cm.

bigatt

Larger attribute to use for title block surround and titles in area B. The default is :kt300

smlatt

Finer attribute to use for line separator between areas B and C, and all text other than titles. The default is :kt150.

Sub-Command Lines:

Text lines must be entered consecutively from top to bottom. White space can be controlled by entering blank lines of appropriate text height.

area

Text area (A,B,C or D) in which to place text. (No Default)

"text"

Text to plot surrounded by quotes.

just

specifies text position in text window:

 

-1

left justified

 

0

centered (Default)

 

1

right justified

 

Base line justification is not supported in the title block.

att

Attribute to use for text. The defaults are smlatt for areas A,C and D, and bigatt for area B.

height

Text height. Space actually occupied by text is 1.1 times as large as height. (Default heights are 0.6 cm. for areas A,B and D, and 0.4 cm. for area C.)

width

Text character width. The character width will be reduced if the text string is too long to fit. The default is the character height.

space

Spacing of characters in cm. (Default is the character width.)

slant

Slant of the characters in degrees from vertical. The default is the last slant specified.

font

Text font (default is current font). Refer to the FONT command for descriptions of the available fonts.

Example
MDFF m1

SURR

TITL 3,0,0

a,"Client Name" 

b,"Map Title" 

b,"Sub-Title" 

c,"descriptive text" 

c,"more descriptive text" 

d,"Company Name" 

Draws a title block in the bottom right corner of the map.

  • This command is part of the MAPPLOT GX.