-
MathType
-
WirisQuizzes
-
LearningLemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Equations are scrambled in Microsoft Visio
Reading time: 2minTechNote 160
Applicability
| The information on this page applies to: |
| MathType 7 for Windows |
| Microsoft Visio |
Issue
You're using Microsoft Visio and have added several equations to your diagram. The equations looked fine when you left for the day, but the equations were scrambled when you booted up the computer the next day. It looks like this (click links for full-sized views; use your browser's Back button to return here)…

Original (full-sized screenshot)

Scrambled (full-sized screenshot)
Reason
This issue is caused by a bug in Visio, but you can use certain techniques to prevent your equations from becoming scrambled. The good news is, even after they've been scrambled, they can still be recovered. It just has to be done one equation at a time.
Best practices for using MathType with Visio
Although this is a bug in Visio, we know how to minimize its effects on you and your files.
-
Inserting equations. Use one of these two techniques to get equations into Visio:
- Use Insert > Object in Visio, and select MathType 7.X Equation from the list. After you create the equation, don't use copy & paste to get it into Visio. Close MathType 7 by clicking the red X in the upper right corner of the MathType 7 window. Or…
- Open MathType 7 from the Windows Start menu. Create the equation, select it, then cut & paste it into Visio. Leave MathType 7 open for your next equation.
- Sizing equations. Don't click and drag the corners to resize equations. In MathType 7, use the Size > Define command to set the equation size to match your Visio diagram.
- Don't copy & paste equations within Visio. We don't recommend this because while it may not appear to cause problems initially, we have seen cases where it will cause problems later. These problems are such that the only recovery is to recreate the equation, so it's best to insert equations as described in step 1 above.
-
Editing equations. We've determined that this can cause scrambled equations like those shown above. Using the techniques here, you can keep this from happening, but you can recover without creating the equation again if it does happen.
- If you insert equations as described above and never edit them, we don't believe the equations will ever scramble.
- If you insert an equation and edit it (by double-clicking) before closing the document, it should not cause any problems.
- If you have closed and reopened the document, you need to edit an equation. If you double-click it to edit, close and reopen the document, the equation will be scrambled. However, the equation is still valid. Cut the equation (Ctrl+X is a convenient way), open MathType 7, paste the equation into it, make any necessary edits, then insert it into Visio using one of the recommended methods in step 1. The equation will be unscrambled.
- Do not double-click an equation to edit it. This is the best advice we can give. As described in step 4b above, this can work if the conditions are right. To avoid scrambling, we strongly recommend always using the cut & paste method: cut the equation from Visio, paste it into MathType 7, edit if needed, and insert it back into Visio. By doing this, we believe the equations will never be scrambled.
Reporting this issue to Microsoft
This is Microsoft's bug, and only Microsoft can fix it. Many people believe that since Wiris and Microsoft are both software companies, we must have a more direct line for reporting bugs. The truth is, that is not the case. Microsoft listens to you, the customer because that's where their money comes from. The best way to get this bug fixed is for many customers to report it. We have made it easy for you to do so. Microsoft has a Visio Suggestion Box, and when a suggestion has five votes, they respond to it. You can speed up the process of Microsoft's action by voting on the suggestion we have posted to the suggestion box.
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.