![]() |
Training Module: Styles |
The information in this document applies to:
WordPerfect® 6.0 for DOS
Problem
Solutions: Styles Styles were an advanced feature in WordPerfect 5.1 that most people were a little afraid to explore. In WordPerfect 6.0, Styles have been made both less intimidating and more powerful. Styles are used much more extensively in WP 6.0 than in WP 5.1, and so understanding them will be more important to you. Application If you turn on Reveal Codes (View|Reveal Codes), you can see that your document starts with [Open Style:Initial Codes]. (You will also notice this code cannot be deleted.) Think of a style as being something like a macro; basically, macros automatically type in often-used keystroke patterns for you. Styles automatically insert often-used formatting combinations in your document. Suppose you often put a heading in your documents that is Centered, Extra Large, Bolded, and Underlined. Instead of having to enter each of those formatting codes each time you create your heading, you can create a style, and enter just a single code that includes all those options. Styles can contain hidden codes, text, and even graphics boxes. Just about anything you can put in a document, you can put in a style. Application Select Layout|Styles. This will show you the Style List. Select Create and name your new style MyHeading. Don't worry about changing the Type, Paragraph is fine. Choose OK, and you will be in the Style Edit menu. You can now add a Description to your style, but you don't have to. Select Style Contents, and you are now ready to begin creating your style. Press Shift+F6 to create a [Center on Margin] code. Select Font|Font and then Appearance|Bold, Appearance|Underline, and Relative Size|Extra Large; then select OK, and you will be put back to the Style Edit screen. Press F7 to exit Style Contents. Notice that you didn't have to enter any codes to turn off Bold/Underline/Extra Large in your style. WordPerfect automatically sets things in your document back to the way they were before the style started when your style ends. How things reset varies with the Type of style you are working with. There are three basic Style Types in WordPerfect 6.0: Open Styles, Paragraph Styles, and Character Styles. (For users familiar with how Styles worked in WP 5.1, Character Styles are like Paired Styles; Paragraph Styles are new.) A Paragraph Style applies itself to a whole paragraph. Your cursor can be anywhere in the paragraph when you turn the style on. A Paragraph Style will know to put its On code at the beginning of the paragraph (after the first Hard Return above your cursor position), and its Off code at the end of the paragraph (at the next Hard Return down in your document). A Character Style can be applied to any block of text that you select. If you turn on a Character Style while you have text blocked, the On code will be put at the start of the block and the Off code at the end. If you don't have a block selected when you turn on a Character Style, the On and Off codes will be put right next to each other in your document. You can then type text (or move text) between them. An Open Style doesn't turn Off at all; it turns On where selected, and stays On for the rest of your document. But you can still override the settings in an Open Style later in your document if you want to. Code combinations that you would often enter at the very top of your document are good candidates for an Open Style. Application Before leaving the Style Edit menu, the last thing to check in creating your style is the Enter Key Action, which gives you several options for telling WordPerfect when and how you want your style to turn off. Set MyHeading to Turn Style Off, and choose OK to go back to your Style List. When you create a style in a document, it is saved only as part of the document. If the document is erased, so is the style. Therefore, if the style you have created is one you may wish to use in other documents, you should copy it to a permanent Style Library. You should save this new style to your Library. Application Select Copy from the Style List menu, and copy the style you have just created into your Personal Library. (If Personal Library is not selectable from the Copy menu, you may need to go into File|Setup|Location of Files and define a Personal Style Library.) Close the Style List. You are now ready to use your style. You may want to have Reveal Codes on so you can see what is happening "under the hood" in your document. Application Select Layout|Styles and highlight MyHeading. Press Enter to select MyHeading. Type "Styles Make Life Much Easier!" for your heading and press Enter. Your heading is now Centered, Bold, Underlined, and Extra Large, and you are ready to start typing in regular text. WordPerfect automatically turned the style off for you when you pressed Enter because you chose Turn Style Off as your Enter Key Action. (You may want to use File|Print Preview at this point to see more closely how the style will look when printed. Press F7 to Exit when done viewing.) Now, press Enter a couple of times, and type in the same text: "Styles Make Life Much Easier!" This text looks normal--you haven't turned your style on yet. Press the Left Arrow and cursor back to anywhere into the middle of the line. Select Layout|Styles and turn your style on. The style will apply itself correctly to your heading the same as before. Save this document as STYLES.HDR (File|Save), and clear your screen (F7, N, N). STYLES.HDR will be needed again later. WordPerfect 6.0 Styles are true Library Styles. This means that you can change the styles in all your documents at once, just by changing the styles in your Library. Application Suppose you decide that the Underline in MyHeading doesn't look that good, and you want to get rid of it. But you've used MyHeading in a lot of documents, and you don't want to go back and change each one individually. Select Layout|Styles|Personal Library. Highlight MyHeader, and select Edit. You should now be back to the familiar Style Edit menu. Select Style Contents, and use your cursor arrows to highlight the [Underline On] code. Delete the code. Press F7 until you are back to the normal text entry screen. Now let's take another look at STYLES.HDR. Select File|Open and type in STYLES.HDR. The underline is gone (you can check in Print Preview if necessary), and you only had to edit the style, not the document. NOTE: If you don't want a Style to automatically update in a document, you can change its name or description slightly in the document, and it will no longer be recognized as being the Library Style. In WordPerfect 5.1, the first time you used any style in a document, all the styles in Library became part of the document, whether they were used or not. This made the size of the document file larger than it needed to be, and would require deletion one by one of the unneeded styles if document size was a problem for the user. In WordPerfect 6.0, you can delete unwanted styles from a document and you can copy Styles from a Library to a document. You can choose several styles at once to be simultaneously deleted or copied by using the Mark feature on the Style List. NOTE: The "None" Style cannot be deleted--it's not really a style in the same sense as others on the list. Also, Headings 1, 2, and 3 are System Styles; you can delete them, but they will come back. They are permanent Styles internal to WordPerfect. Application If you would like to see a more complete list of WordPerfect's System Styles, from the Style List, choose Options and mark List System Styles. Normally, only a small subset of all the System Styles are displayed for you. You can now insert [Comment]s in Styles. In previous versions of WordPerfect, because of the way [Comment] codes worked in Paired (Character) Styles, users were not allowed to insert their own [Comment] codes in a style. [Comment]s can be useful as reminders or hints for people who might use the style in the future. For example, let's change the MyHeader Style so it has a Comment reminding users that it no longer underlines. Application Select Layout|Styles|Personal Library. Highlight MyHeader, and select Edit|Style Contents. Select Layout|Comment|Create and type in "Underline has been deleted from the MyHeading Style." Press F7 until you are back to the normal text editing screen. Retrieve STYLES.HDR again, and you will see your Comment. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |