Hot answers tagged


Go to the beginning of your text and press C-M-%. That key sequence is bound to the command query-replace-regexp. Give \([+-]?[0-9]+\|\_<[[:alpha:]]\)/\([+-]?[0-9]+\|[[:alpha:]]\_>\) as search string and {\1 \\over \2} as replacement and press RET. Note that this searches for integers maybe composed of several digits and with optional sign + or -. ...

Only top voted, non community-wiki answers of a minimum length are eligible