You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,16 @@ Plugin for Sublime for inserting unicode math symbols
6
6
Usage
7
7
-----
8
8
9
-
Input backslash and name of unicode symbol:
10
-
<pre>
11
-
\forall
12
-
</pre>
13
-
then insert space and text will be automatically converted to ∀<br>
9
+

10
+
Input backslash and name of unicode symbol (for example `\forall`) then insert space and text will be automatically converted to ∀<br>
14
11
To insert space use `shift+space`
15
12
16
13
There are also special way to convert subscripts and superscripts with several symbols, just input several symbols after `\_` or `\^`:
17
14
<pre>
18
15
S\^1+2k → S¹⁺²ᵏ
19
16
S\_1+2k → S₁₊₂ₖ
20
17
</pre>
18
+

21
19
22
20
You can also convert list of chars with special prefix via `\\prefix\abc`, which will be equivalent to `\prefixa``\prefixb` and `\prefixc`, for example:
23
21
<pre>
@@ -28,9 +26,10 @@ Hex-code of unicode symbol can be also used in one of these formats:
28
26
<pre>
29
27
\u12ba
30
28
\U0001d7be
29
+
\U+1F1D1
31
30
</pre>
32
31
33
-
To explicitly convert (or convert back) use command**UnicodeMath: Swap**
32
+
To explicitly convert (or convert back) use commands**UnicodeMath: Convert**, **UnicodeMath: Convert Back**, **UnicodeMath: Convert Back (Code)**
34
33
35
34
To select symbols from list, use command **UnicodeMath: Insert**
36
35
@@ -42,7 +41,12 @@ You can add custom symbols into symbol-table in UnicodeMath settings (Preference
42
41
<pre>
43
42
"symbols": {
44
43
"mysymbol": "\u0021",
45
-
"myothersymbol": "\u2080"
44
+
"myothersymbol": "\u2080",
45
+
"shortcode": "\\u0021", // code within string
46
+
"longcode": "\\U00000021",
47
+
"pluscode": "\\U+12345",
48
+
"manycodes": "\\U+12345\\u0020",
49
+
"codes-and-text": "Foo\\U+12345"
46
50
}
47
51
</pre>
48
52
@@ -98,4 +102,4 @@ I also recommend to set `directwrite` font option on Windows to allow font-subst
98
102
Symbols table
99
103
---
100
104
101
-
You can see all predefined symbols and synonyms in this [table](table.md)
105
+
You can see all predefined [emoji](emoji.md), [symbols and synonyms](table.md)
0 commit comments