UnicodeIt
Tested on Linux, Mac and Windows:
Converts LaTeX tags to unicode. Available online at unicodeit.net.
Examples
\alpha α, \beta β, \infty ∞ e^+ e⁺, \mu^- μ⁻ \exists ∃, \nexists ∄
\int ∫, \sum ∑, \partial ∂ \to →, p\bar{p} pp̅ \mathcal{H} ℋ, \mathbb{R} ℝ
\slash{\partial} ∂̸ \underline{x} x̲ \phone ☎, \checkmark ✓
\dot{x} ẋ, \ddot{x} ẍ A^6 A⁶, m_0 m₀ \Im ℑ, \Re ℜ, \hbar ℏ
\gamma γ, \Gamma Γ \~{O} Õ \perp ⊥, \parallel ∥
\sfrac{3}{5} ⅗ \therefore ∴, \because ∵ \subset ⊂, \supset ⊃
Python
Install with pip install unicodeit and run
python -m unicodeit.cli \\alpha
or in Python
import unicodeit
print(unicodeit.replace('\\alpha'))
JavaScript / TypeScript
Install with npm install unicodeit --save-dev and use it like this:
var unicodeit = require('unicodeit');
console.log(unicodeit.replace('\\alpha'));
Mac Automator
Create your own Automator Workflow:
- Create a new "Quick Action" (might also be labeled as "Service").
- At the top, leave the defaults: "Service receives selected text in any application"
- Select the checkmark "output replaces selected text".
- Add the action "Run Shell Script".
- From dropdown, select to "pass in: as arguments".
- The command is:
/usr/local/bin/python3 -m unicodeit.cli $1. This Python interpreter must have unicodeit installed; e.g. with/usr/local/bin/python3 -m pip install unicodeit. - It should look something like this:
To set a keyboard shortcut, go to System Preferences →
Keyboard → Shortcuts → Services → Text → UnicodeItAction.
Choose a keyboard shortcut like Command+Option+Shift U.
Now you are all set to use your new keyboard shortcut in many apps, like here in Keynote:
[dev] New Release Flow
- update version in
uncodeit/__init__.pyandpackage.json - create a new release on Github
Metadata
Release files for unicodeit 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unicodeit-0.7.5.tar.gz | 41.0 kB | Without provenance | Details for unicodeit-0.7.5.tar.gz |
Release files / unicodeit-0.7.5.tar.gz
| Download URL | unicodeit-0.7.5.tar.gz |
|---|---|
| Size | 41.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f100df7a1b8c64d7b5160859426b641cd9f30218173c5a3450842370e242a168
|
|
BLAKE2b-256 checksum How to use checksums |
ca5987694efec0dd8d789776b54a4b928b85d3886ff43ece762b67faa4fbdde5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for unicodeit 0.7.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.