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

    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

    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

    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

    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

    Two Math Typography Niceties

    • 8 Comments
    Roughly eight years ago, some colleagues and I had the good fortune to spend an extraordinary afternoon with Donald Knuth, the primary author of TeX, at his home on the Stanford University campus. Among many things, Donald showed us how he uses TeX to...
  • Murray Sargent: Math in Office

    Negated Operators

    • 5 Comments
    Sometimes you need to enter a negated operator like ≠. If you’re a C/C++ programmer, you might think that != should map to ≠, since that’s what != means in those languages (and some others). But since in mathematics ! means factorial, this choice is a...
  • 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

    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

    Directionality in Math Zones

    • 4 Comments
    In most places, mathematical text is written “left to right” (LTR). For example, in the expression x + y the plus is displayed to the right of the x and the y is displayed to the right of the plus. But in some Arabic locales, mathematical...
  • 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...
  • Murray Sargent: Math in Office

    Math Accents

    • 9 Comments
    Accents are quite common in mathematical text. For example, in physics one uses one- to four-dot accents to designate the first through fourth time derivatives, respectively. Primes are often used on integration variables. Transforms can be designated...
  • Murray Sargent: Math in Office

    Check out Live Writer

    • 4 Comments
    This is a test to see how I can use Live Writer to make blog posts more nicely. In particular, it’s desirable to display equations by copying them from Word. For example, this is the mode locking formula which you can enter by typing \integral<space>...
  • 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

    NINCH and EMU

    • 0 Comments
    People have been asking about a couple of acronyms fairly often these days, so here’s a blog post on them. They are described on the web already if you type the right queries, but a little more motivation might be useful. The acronyms are NINCH...
  • 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

    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

    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 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

    RichEdit 8.0 TOM Table Interfaces

    • 0 Comments
    An earlier post describes the RichEdit nested table facility and how the EM_INSERTTABLE and EM_GETTABLEPARMS messages could be used to insert and examine tables. Now those messages are documented in MSDN along with a new message, EM_SETTABLEPARMS that...
  • Murray Sargent: Math in Office

    RichEdit Character Formatting

    • 0 Comments
    RichEdit’s name derives from its ability to represent rich text. Such text is comprised of text runs with different sets of character and paragraph formatting properties along with embedded objects, such as images. Some discussion of paragraph formatting...
  • Murray Sargent: Math in Office

    Plain Text Math in Bidirectional Contexts

    • 0 Comments
    In plain text, bidirectional text (text including some Arabic or Hebrew) is generally displayed according to the Unicode Bidi Algorithm (UBA). Since we’re interested in math, it’s pertinent to study a bit how simple mathematical expressions...
  • 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

    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

    More on Equation Numbering

    • 8 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....
Page 4 of 5 (118 items) 12345