# fancymath
Write fancy math symbols in your email!
Too many engineers lost their lives to come up with Unicode,
we might just as well use it.
This is a simple LaTeX sequences to Unicode translation for math symbols.
Example:
$ cat spivak.txt
When these symbols, \otimes and \sqcup, are used to denote
morphisms, they indicate a monoidal product. So, you shouldn't
use it to denote the universal arrow itself.
In other words, given f:A-->X and g: B-->Y, you can write
f \sqcup g: A \sqcup B \to X \sqcup Y
or
f \otimes g: A\otimes B \to X \otimes Y
But given f: A-->X and g: B-->X, you shouldn't name the
universal morphism A \sqcup B --> X by f\sqcup g ..
$ fancymath < spivak.txt
When these symbols, ⊗ and ⊔, are used to denote
morphisms, they indicate a monoidal product. So, you shouldn't
use it to denote the universal arrow itself.
In other words, given f:A⟶X and g: B⟶Y, you can write
f ⊔ g: A ⊔ B ⟶ X ⊔ Y
or
f ⊗ g: A⊗ B ⟶ X ⊗ Y
But given f: A⟶X and g: B⟶X, you shouldn't name the
universal morphism A ⊔ B ⟶ X by f⊔ g ..
### Installation
Simply this:
$ pip install fancymath
### Installation from source if you want to change the symbols
1. download this repo
2. use this:
$ python setup.py develop
Write fancy math symbols in your email!
Too many engineers lost their lives to come up with Unicode,
we might just as well use it.
This is a simple LaTeX sequences to Unicode translation for math symbols.
Example:
$ cat spivak.txt
When these symbols, \otimes and \sqcup, are used to denote
morphisms, they indicate a monoidal product. So, you shouldn't
use it to denote the universal arrow itself.
In other words, given f:A-->X and g: B-->Y, you can write
f \sqcup g: A \sqcup B \to X \sqcup Y
or
f \otimes g: A\otimes B \to X \otimes Y
But given f: A-->X and g: B-->X, you shouldn't name the
universal morphism A \sqcup B --> X by f\sqcup g ..
$ fancymath < spivak.txt
When these symbols, ⊗ and ⊔, are used to denote
morphisms, they indicate a monoidal product. So, you shouldn't
use it to denote the universal arrow itself.
In other words, given f:A⟶X and g: B⟶Y, you can write
f ⊔ g: A ⊔ B ⟶ X ⊔ Y
or
f ⊗ g: A⊗ B ⟶ X ⊗ Y
But given f: A⟶X and g: B⟶X, you shouldn't name the
universal morphism A ⊔ B ⟶ X by f⊔ g ..
### Installation
Simply this:
$ pip install fancymath
### Installation from source if you want to change the symbols
1. download this repo
2. use this:
$ python setup.py develop
Release files for fancymath 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fancymath-1.0.tar.gz | 3.3 kB | Details |
Release files / fancymath-1.0.tar.gz
| Download URL | fancymath-1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6f2b13fa80efab9e68a79db9c6c548a32dfdb0a17c26d65ad8f653a28d47a22
|
|
BLAKE2b-256 checksum How to use checksums |
8b1af3df75027d674fc24fb5a601170e83bb265875f1964ce98867c3daae2c94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |