This post describes three ways RichEdit may clip text along with possible solutions. Clipping can occur due to inadequate line height, lack of font vertical padding or insufficient painting of selected text. In some cases, improved rendering code could avoid clipping. Typographic compromises can avoid clipping in other cases. Selection clipping Acetate selection is discussed…

## Other Office Math Editing Facilities

Many posts of this blog are about the native Office math facility introduced in Microsoft Word in 2007 and added to PowerPoint, OneNote, and in Excel Text Boxes in 2010. But the first native math-text facility in Microsoft Word was the EQ field, one of many fields, such as time and date. Design Science designed…

## Math Greek Letters

Greek letters often appear as variables in mathematical text. This post describes their support in [La]TeX and Unicode and how their math usage sometimes differs from modern Greek text. For example, the upper-case upsilon looks like a Latin Y in modern Greek, but a curvy Υ in math zones. Similarly, in math zones the two…

## Setting and Getting Math Speech, Braille, UnicodeMath, LaTeX…

This post augments the post Inserting and Getting Math Text in RichEdit by documenting the RichEdit options for ITextRange2::SetText2(options, bstr) and ITextRange2::GetText2(options, pbstr) including those for math speech and math braille. As such, this post is for programmers. But more generally, it reveals that RichEdit supports Nemeth math braille (!). All options work in the…

## Recognizing LaTeX Input in UnicodeMath Input Mode

In offering a LaTeX math input mode, we’ve run into the problem that a user might type some LaTeX while the UnicodeMath input mode is active and get something unintended and confusing. This post reveals ways in which the build-up engine can recognize this situation and maybe cue the user to switch to the LaTeX…

## LaTeX Math in Office

For a while now it’s been possible to switch Word’s math input mode from UnicodeMath to LaTeX. We didn’t advertise this highly requested feature since it needed more work. I wrote the original conversion routines back in Fall, 2007 and used them in preparing PowerPoint physics presentations since they’re handy for copying equations from Wikipedia…

## Math Braille UI

For sighted users, Microsoft Office applications like Word, PowerPoint and OneNote have user interface (UI) cues that reveal math zones, selected text, the insertion point (IP) if no text is selected, and the argument of the innermost math object (fraction, subscript, integral, matrix, …) that contains the IP. Math speech also reveals these properties. These…

## Math STIX Fonts 2.0 and UTR #25 Updates

Two math updates have happened: 1) the STIX math fonts have been upgraded to Version 2.0, which works well with Microsoft Word, and 2) Unicode Technical Report #25, Unicode Support Mathematics has been updated to include discussion of slashed-zero and empty-set variations. This post discusses these updates. STIX Fonts 2.0 We compare STIX 2 Math…

## Braille for Math Zones

Mathematical text in modern technical documents appears in math zones. This is true for LaTeX, Microsoft Office math, MathType, Open Office, HTML5, etc. The main reason is that the typography of mathematical text differs from that for ordinary text (see, for example, User Spaces in Math Zones) and has special layout constructs such as square…

## Editing Math using MathML for Speech

The posts Microsoft Office Math Speech and Speaking of math… describe two kinds of math-speech granularities: coarse-grained (navigate by words), which speaks math expressions fluently in a natural language, and fine-grained (navigate by characters), which reveals the content at the insertion point (IP) in sufficient detail to enable editing. Several Assistive Technologies (ATs) use MathML…