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

    RichEdit Plain-Text Controls

    • 0 Comments
    A Unicode plain-text editor appears to have a single set of character formatting properties for the entire text and a single set of paragraph formatting properties. With NotePad, for example, you can choose a normal, bold, italic, or bold-italic font...
  • 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

    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

    OpenType Math Tables

    • 3 Comments
    The math tables created for the math facility in Word 2007 and other Microsoft Office applications are now officially part of the OpenType standard ISO/IEC CD 14496-22 3rd edition. See Section 6.3.6 MATH. You can download a copy of the whole standard...
  • Murray Sargent: Math in Office

    BiDi Hyperlinks

    • 0 Comments
    More precisely, this post is about BiDi Internationalized Resource Identifiers (IRIs) . These objects are a generalization of Universal Resource Identifiers (URIs) that can contain a large variety of nonASCII characters, such as most alphabetic characters...
  • Murray Sargent: Math in Office

    More on Equation Numbering

    • 7 Comments
    The book Creating Research and Scientific Documents using Microsoft Word gives a method for numbering equations that works with all versions of Word from Word 2007 on and has automatic renumbering of the equations and the references to the equations....
  • Murray Sargent: Math in Office

    Book on Technical Writing in Word

    • 10 Comments
    There’s a new Microsoft Press book on creating technical documents in Word, entitled Creating Research and Scientific Documents using Microsoft Word . Alexander Mamishev, Professor of Electrical Engineering at the University of Washington, is the...
  • Murray Sargent: Math in Office

    UTF-8 RTF

    • 3 Comments
    For RichEdit 4.0 (Windows XP SP1), I developed a UTF-8 version of the Rich Text Format (RTF) . The reason was to have a faster, more reliable way of handling copy/paste for RichEdit than regular RTF. RichEdit 5.0 added the binary format for this purpose...
  • Murray Sargent: Math in Office

    RichEdit Hot Keys

    • 0 Comments
    This post summarizes the hot keys built into RichEdit. Previous posts have described various math hot keys like Alt+=. But AFAIK no one has published a summary of all the RichEdit hot keys. Note that RichEdit clients, e.g., OneNote, often handle all hot...
  • Murray Sargent: Math in Office

    RichEdit 8 Feature Additions

    • 14 Comments
    The time has come to summarize the features added in RichEdit 8, which shipped with Windows 8 and Office 2013. Since so much was added, I wrote a number of blog posts over the last twelve months about the larger RichEdit 8 features. The present post lists...
  • Murray Sargent: Math in Office

    Emoji

    • 0 Comments
    Early in this century with texting becoming an increasingly popular way to communicate on cell phones, the Japanese created an imaginative new way of conveying an idea or emotion: use cool, maybe colorful, maybe animated, symbols called emoji . Some emoji...
  • Murray Sargent: Math in Office

    Flyweight RichEdit Controls

    • 0 Comments
    Back when RichEdit 2.0 was being designed, Christian Fortini had a dream that every text string in a Forms^3 form or dialog would be a light-weight RichEdit control. That way there would be no display glitches in switching from static display to edit...
  • Murray Sargent: Math in Office

    Arabic and Mathematical Enclosures

    • 0 Comments
    This post describes the Arabic subtending marks and discusses how their editing and display could be significantly improved by using a mathematical layout engine instead of using a complex-script shaping engine. Unicode has a set of six Arabic subtending...
  • 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

    Pasting Bitmaps into Text

    • 0 Comments
    In the (almost) old days, when you paste a bitmap into a rich-text editor, the editor would give it to OLE (Object Linking and Embedding) to figure out what to do with it. But these days, OLE isn’t always available, so it’s more general to...
  • Murray Sargent: Math in Office

    The Alpha Channel

    • 0 Comments
    One of our testers inserted a Microsoft logo image into RichEdit and saw an inky black rectangle. Ignoring any connotation that this might be a bad omen (!), I proceeded to study image formats in Wikipedia and in MSDN. (Not that I hadn't already scoured...
  • Murray Sargent: Math in Office

    RichEdit 8 Performance Improvements

    • 6 Comments
    This post describes a couple of performance improvements introduced in RichEdit 8: 1) a more efficient display tree, and 2) a faster rich-text formatting mechanism. Performance is always of interest, partly to make the user experience more enjoyable ...
  • Murray Sargent: Math in Office

    A Math Build-up Bug

    • 7 Comments
    I didn’t think we had any serious math build-up bugs thanks to very extensive testing, but there was at least one bug anyhow. (If you find such bugs, please let me know by email or as a comment on a post). This one was quite simple and it existed...
  • Murray Sargent: Math in Office

    RichEdit 8.0 Touch Support

    • 3 Comments
    Windows 8 introduced substantially better touch facilities than those available in Windows 7. One cool thing is the new touch on-screen keyboard, which is enabled if you have a touch screen. To see it, swipe in from the right side, touch the cog icon...
  • Murray Sargent: Math in Office

    Program Annotations

    • 5 Comments
    Notation is a favorite topic of mine being at least partly inspired by Bertrand Russell, who once wrote , “A good notation has a subtlety and suggestiveness which at times make it seem almost like a live teacher…and a perfect notation would...
  • Murray Sargent: Math in Office

    RichEdit 8 Zoom Support

    • 4 Comments
    In this day and age with touch pinch and expand zooming of screens, zoom is everywhere! So you might wonder how to zoom the contents of a RichEdit control. There are two ways: 1) maintaining the display width and rewrapping the text as necessary to fill...
  • Murray Sargent: Math in Office

    Inserting Tables Using the Keyboard

    • 6 Comments
    This post describes a little trick that lets you insert a table into RichEdit and into Word just using the keyboard. Admittedly in Word, you can use the handy table tool on the Insert tab with a mouse or with a keyboard. But in WordPad and the Windows...
  • 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

    RichEdit Spell Checking, Autocorrection and Prediction

    • 13 Comments
    RichEdit has provided support for client spell checking ( TOM object model and temporary character formatting—see tomApplyTmp ) and autocorrect (see EM_SETAUTOCORRECTPROC ) for many years. But it has been the RichEdit client’s responsibility...
  • Murray Sargent: Math in Office

    Office Adopts New Windows Display Technology

    • 20 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...
Page 1 of 5 (117 items) 12345