Wiris

Documentation / MathType

  • Demos
  • Visit our website
  • Downloads
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • MathType
                      • Troubleshooting & FAQs
                      • Display and rendering

                      Display equations and equation numbers are out of position after re-configuring document

                      Reading time: 3min

                      TechNote 158

                      Applicability

                      The information on this page applies to:
                      MathType for Windows
                      MathType for Mac

                      Microsoft Word for Windows

                      Microsoft Word for Mac

                       

                       

                       

                       

                      Issue

                      Several scenarios could result in this issue. Here are two examples:

                      1. You originally had a document configured for a 2-column layout and subsequently changed it to a 1-column layout. You noticed after the change the display equations are no longer centered, and the equation numbers that had been nicely aligned at the right margin are now positioned far inside the right margin.
                      2. After writing an article configured for U.S. letter-sized paper (8½x11 inches), you remember that since your colleagues are located in Europe, their style guide requires A4 paper (210x297mm -- approximately 8.3x11.7 inches). After changing your document layout to A4, you notice all the equation numbers are positioned beyond the right margin, and the display equations aren't centered.

                      Reason

                      Equation numbers are formatted, and the numbers and equations are both positioned with style named MTDisplayEquation. The specifications of this style's formatting are determined when you insert the first display equation into the document, whether the equation is numbered or not. Display equations are centered with a tab set halfway between left and right margins. Right-justified equation numbers are positioned at the right margin with a right-justified tab. Therefore, making any change that affects margin settings -- such as in the two examples above -- will prevent display equations from being centered and equation numbers to no longer be positioned at the right (or left) margin.

                      Solution

                      To resolve this issue, it's necessary first to locate the MTDisplayEquation style, then to modify it.

                      Locating the MTDisplayEquation Style

                      1. The MTDisplayEquation style is not included by default on Word's Style Gallery, nor does it exist before you insert a display equation into the current document. (If you're using Word for Mac, skip to step 3.)
                      2. To find the MTDisplayEquation style on Windows, click the dialog launcher at the lower corner of the Styles group of the Home tab:tsn158-dialog-launcher.gif . When you do that, you'll see the MTDisplayEquation style at or near the top of the Styles panel (screenshot on left below). If you hover the mouse over that style, you'll see a summary of the style definition. (You may also visit the MTEquationSection style; we recommend leaving that one alone.) Skip to the next section.
                      3. If you're using Word 2011 on Mac, click the Manage styles icon on Word's Home tabtsn158-manage-styles.gif: . If you're using Word 2016 on Mac, click the Styles Pane button on Word's Home tab:tsn158-styles-pane-button.gif . When you do that, you'll see the MTDisplayEquation style at or near the top of the Styles panel (screenshot on the right below). If you hover the mouse over that style, you'll see a summary of the style definition. (You may also visit the MTEquationSection style; we recommend leaving that one alone.)

                      tsn158-styles-pane-windows.png

                      Styles pane in Word 2016 for Windows. Similar appearance in other versions of Word for Windows.

                      tsn158-styles-pane-mac.png

                      Styles pane in Word 2016 for Mac.

                      Modifying the MTDisplayEquation Style

                      As we mentioned earlier, MathType 7 controls the positioning of display equations and their equation numbers with tabs. Here's how to change the tab settings…

                      1. Click the downward-pointing triangle to the right of the MTDisplayEquation label, then Modify ("Modify Style..." on the Mac), and you'll be able to modify the style definition. You can also choose whether you want to apply specific fonts and styling to the equation numbers within your document. Note that any styling changes (fonts, colour, etc.) will affect only the equation numbers. The equation itself is not affected, nor are equation references.
                      2. Click the Format button in the lower left of the Modify Styles dialog, and select Tabs.
                      3. Adjust the tab settings to account for your new margin settings or column layout.
                        For example, let's say you're using U.S. Letter size paper (8½x11"), and your margins are set to 1" left and right in a 1-column document. Now you decide to switch to a 2-column layout with the standard spacing between columns (0.5"). When you open the Tabs dialog as described in step 3, you'll see the tabs are set for a Center tab at 3.25" and a Right tab at 6.5". Click Clear All to remove existing tab settings. The width of the new columns is 3", so type 1.5" in the entry box, click the Center radio button, and click Set. Follow the same process to set a Right tab at 3".
                      4. Subsequent display equations and equation numbers will follow the tab settings you defined in step 3. Note that these settings will apply to this document only unless you click the radio button labelled New documents based on this template (Add to template on the Mac) before clicking OK in the Modify Style dialog. Note also that depending on your Word Options, when you close Word, you may be prompted with a message such as "Changes were made to the normal template, Normal.dotm. Would you like to save the changes to this template?" You must answer Yes to this question, or you'll have to go through this process again.

                      We hope this has been helpful. As always, please let us know if you have questions about this or if you have additional techniques that work. We'd love to hear from you.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Can't group MathType equations with Microsoft Word drawings
                      • Display equation and equation number not in correct position after copy and paste
                      • Equations are displayed as { EMBED.Equation } in Microsoft Word
                      • Equations are displayed as empty or shaded boxes in Microsoft Word
                      • Equations are printed with characters omitted, clipped, or substituted

                      Display equations and equation numbers are out of position after re-configuring document

                      TechNote 158 Applicability Issue Reason Solution Locating the MTDisplayEquation Style Modifying the MTDisplayEquation Style

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand