7

The office equation editor by default converts "1/3" and similar sequences to fractions. In some places however (e.g. in exponents) this may be undesirable. Is there some convenient way to suppress the default behavior?

Example

Let's say that I have an expression e^(-iEt/\hbar) that I want to typeset as an equation. Typing it in this manner will result in

enter image description here

Fractions in exponents, especially when created for only a single symbol, don't really help readability. I prefer to typeset it as

enter image description here

but in order to achieve this I have to type e^(-iEt\hbar) and go back to add the / after the fact, which is inconvenient for large expressions, so I am searching for a more convenient way of creating partially linearized expressions.

I recall being able to undo automatic conversions such as from "a/b" to a fraction with Ctrl+Z in Office 2010, but in Office 2019 this doesn't seem to work. E.g. typing 1/3SPC will result in a fraction, and pressing Ctrl+Z afterwards will delete the fraction.

1 Answer 1

8

Short answer

Write a\/b instead of a/b.

An alternative for larger expressions can be \ldiv, which changes in size and adds more spacing. E.g., the sequence ((1+3)/4)\ldiv{(1-3)/4) will produce

enter image description here

Long answer

The trick to understanding the current equation editor seems to be the [UnicodeMath standard]. For the specific question, the relevant part would be:

The fraction operator is given by the usual solidus / (U+002F).
So the simple built-up fraction

    ๐‘Ž๐‘๐‘
    โ€“โ€“โ€“
     ๐‘‘

appears in linear format as abc/d. To force a display of a 
normal-size linear fraction, one can use \/ (backslash followed by slash).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .