Top Navigational Bar

Superscripting And Subscripting on Left Side
DocumentID: 653110
Revision Date: 29-Feb-96 8:29:21 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: A customer was trying to produce a periodic table of the elements in WordPerfect. In a periodic table, the weight value is superscripted and the atomic mass is subscripted, both on the left side of the element symbol. In WP, superscripts and subscripts cannot be both placed on the same side of a character. After experimenting, he was able to accomplish the desired effect by using Advance codes. The following example works when using a Courier 10 cpi font:

[SUPERSCRIPT]238[superscript]U[AdvtoPos:1.05"][SUBSCRIPT]92[AdvtoPos:1.25"]

With other fonts the customer would need to experiment with the advance values. The advance to position values would need to be modified depending on where on the line of text the characters need to appear.

You can also achieve this same effect by using the Equation Editor. Create the equation with a character anchor type (or use the INLINE macro). The syntax in the equation editing screen would be as follows: FUNC {\ SUB Y SUP X Z}. This would subscript the Y and superscript the X on the left side of the Z. The FUNC command prevents the variables from being italicized, and the backslash is basically a null character. The major disadvantage of this method is that you would not see the contents of the equation box on the editing screen.

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.