September 24th, 2020

Math in Office 2020—

Murray Sargent
Principal Software Engineer

My MSDN Math in Office blog posts (2006—2019) have been archived since June, 2019 and the blog was retired. Welcome to the new home for Math in Office! There’s lots of news about both the RichEdit editor and OfficeMath, so exciting posts are forthcoming.

To start things off, OfficeMath is enabled in the RichEdit housed in the Windows 10 Version-2004 msftedit.dll! It was also enabled back in the Windows Beta of July 2012, but it was disabled in the official Windows 8 release ☹. In contrast, the Microsoft Office RichEdit’s have had math support since Office 2007 as documented in various Math in Office posts.

The first client of the Windows RichEdit math functionality is the Graphing option of the 2020 Windows Calculator app, which will be featured in an upcoming post. If you cannot wait for the post, start the Calculator (Windows key and type in Calc), go to its menu, and select Graphing. You can type in one or more equations using UnicodeMath and graph them! There’s also a description of the Graphing option in this post. You can graph equations in a similar fashion inside OneNote as described in the post OneNote Math Assistant.

The msftedit.dll OfficeMath facility is disabled by default. To enable it, send an EM_SETEDITSTYLEEX message with wparam = 0 (turns off the no-math flag) and lparam = SES_EX_NOMATH.

Author

Murray Sargent
Principal Software Engineer

Yale BS, MS, PhD in theoretical physics. Worked 22 years in laser theory & applications first at Bell Labs and then Professor of Optical Sciences, University of Arizona. Worked on technical word processing, writing the first math display program (1969) and the technical word processor PS (1980s). Developed the SST debugger we used to get Windows 2.0 running in protected mode thereby eliminating the 640KB DOS barrier (1988). Have more than 100 refereed publications, 3 laser-physics books, 4 ...

More about author

0 comments

Discussion are closed.