# Create mode

Creating a text PostScript file

To do this you simply type in text which will be displayed, with multiple spaces suppressed, formatted in ragged right justification at a text width you can control. Using Editps in Stack mode the text width is adjusted to the width of the collage, but using Editps in Create mode you specify the text width.

The text you supply can be formatted by including formatting commands enclosed in curly brackets. For instance, to force a line break you would use {newline}. To avoid inconvenient font changes, swapping to ISOLatin1Encoding and using octal codes, shortcut commands are supplied for fomatting and printing many of the frequently used letters, such as {alpha}. The formatting commands available to Editps in Stack mode and Create mode will be listed after first dealing with the important subject of the BoundingBox.

The BoundingBox in text mode

For technical reasons, Editps cannot calculate a BoundingBox accurately for text until the formatting has taken effect and the number of actual text lines and their dimensions have been decided. So, if the BoundingBox shown in GSview is innaccurate, there are two actions you can take to obtain an accurate BoundingBox.

If you adjust the text yourself in the edit box so that the number of actual text lines in the edit box is the same as the number of lines in the display after formatting, then the BoundingBox (as calculated from the number of text lines before formatting is done) should be accurate. This is easily achieved using line breaks and {newline} commands if necessary, and does not require the line breaks in the text edit box to be at the same places as line breaks in the displayed text after formatting.

Another way is to create a .ps file and use GSview to make a .eps file from it, since this will always produce an accurate BoundingBox.

If the BoundingBox is not accurate, your word processor will not be able to scale and position the graph accurately, and unwanted clipping may occurr.

Back to Help Menu or End Help