How to insert a hyphen in Microsoft Equations instead of a minus sign?

3

2

When you write a-b in a Microsoft equation it assumes that this is 'a minus b' and adds spacing around the minus sign accordingly. But what if you want a hyphen instead such as in a double-barrelled name?

workless

Posted 2018-03-19T00:01:06.713

Reputation: 161

Answers

3

Simply adding speech marks around the text causes it to be treated as 'Normal text' so the minus sign is treated as a hyphen with no spacing around it.

Regular minus sign by typing a-b:

enter image description here

Hyphen by typing "a-b":

enter image description here

workless

Posted 2018-03-19T00:01:06.713

Reputation: 161

This works, but I get the resulting string in non-italics, as opposed to everything else in the equation editor. – vmg – 2019-09-27T23:05:48.717

I got it - the way to do it is to add only the hyphen in double quotes: a"-"b will yield the expected result with both a and b in italics. Note that if you 'cut and paste a"-"b into an equation you need to position the cursor right after the second double quote and before the b and then press space - that will apply the 'Normal text' to the hyphen and remove the double quotes. – vmg – 2019-09-28T00:32:25.037