You need to type the following formula:

enter image description here

In standard formulas there is a sum, product, intersection and union sign, but there is no empty template for inserting your character.

If you try to use a macro, where 8853 is the xor symbol for the Cambria Math set (standard font in formulas):

 With Selection.OMaths(1).Functions.Add(Selection.Range, _ wdOMathFunctionNary) .Nary.Char = 8853 .Nary.Grow = False .Nary.SubSupLim = False .Nary.HideSub = False .Nary.HideSup = False End With 

I get the following message:

enter image description here

Is it possible to somehow get around this obstacle and type the same formula without inserting it as a picture?

    1 answer 1

    Alternatively, you can use the matrix: enter image description here

    Add the desired character to the middle placeholder: enter image description here

    To the top: enter image description here

    To the bottom: enter image description here

    On the right, add: enter image description here

    Next, fill in the extra placeholders to enter spaces and the middle sign to align with spaces: enter image description here

    Do these operations while recording a macro and, based on the results of its analysis, you will understand how to do it programmatically.