0
$\begingroup$

I find it awkward to enter negative fractions in Mathematica when using formula mode. For example I need to enter $ -\frac{1}{12}$ in a text cell. I would press 7 to enter text mode, then ctrl9 to start inline math cell (aka formula mode), then press -, space and ctrl/ to start the fraction input.

However instead of showing me two small empty boxes for the numerator and the denominator, Mathematica places my - character inside the numerator box. To work around this, I have to type in a positive fraction with ctrl/ first, then exit the fraction mode with ctrlspace, backtrack to before the fraction and insert -. Is there a more efficient way to enter negative fractions in inline math cells or in input mode?

$\endgroup$

1 Answer 1

2
$\begingroup$

I like to use expand selection (ctrl.) to do this. For example:

-, 1, ctrl., ctrl/, 1, 2

$\endgroup$
1
  • $\begingroup$ this works perfectly, thanks! $\endgroup$
    – Valentin V
    Oct 26, 2018 at 2:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.