math-symbols

Homepage: https://github.com/kawabata/math-symbols

Updated:

Summary

Math Symbol Input methods and conversion tools

Commentary

-*- mode: org -*-
* Description

This utility lets you input math symbols by TeX names
with the following commands.

- M-x toggle-input-method + math-symbols-tex
- M-x math-symbols-from-tex-region
- M-x math-symbols-insert
- M-x math-symbols-ivy

Also, you can convert character to TeX names by the following command.
- M-x math-symbols-to-tex-region
- M-x math-symbols-to-tex-unicode-region

You can also input various styled mathematical symbols by input
methods, or by specifying region or string.

- M-x toggle-input-method + math-symbols-italic (or script, etc.)
- M-x math-symbols-italic-region
- (math-symbols-italic-string "target string")


* Examples:

** TeX to Char Conversion
: "\int g(x^2)dx = \pi e^(ix)" β†’ "∫ 𝑔(π‘₯Β²)𝑑π‘₯ = πœ‹ 𝑒^(𝑖π‘₯)"
: (M-x math-symbols-from-tex-region)
: "f(x+y)" β†’ "𝑓(π‘₯+𝑦)" (M-x math-symbols-italic-region)

** Character to Math-Character Conversion
: "Fraktur" β†’ "π”‰π”―π”žπ”¨π”±π”²π”―" (M-x math-symbols-fraktur-region)
: "black" β†’ "𝒷ℓ𝒢𝒸𝓀" (M-x math-symbols-script-region)
: "Quo Vadis" β†’ "β„šπ•¦π•  π•π•’π••π•šπ•€" (M-x math-symbols-double-struck-region)
: "3+(2-1)=4" β†’ "³⁺⁽²-¹⁾⁼⁴" (M-x math-symbols-superscript-region)

* Required Font

You should install Math fonts such as "STIX" to your system, and
then add it to your fontset to fully utilize this tool.  Recent
MacOS includes this font by default.  You can freely download them
from [[STIX website][http://www.stixfonts.org]].

* Licenses

This program incorporates `unimathsymbols.txt' data file which is
licensed under "LaTeX Project Public License".  This program is
GPL.

* Math Symbols Support Table

| styles / scripts         | alphabets | greeksβ€» | numerals |
|--------------------------+-----------+----------+----------|
| bold                     | yes       | yes      | yes      |
| (bold) italic            | yes       | yes      | yes      |
| (bold) fraktur           | yes       | no       | no       |
| (bold) script            | yes       | no       | no       |
| double-struck            | yes       | partial  | yes      |
| monospace                | yes       | no       | yes      |
| sans-serif (italic)      | yes       | no       | yes      |
| sans-serif bold (italic) | yes       | yes      | yes      |
| subscript                | partial   | no       | yes      |
| superscript              | partial   | no       | yes      |

 β€» `greeks' include greek symbols and nabla (Ο΅, Ο‘, Ο°, Ο•, Ο±, Ο–, βˆ‡).

* References

- UTR#25 UNICODE SUPPORT FOR MATHEMATICS
  (http://www.unicode.org/reports/tr25/tr25-6.html)

Dependencies

Reverse dependencies