To ensure that equations in Word are displayed in "Professional" format rather than switching to "Linear" format, you can use the following methods:
- Using the BuildUp Method: If you have already created an equation and it appears in linear format, you can convert it back to professional format by using the
BuildUpmethod. This method is part of the Microsoft.Office.Interop.Word namespace and is designed to convert equations to a professional format.public void BuildUp(); - Preventing Automatic Switching: Unfortunately, there is no direct way to permanently set all equations to professional format for the entire document. However, you can manually convert each equation to professional format using the right-click context menu or by using the
BuildUpmethod after editing. - Using the Linearize Method: If you need to switch back to linear format for any reason, you can use the
Linearizemethod, which converts an equation into a linear format.public void Linearize();
While there is no option to set the default format for all equations in a document, using the BuildUp method after creating or editing an equation is the best way to ensure it appears in professional format.
References: