Tuesday, 23 July 2019

Microsoft Word - How to use equation font elsewhere?


In Microsoft Word 2007 if I insert an equation the font style is Cambria Math (Italics). I like the look of this font for equations. However, I would prefer to use equation field codes rather than the equation editor. When I use the same font style with a field code it doesn't look like the font in the Equation Editor:


screenshot of comparison


How can I match the Equation Editor font in the field code? Ideally, I'd like to set this font in a Style.



Answer



The italic letters in Word 2007 Equation Editor are not normal letters in italic but special characters from the Mathematical Alphanumeric Symbols block in Unicode. For example, when you type “C” in Equation Editor, it gets converted to U+1D436 MATHEMATICAL ITALIC CAPITAL C.


Such characters and their glyphs have been designed for mathematical usage. This is reflected in their spacing. And their design is genuinely italic. In contrast, if you take a letter in the Cambria Math font and apply Ctrl I to it, Word uses “fake italic” or “engineering italic”, which means just algorithmic slanting. The letters get excessively slanted and do not change their basic form. This can easily be seen by comparing italic “a” in Cambria Math and U+1D44E MATHEMATICAL ITALIC SMALL A.


To enter a mathematical italic character outside Equation Editor, enter its Unicode number (the characters “U+” may be omitted if the preceding character is not a digit or a letter A–F or X) and press Alt X. Alternative, use the Insert → Symbol command, set font to Cambria Math, and scroll down the table of characters down to the last part to “Extended characters – Plane 1” or use the dropdown to get there.


If you wish to use such characters frequently, the best way is probably to set up a keyboard layout for them, using MSKLC.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...