In designing PEP, we have put a great deal of emphasis on flexibility. We have tried as much as possible to divide PEP's functionality into elementary features that you can control independently and combine to accomplish a wide variety of drawing goals. We have tried not to prejudge what your drawing tasks might be, or limit how you might combine PEP's features to accomplish them. But this flexibility carries a cost with it. Sometimes, to accomplish a simple thing it is necessary to change several settings, and the best approach to a given problem is often not obvious at first. In the preceding chapters, we have discussed, one by one, the individual functions that PEP offers. Here we give a few examples of how to use these features, especially in combination, to solve particular problems.
In PEP, centered text is positioned between the left edge (L) and the right edge (R) of the text label box. If you want to produce centered text, first determine the coordinates L and R that you want to center the text between. Insert the text label at the left edge coordinate L. Then, in the MODIFY menu, change the following three properties of the text label. Use the JUSTIFY command <[4.13]> to set the justification to CENTER. Use the BOX command <[4.15]> to set the box mode to FIXED. Finally, use the WIDTH command <[4.16]> set the box width to (R - L), the distance between the left and right edges that you have chosen. <[FIG11]>. If you are inserting several centered labels, you may want to start by setting the justification, box mode, and width in the G-DEFAULTS menu <[10]>. Then you do not to have to modify each text label individually. The use of the words "left" and "right" above assumes that the text is not rotated, but the same principles apply to centering text in any rotation.
Copying material within an object is easy: just use MODIFY/DUPLICATE <[4.2]>. If you are copying several elements, you may want to first use the COLLECT menu <[5]> to group the elements together, rather than copying each element individually. To copy material from one object to another, you need to know a trick. If you want to copy from object A to object B, first use OBJECT/OPEN <[7.1]> to display object A. Then delete the material you want to copy. (If you are copying many elements, you may want to use COLLECT/DELETE <[5.9]> to do this.) Next, open object B for editing, without closing object A. Use UN-DELETE <[3.1]> to insert the deleted material into object B. Because you did not save your changes to object A, this material is now present in both objects. The un-deleted material occupies the same position in object B that it occupies in object A. Use MODIFY/MOVE <[4.1]> if you need to reposition it. If objects A and B are not in the same file, proceed as follows. First, use FILE/LOAD <[8.2]> to load the file containing object B. Then use OBJECT/IMPORT <[7.8]> to copy object A into that file. Now that both objects are in the loaded file, you can use the trick described above to copy the material from A into B. Finally, use OBJECT/ELIMINATE <[7.6]> to remove, from the loaded file, the definition of object A, which you no longer need.
Sometimes you will make changes to your standard configuration of PEP when you are creating a picture. For example, you may install a different collection of fonts, or a different pattern file, or you may change the printer rotation to print sideways (landscape) rather than right side up (portrait). You will probably want to remember these changes in case you need to edit or print that picture again. The easiest way to do this is to create a separate object in that file, giving it the name NOTES. You can then type into that object, as text labels, all the relevant PEP settings, and any other information that you think you might need later when editing or printing the pictures in that file.