math editing and display in office 2007 murray sargent partner software design engineer office...

15
Math Editing And Display In Office 2007 Murray Sargent Partner Software Design Engineer Office Authoring Services Microsoft Corporation

Upload: julian-welch

Post on 27-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Math Editing And DisplayIn Office 2007 Math Editing And DisplayIn Office 2007

Murray SargentPartner Software Design EngineerOffice Authoring ServicesMicrosoft Corporation

Murray SargentPartner Software Design EngineerOffice Authoring ServicesMicrosoft Corporation

OverviewOverview

8 math infrastructures inside and outside of Microsoft enable better math display/editing

New math edit/display environment

Interoperate with popular mathematics programs such as Mathematica, MathCad and Matlab

Incorporate into Office apps, Encarta calculator, eventually IE

8 math infrastructures inside and outside of Microsoft enable better math display/editing

New math edit/display environment

Interoperate with popular mathematics programs such as Mathematica, MathCad and Matlab

Incorporate into Office apps, Encarta calculator, eventually IE

Complex ProjectComplex Project

Intricacies of math typesetting

Creating/using myriad glyph variants

Vagaries of math notation

Embedding math zones into international text environments

Interaction with complex scripts

Math in other objects like links, ruby

Input with nonASCII keyboards

Intricacies of math typesetting

Creating/using myriad glyph variants

Vagaries of math notation

Embedding math zones into international text environments

Interaction with complex scripts

Math in other objects like links, ruby

Input with nonASCII keyboards

Eight Math InfrastructuresEight Math Infrastructures

[La]TeX: Current tech-doc standards

Unicode: Includes ~2000 math symbols

MathML 2.0: Math K – 12 and beyond

OpenType font technology: Special math tables

New math font (Cambria Math)

Math layout handler

Shared math input components

MS Office environment, autocorrect

[La]TeX: Current tech-doc standards

Unicode: Includes ~2000 math symbols

MathML 2.0: Math K – 12 and beyond

OpenType font technology: Special math tables

New math font (Cambria Math)

Math layout handler

Shared math input components

MS Office environment, autocorrect

Math SpacingMath Spacing

Operators have math spacing given by extended TeX spacing rules

Function object gives correct spacing for math functions

n-aryand object gives correct spacing for n-ary expressions

Automate much TeX “tweaking”

Handle context-dependent spacing of operators like + - . , :

Operators have math spacing given by extended TeX spacing rules

Function object gives correct spacing for math functions

n-aryand object gives correct spacing for n-ary expressions

Automate much TeX “tweaking”

Handle context-dependent spacing of operators like + - . , :

Vagaries Of Math NotationVagaries Of Math Notation

Choice of subscript/superscript base

Function arguments like

Integrands and n-aryands

Absolute value ambiguities like ||a|-|b||. Actually this example is unambiguous, but |a|b - c|d| has two possible meanings

Context sensitive ellipses: … vs ⋯

Choice of subscript/superscript base

Function arguments like

Integrands and n-aryands

Absolute value ambiguities like ||a|-|b||. Actually this example is unambiguous, but |a|b - c|d| has two possible meanings

Context sensitive ellipses: … vs ⋯

Math Input MethodsMath Input Methods

Linear format input and manual buildup

Formula autobuildup (FAB)

Math ribbons

Recognition of handwritten formulae

Hex code input

WYSIWYG editing

Hybrid editing (combination of WYSIWYG and FAB)

Linear format input and manual buildup

Formula autobuildup (FAB)

Math ribbons

Recognition of handwritten formulae

Hex code input

WYSIWYG editing

Hybrid editing (combination of WYSIWYG and FAB)

Autocorrect ExamplesAutocorrect Examples

Type \delta and get δ, \Delta and get ΔDefine \quadratic to be

x = (-b ± √(b^2 - 4ac))/2a

Then typing \quadratic<space> inserts:

Type \delta and get δ, \Delta and get ΔDefine \quadratic to be

x = (-b ± √(b^2 - 4ac))/2a

Then typing \quadratic<space> inserts:

Formula AutobuildupFormula Autobuildup

User types formulas in linear format in a math zone

Expressions are built up as soon as they’re syntactically unambiguous

Expressions can be edited in built-up form or in linear form

User types formulas in linear format in a math zone

Expressions are built up as soon as they’re syntactically unambiguous

Expressions can be edited in built-up form or in linear form

Roles Of SpaceRoles Of Space

Spaces are rarely needed inside math formulae, since spacing is automatic

Use to terminate autocorrect entries and expressions

Use as command to build up math objects

A space builds up one subexpression; other operators build up as many as they can

Spaces are rarely needed inside math formulae, since spacing is automatic

Use to terminate autocorrect entries and expressions

Use as command to build up math objects

A space builds up one subexpression; other operators build up as many as they can

Font Math TablesFont Math Tables

Specialized math tables have been created to control glyph placements

Position subscripts/superscripts horizontally using cut-ins and italic corrections

Many math constants: axis height, fraction rule thickness, etc.

Compare kerning of

The math tables are formalized as OpenType tables

Specialized math tables have been created to control glyph placements

Position subscripts/superscripts horizontally using cut-ins and italic corrections

Many math constants: axis height, fraction rule thickness, etc.

Compare kerning of

The math tables are formalized as OpenType tables

Murray SargentPartner SDEOffice Authoring Services

Murray SargentPartner SDEOffice Authoring Services

ConclusionsConclusions

Eight infrastructures allow better math display and editing than ever before

High quality math handler and font enable typography competitive with or better than TeX

Methods such as Formula Autobuildup

Incorporated into Word 2007, Math graphing calculator

Plan to add to PPT, Excel. Hope to add to IE, …, and maybe future compilers

Eight infrastructures allow better math display and editing than ever before

High quality math handler and font enable typography competitive with or better than TeX

Methods such as Formula Autobuildup

Incorporated into Word 2007, Math graphing calculator

Plan to add to PPT, Excel. Hope to add to IE, …, and maybe future compilers

© 2006 Microsoft Corporation. All rights reserved.Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation.Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft,and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.