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

    Using RichEdit 6.0 for Math

    • 3 Comments
    A number of readers have asked how to use the RichEdit 6.0 shipped with Office 2007 to edit and display mathematical text. This post explains one way to do so. The code assumes that you already have an application that knows how to instantiate a RichEdit...
  • Murray Sargent: Math in Office

    Article/Video on Murray Sargent and Math in Office

    • 3 Comments
    The article Professor's Laser Focus Gets Math into Office tells some of the story behind the Math in Office project. It also gives a link to a video that includes a sequence of me showing how easy it is to type in the binomial theorem. Hope you like it...
  • Murray Sargent: Math in Office

    Default Document Math Properties

    • 2 Comments
    A number of math display properties have document defaults. These are the ones used if you don’t explicitly override them, which you can usually do by invoking a math context-menu option. The properties all pertain to “displayed” math...
  • Murray Sargent: Math in Office

    More on Math Context Menus

    • 2 Comments
    An earlier post describes math context menus (right click somewhere in a math zone) for changing the display characteristics of math objects, like fractions and integrals. For example context menus offer options to convert a stacked fraction into a linear...
  • Murray Sargent: Math in Office

    A neat opportunity...

    • 2 Comments
    Okay, the Math In Office blog isn't about advertising. But just in case you're someone who really likes RichEdit and editing and wants to work on it (as I did and do J ) and related text processing, here's a pretty fine opportunity. If you're not interested...
  • Murray Sargent: Math in Office

    Math Context Menus

    • 2 Comments
    One handy way to edit mathematical text is to use math context menus. These menus are displayed when you depress the right mouse button with the mouse pointing inside a math zone. In addition to the usual Font and Paragraph options, in a math zone you...
  • Murray Sargent: Math in Office

    Updated RTF Specification

    • 2 Comments
    An updated RTF Specification is available for downloading here . I already blogged about the new version in the MS Word blog, but wanted to add a few words about math in Math in Office blog. The RTF specification includes a thorough discussion of the...
  • 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

    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

    Mathematical RTF

    • 2 Comments
    This post discusses the Word 2007 math RTF control words. A good way to understand these control words is to note that they are actually OMML tag names written with RTF syntax. Hence you can refer to the very thorough OMML documentation for more detailed...
  • Murray Sargent: Math in Office

    Office Math RTF and OMML Documentation

    • 2 Comments
    The RTF 2007 specification is now available. Word 2007 added as many control words as Word 2000, XP and 2003 combined ! The .doc spec is 4.4 MB, while the .docx is only 881KB. Admittedly a zipped version of the .doc spec is somewhat smaller than the ...
  • Murray Sargent: Math in Office

    Math Greek Letter Bug Fixed

    • 2 Comments
    When Word 2007 and later versions write an RTF file that includes math alphanumeric symbols (see U+1D400..U+1D7FF ), they convert the symbols back to ASCII or Greek in the BMP (basic multilingual plane) and then write the characters out using the appropriate...
  • Murray Sargent: Math in Office

    Equation Arrays

    • 2 Comments
    One user (Leperkawn) commented "There is basically no documentation on the \eqarray command so I'll post a quick example that I had to figure out from trial and error." Before looking at his interesting example, here's the text in Section 3.19 of the...
  • 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

    Office Insert Symbol Dialog

    • 1 Comments
    This blog post describes a cool insert-symbol facility built into Office applications like Word, PowerPoint, Excel, and Outlook. The facility is handy for locating mathematical symbols as well as other characters. And with the developments in Unicode...
  • Murray Sargent: Math in Office

    Rendering MathML in HTML5

    • 1 Comments
    As you can see in this document , Presentation MathML is part of HTML5. This is very exciting, since HTML5 is becoming the primary new web standard format. You might think that this would automatically make it easy to render MathML in a browser. In fact...
  • Murray Sargent: Math in Office

    MathML on the Windows Clipboard

    • 1 Comments
    Sometimes people enquire how the Windows clipboard works and whether it supports MathML , jpeg , RTF and other formats in addition to built-in formats like CF_BITMAP and CF_UNICODETEXT that are defined in winuser.h. The answer to the second question is...
  • Murray Sargent: Math in Office

    RichEdit 8.0 Accessibility

    • 1 Comments
    An important part of a computer’s user interface is to provide for user interaction alternatives to the usual sight-oriented methods. Such capability requires programmatic access to what’s on the screen so that screen reader programs can express...
  • Murray Sargent: Math in Office

    Crisp Text Display

    • 1 Comments
    Kaspar commented on my post Office Adopts New Windows Display Technology “I always wondered why the text in OneNote 2013 looks so much better than Word 2013.” Curious, I typed some math into Word and OneNote on my 3200 x 1800 resolution Samsung...
  • Murray Sargent: Math in Office

    User Spaces in Math Zones

    • 1 Comments
    Spacing in mathematical expressions involves well defined rules. For example, in the expression a+b=c, a good math display engine automatically inserts 4/18 em on each side of the binary operator + and 5/18 em on each side of the relational operator ...
  • Murray Sargent: Math in Office

    Rick Shoemaker, quantum magician and microcomputer whiz

    • 1 Comments
    This post summarizes what I said at the retirement ceremony for my long time collaborator and good friend Dr. Rick Shoemaker, Associate Dean, College of Optical Sciences, and Professor of Optical Sciences. I’ll talk a bit on Rick and his love for...
  • Murray Sargent: Math in Office

    RichEdit Paragraph Indents

    • 1 Comments
    RichEdit paragraph indents are based on the original RichEdit 1.0 definitions. These differ somewhat from Microsoft Word’s definitions and hence from TOM’s (RichEdit’s Text Object Model), which were developed in collaboration with the Word team. In addition...
  • Murray Sargent: Math in Office

    Entering Math via the Linear Format

    • 1 Comments
    The previous blog post is on the cool math handwriting recognition shipped with Windows 7. The post includes a description of a race I had entering equations using the linear format with formula autobuildup against a member of the math handwriting recognition...
  • Murray Sargent: Math in Office

    Which Languages a Font Supports

    • 0 Comments
    A recent post describes how RichEdit chooses default fonts for Unicode characters. The method assigns a character repertoire (CharRep) to each character and queries fonts to find out which CharRep’s they support. If the current font doesn’t...
  • Murray Sargent: Math in Office

    Nathan Myhrvold

    • 0 Comments
    This is a post about some of the early days in the life of an amazing person, Nathan Myhrvold. Nathan and his good friend and colleague, Chuck Whitmer, had completed PhD’s in theoretical physics at Princeton. They wanted to investigate advanced...
Page 4 of 5 (116 items) 12345