Skip to main content

Unicode math for the lazy TeXnician

Project description

# 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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fancymath-1.0.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file fancymath-1.0.tar.gz.

File metadata

  • Download URL: fancymath-1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fancymath-1.0.tar.gz
Algorithm Hash digest
SHA256 d6f2b13fa80efab9e68a79db9c6c548a32dfdb0a17c26d65ad8f653a28d47a22
MD5 7c73a185d94e8adcd5f22c283957d718
BLAKE2b-256 8b1af3df75027d674fc24fb5a601170e83bb265875f1964ce98867c3daae2c94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page