Murray Sargent: Math in Office

I'm a software development engineer in Microsoft Office and have been working mostly on the RichEdit editor since 1994. In this blog I focus on mathematics in Office along with some posts on RichEdit and the early Windows days

  • Murray Sargent: Math in Office

    Saving Windows from the OS/2 Bulldozer

    • 14 Comments
    In my blog description, I promised to write occasionally about the early Windows days. So here's a post on how David Weise and I got Windows 2.0 into protected mode and blew away the old DOS 640 KB RAM barrier. If this hadn't happened, we'd probably be...
  • Murray Sargent: Math in Office

    Subscript and Superscript Bases

    • 2 Comments
    For proper math typography, it’s important to know the base of a subscript or superscript expression. For example, in Einstein’s equation E = mc 2 , the superscript expression c 2 appears and c is the base, not mc . Knowing what the base is allows proper...
  • Murray Sargent: Math in Office

    Keyboard Operator Shortcuts

    • 5 Comments
    The previous post introduces Hermann Klinke’s math input notation, which he developed to speed up entry of equations for real-time note taking in OneNote. The post is followed by a very interesting set of comments comparing high-speed, and yet easy...
  • Murray Sargent: Math in Office

    RichEdit’s Nested Table Facility

    • 20 Comments
    One subject that seems to come up every other month or so is how RichEdit tables work. So I might as well post the answer. Hopefully RichEdit tables will eventually be described in the Windows SDK. They are not directly related to Math in Office, but...
  • Murray Sargent: Math in Office

    Cool Equation Number Macros for Word 2007

    • 3 Comments
    Dong Yu of Microsoft's Speech Research Group reports: "Office 2007 comes with a very nice equation editor and bibliography manager. However, it does not support equation number management. To work around this problem. I have developed a set of macros...
  • Murray Sargent: Math in Office

    The Math Paragraph

    • 6 Comments
    The earlier post Breaking Equations into Multiple Lines describes equation line breaking and alignment. In particular, l ong equations often do not fit on a single line and need to be broken up for display on multiple lines. Word 2007 offers two approaches...
  • Murray Sargent: Math in Office

    Ligatures, Clusters, Combining Marks and Variation Sequences

    • 2 Comments
    On the surface, Unicode appears to be a just large collection of characters. But before Unicode text is displayed, substantial “shaping” can occur. This shaping is the process of mapping the Unicode characters to glyphs and placing them correctly...
  • Murray Sargent: Math in Office

    Math Handwriting Recognition

    • 7 Comments
    Starting with Windows 7, Windows includes a cool applet called the Math Input Panel . This applet lets you enter mathematical text using a pen or a mouse. It recognizes what you enter and displays the result using a special private version of RichEdit...
  • Murray Sargent: Math in Office

    Equation Numbering Prototype

    • 14 Comments
    When writing the Math in Office 2010 post back in July, I could just imagine the disappointment various people would have when they discovered no mention of equation numbering. After getting math into PowerPoint, equation numbering had been the most often...
  • Murray Sargent: Math in Office

    Math Find/Replace and Rich Text Searches

    • 12 Comments
    A number of readers have inquired how to Find/Replace mathematical expressions in Word 2007. This post shows how it could be done nicely, although unfortunately this functionality didn’t make it into Word 2007. A previous post shows how to find...
  • Murray Sargent: Math in Office

    STIX Beta Fonts

    • 7 Comments
    The STIX folks (Scientific and Technical Information eXchange) folks have a beta version of their math font. There are more math characters in the STIX fonts than in Cambria Math. The primary typeface is Times Roman. This post describes how you can examine...
  • Murray Sargent: Math in Office

    Using Math Italic and Bold in Word 2007

    • 3 Comments
    Mathematical variables represented by Latin and lower-case Greek letters are usually displayed in italic. Vectors are often displayed in upright boldface. Word 2007 allows the user to control and change these choices with the italic and bold formatting...
  • Murray Sargent: Math in Office

    Special Capabilities of a Math Font

    • 4 Comments
    A fairly common inquiry is how a program can use and access the many special glyph variants of a math font. It’s clearly a much more intricate interaction than encountered in most text applications. This post outlines how the Office math layout software...
  • Murray Sargent: Math in Office

    RichEdit 8.0 Preview

    • 13 Comments
    There’s been a lot of buzz about the Windows 8 Consumer Preview and it is really exciting. One particularly exciting thing missing in the buzz is that Windows 8 contains a new RichEdit! Since the new version is now publically documented on MSDN...
  • Murray Sargent: Math in Office

    Automatic RichEdit Hyperlinks

    • 7 Comments
    RichEdit has two kinds of hyperlinks, automatic hyperlinks (autoURLs) and friendly name hyperlinks. As its name suggests, the autoURL is automatically recognized by RichEdit as a hyperlink and is displayed as a URL. A friendly name hyperlink has a name...
  • Murray Sargent: Math in Office

    Using Left/Right Arrow Keys in Mathematical Text

    • 7 Comments
    Paul Libbrecht commented that there’s more to selection in math text than discussed in my first post on this subject. As usual, Paul is right. That post explains how one or more characters and/or math objects are selected. In addition the topic...
  • Murray Sargent: Math in Office

    Extracting OMML from Word 2003 Math Zone Images

    • 2 Comments
    The science and technology publishing industry uses Word 2003 in processing a significant portion of manuscript submissions. The industry hasn’t yet been able to accept manuscripts in which the mathematical text (math zones) is created using Word 2007...
  • Murray Sargent: Math in Office

    When Formula Autobuildup Occurs

    • 4 Comments
    People, especially testers, often ask when does formula autobuild up (FAB) occur? After using it for a while to enter equations into Word, one gets a feel for how it works, but may still wonder if there’s some well defined way to predict autobuild...
  • Murray Sargent: Math in Office

    RichEdit Versions Update to 7.0

    • 4 Comments
    The original RichEdit Versions post covered RichEdit versions 1.0 through 6.0, since 6.0 was the latest version at the time. RichEdit 7.0 will ship with Office 2010, so here’s an update describing what that version adds. Most additions involve math...
  • Murray Sargent: Math in Office

    Linear Format Notations for Mathematics

    • 9 Comments
    I have been having a great discussion with Christian Lerch about computer-oriented mathematical notations. He has a program that lets you input MathML using a pure ASCII syntax. It is similar to ASCIIMathML . A lightly commented EBNF grammar of his MathEL...
  • Murray Sargent: Math in Office

    Getting Word 2007 Technical Files into Publisher Pipelines

    • 8 Comments
    Nature, Science and other publishers have robust ways of converting Word 2003 documents with embedded Equation Editor and MathType objects into the XML representation they use for publication. Notably MathType can export mathematical equations as MathML...
  • Murray Sargent: Math in Office

    RichEdit Font Binding

    • 0 Comments
    Suppose a user pastes some plain text into a document. In principle, that text can contain any Unicode character. That includes virtually all characters used in the current languages of the world along with many from ancient scripts and a plethora of...
  • Murray Sargent: Math in Office

    High Fonts and Math Fonts

    • 14 Comments
    Math fonts differ from other fonts not only in their extensive coverage of math operators, symbols, and math alphanumerics, but also in the large number of glyph variants they have to support two sizes of sub/superscripts and many sizes of stretchable...
  • Murray Sargent: Math in Office

    Office Adopts New Windows Display Technology

    • 19 Comments
    Office 2013 has undergone a substantial shift to a relatively new display facility, Direct2D , and a new text facility, DirectWrite . These are the display facilities that are used on Windows Phone 8, the new Windows RT slates, and optionally on Windows...
  • Murray Sargent: Math in Office

    WordPad Numbering Limit

    • 5 Comments
    In Windows 7, WordPad has undergone many improvements even though it uses RichEdit 4.1+ for editing and display. Time and time again, the excellent Hyderabad team responsible for enhancing the Windows 7 WordPad requested very reasonable extensions to...
Page 2 of 5 (113 items) 12345