UnicodeMath
Plugin for Sublime for inserting unicode math symbols and emoji
Details
Installs
- Total 7K
- Win 3K
- Mac 2K
- Linux 2K
Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 2 |
Linux | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
UnicodeMath
Plugin for Sublime for inserting unicode math symbols
Installation
Install via PackageControl or git clone
in your Packages directory (Select Preferences → Browse Packages...
to open right packages directory).
Usage
Input backslash and name of unicode symbol (for example \forall
) then insert space and text will be automatically converted to ∀
To insert space use shift+space
You can disable conversion on space by setting convert_on_space
to false
.
Emoji
Emoji's names starts with colon (:
)
Special
There are also special way to convert subscripts and superscripts with several symbols, just input several symbols after \_
or \^
:
S^1+2k → S¹⁺²ᵏ S_1+2k → S₁₊₂ₖ

You can also convert list of chars with special prefix via \\prefix\abc
, which will be equivalent to \prefixa
\prefixb
and \prefixc
, for example:
\Bbb\ABCabc → 𝔸𝔹ℂ𝕒𝕓𝕔
Hex-code
Hex-code of unicode symbol can be also used in one of these formats:
\u12ba \U0001d7be \U+1F1D1
To explicitly convert (or convert back) use commands UnicodeMath: Convert, UnicodeMath: Convert Back, UnicodeMath: Convert Back (Code). Selection convert is also available:
To select symbols from list, use command UnicodeMath: Insert
Instant conversion
Instant conversion allows eager conversion of symbols in the following situations:
- When
\name
is typed, there is a symbol calledname
, and no other symbol starts withname
; - When
\nameX
is typed (forX
any character), there is a symbol calledname
, but none that starts withnameX
.
The intent is to remove control keystrokes and get the same result as when typing LaTeX code; for instance typing \delta \subseteq \pi(f)
with instant conversion enabled will input δ ⊆ π(f)
.
When using instant conversion it is recommended to disable accept_prefixes
. convert_on_space
can also be disabled to make a space after a symbol name use case 2 above instead of activating the conversion command.
Settings
You can add custom symbols into symbol-table in UnicodeMath settings (Preferences → Package Settings → UnicodeMath → Settings — User or command “Preferences: UnicodeMath Settings — User”)
(Note: don't use characters fom word_separators
, see #19 issue for details)
"symbols": { "mysymbol": "\u0021", "myothersymbol": "\u2080", "shortcode": "\\u0021", // code within string "longcode": "\\U00000021", "pluscode": "\\U+12345", "manycodes": "\\U+12345\\u0020", "codes-and-text": "Foo\\U+12345" }
Synonyms for existing symbols can also be set:
"synonyms": { "mys": "mysymbol" }
Now \mys
will insert the same symbol as \mysymbol
.
Disable plugin for specific syntaxes (most common and default is 'latex'):
"ignore_syntax": ["latex"]
Enable (default) or disable converting hex-codes:
"convert_codes": true
Enable (default) or disable converting multichar sub- and superscripts:
"convert_sub_super": true
Enable (default) or disable converting list of chars with prefix:
"convert_list": true
Enable or disable (default) instant conversion:
"convert_instantly": true
Enable or disable (default) treating a non-ambiguous prefix of a symbol name as the full name:
"accept_prefixes": true
Font settings
I prefer using Lucida Sans Unicode, it contains many unicode symbols.
"font_face": "Lucida Sans Unicode"
I also recommend to set directwrite
font option on Windows to allow font-substitution for unknown unicode symbols
"font_options": ["directwrite"]
Symbols table
You can see all predefined emoji, symbols and synonyms