Sub/superscripts get lost in cross-referenced text

%3CLINGO-SUB%20id%3D%22lingo-sub-3397690%22%20slang%3D%22en-US%22%3ESub%2Fsuperscripts%20get%20lost%20in%20cross-referenced%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3397690%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20creating%20cross-references%20to%20bookmarked%20text%20containing%20superscripts%20or%20subscripts%2C%20the%20super%2Fsubscripts%20revert%20to%20regular%20text.%20For%20example%2C%20X%20to%20the%20Y%20power%20becomes%20XY.%20Is%20there%20a%20workaround%3F%20MERGEFORMAT%20and%20CHARFORMAT%20don't%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3397690%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ebookmark%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ecross-reference%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esubscript%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESuperscript%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWord%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3398124%22%20slang%3D%22en-US%22%3ERe%3A%20Sub%2Fsuperscripts%20get%20lost%20in%20cross-referenced%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3398124%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1325140%22%20target%3D%22_blank%22%3E%40YD_Forums%3C%2FA%3E%26nbsp%3BThe%20second%20instance%20of%20xy%20in%20the%20first%20screen%20shot%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Doug_Robbins_Word_MVP_0-1652948244947.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373104iB7A2E75806C8F520%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Doug_Robbins_Word_MVP_0-1652948244947.png%22%20alt%3D%22Doug_Robbins_Word_MVP_0-1652948244947.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Eis%20as%20indicated%20by%20the%20second%20screen%20shot%20a%20cross%20reference%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Doug_Robbins_Word_MVP_1-1652948309675.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373105iB9E8F896D8C88F32%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Doug_Robbins_Word_MVP_1-1652948309675.png%22%20alt%3D%22Doug_Robbins_Word_MVP_1-1652948309675.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20can%20upload%20a%20copy%20of%20your%20document%2C%20I%20will%20investigate%20the%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3399540%22%20slang%3D%22en-US%22%3ERe%3A%20Sub%2Fsuperscripts%20get%20lost%20in%20cross-referenced%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3399540%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1325140%22%20target%3D%22_blank%22%3E%40YD_Forums%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERemove%20both%20%5C*%20CHARFORMAT%20and%20%5C*%20MERGEFORMAT%20from%20the%20cross-reference%20field.%20See%20Doug's%20screen%20shot%20of%20the%20field%20code.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3410562%22%20slang%3D%22en-US%22%3ERe%3A%20Sub%2Fsuperscripts%20get%20lost%20in%20cross-referenced%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3410562%22%20slang%3D%22en-US%22%3EThanks%2C%20I%20finally%20figured%20that%20out.%20For%20some%20reason%20word%20automatically%20inserted%20the%20%5C*%20MERGEFORMAT%20switch%20and%20it%20took%20me%20a%20while%20to%20realize%20that%20was%20the%20problem.%20I%20have%20yet%20to%20understand%20why%20Word%20sometimes%20inserts%20it%20automatically%20and%20other%20time%20does%20not.%20do%20you%20know%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3410613%22%20slang%3D%22en-US%22%3ERe%3A%20Sub%2Fsuperscripts%20get%20lost%20in%20cross-referenced%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3410613%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1325140%22%20target%3D%22_blank%22%3E%40YD_Forums%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20cross-reference%20is%20inserted%20via%20the%20Cross-reference%20dialog%2C%20Word%20will%20not%20add%20the%20%5C*%20MERGEFORMAT%20switch.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20it%20is%20inserted%20via%20the%20Insert%20Fields%20dialog%2C%20the%20%5C*%20MERGEFORMAT%20switch%20will%20be%20added%20if%20the%20box%20for%20%22Preserve%20formatting%20during%20updates%22%20is%20checked.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Doug_Robbins_Word_MVP_0-1653202450942.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F373926i1F4C7962BD877225%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Doug_Robbins_Word_MVP_0-1653202450942.png%22%20alt%3D%22Doug_Robbins_Word_MVP_0-1653202450942.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20would%20think%20that%20it%20would%20be%20the%20formatting%20of%20the%20referenced%20item%20that%20would%20be%20preserved%2C%20but%20for%20some%20perverse%20reason%2C%20that%20is%20not%20the%20case.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3413415%22%20slang%3D%22en-US%22%3ERe%3A%20Sub%2Fsuperscripts%20get%20lost%20in%20cross-referenced%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3413415%22%20slang%3D%22en-US%22%3EThe%20ways%20of%20MS%20are%20mysterious%2C%20but%20they%20keep%20us%20on%20our%20toes.%3C%2FLINGO-BODY%3E
New Contributor

When creating cross-references to bookmarked text containing superscripts or subscripts, the super/subscripts revert to regular text. For example, X to the Y power becomes XY. Is there a workaround? MERGEFORMAT and CHARFORMAT don't help.

5 Replies

@YD_Forums The second instance of xy in the first screen shot,

Doug_Robbins_Word_MVP_0-1652948244947.png

is as indicated by the second screen shot a cross reference

Doug_Robbins_Word_MVP_1-1652948309675.png

If you can upload a copy of your document, I will investigate the issue.

 

@YD_Forums 

 

Remove both \* CHARFORMAT and \* MERGEFORMAT from the cross-reference field. See Doug's screen shot of the field code.

Thanks, I finally figured that out. For some reason word automatically inserted the \* MERGEFORMAT switch and it took me a while to realize that was the problem. I have yet to understand why Word sometimes inserts it automatically and other time does not. do you know?

@YD_Forums 

If the cross-reference is inserted via the Cross-reference dialog, Word will not add the \* MERGEFORMAT switch.

 

If it is inserted via the Insert Fields dialog, the \* MERGEFORMAT switch will be added if the box for "Preserve formatting during updates" is checked.

 

Doug_Robbins_Word_MVP_0-1653202450942.png

 

One would think that it would be the formatting of the referenced item that would be preserved, but for some perverse reason, that is not the case.

 

The ways of MS are mysterious, but they keep us on our toes.