Math in Office 2020—

murrays

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.

0 comments

Leave a comment