Skip to content

Instantly share code, notes, and snippets.

@cloudRoutine
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cloudRoutine/4754a111be5687d5726d to your computer and use it in GitHub Desktop.
Save cloudRoutine/4754a111be5687d5726d to your computer and use it in GitHub Desktop.
Custom symbol definitions for SublimeText plugin "UnicodeMath"
{
// Custom symbols
// Use it for your symbols, for example:
// {
// "mysymbol": "\u0021",
// "myothersymbol": "\u2080"
// }
// If symbols aren't displaying properly consider using a different font
// "DejaVu Sans Mono" has encodings for all glyphs in this file
"symbols":
{
"lambda" : "\u03BB", // λ
"delta" : "\u0394", // Δ
"ohm" : "\u2126", // Ω
"mu" : "\u03BC", // μ
"sigma" : "\u03A3", // Σ
"alpha" : "\u03B1", // α
"beta" : "\u03B2", // β
"gamma" : "\u03B3", // γ
"epsilon" : "\u03B5", // ε
"theta" : "\u03B8", // θ
"pi" : "\u03C0", // π
"tau" : "\u03C4", // τ
"phi" : "\u03C6", // φ
"spade" : "\u2660", // ♠
"heart" : "\u2665", // ♥
"club" : "\u2663", // ♣
"diamond" : "\u2666", // ♦
"clockwise" : "\u21BB", // ↻
"counterclockwise" : "\u21BA", // ↺
"leftarr" : "\u2190", // ←
"uparr" : "\u2191", // ↑
"rightarr" : "\u2192", // →
"downarr" : "\u2193", // ↓
"biarr" : "\u2194", // ↔
"updownarr" : "\u2195", // ↕
"nwarr" : "\u2196", // ↖
"nearr" : "\u2197", // ↗
"searr" : "\u2198", // ↘
"swarr" : "\u2199", // ↙
"rightagl" : "\u221F", // ∟
"angle" : "\u2220", // ∠
"rightarr2" : "\u00BB", // »
"leftarr2" : "\u00AB", // «
"upmod" : "\u02C4", // ˄
"downmod" : "\u02C5", // ˅
"integral" : "\u222B", // ∫
"doubleintegral" : "\u222C", // ∬
"tripleintegral" : "\u222D", // ∭
"integraltop" : "\u2320", // ⌠
"integralbot" : "\u2321", // ⌡
"blacksquare" : "\u25A0", // ■
"whitesquare" : "\u25A1", // □
"ring" : "\u2218", // ∘
"bullet" : "\u2219", // ∙
"summation" : "\u2211", // ∑
"product" : "\u220F", // ∏
"notequal" : "\u2260", // ≠
"identical" : "\u2261", // ≡
"notidentical" : "\u2262", // ≢
"lessequal" : "\u2264", // ≤
"greatequal" : "\u2265", // ≥
"lessoverequal" : "\u2266", // ≦
"greatoverequal" : "\u2267", // ≧
"projective" : "\u2305", // ⌅
"perspective" : "\u2306", // ⌆
"subset" : "\u2282", // ⊂
"superset" : "\u2283", // ⊃
"notsubset" : "\u2284", // ⊄
"notsuperset" : "\u2285", // ⊅
"subsetequal" : "\u2286", // ⊆
"supersetequal" : "\u2287", // ⊇
"notsubnorequal" : "\u2288", // ⊈
"notsupnorequal" : "\u2289", // ⊉
"logicaland" : "\u2227", // ∧
"logicalor" : "\u2228", // ∨
"not" : "\u00AC", // ¬
"intersection" : "\u2229", // ∩
"union" : "\u222A", // ∪
"element" : "\u2208", // ∈
"notelement" : "\u2209", // ∉
"member" : "\u220B", // ∋
"notmember" : "\u220C", // ∌
"exists" : "\u2203", // ∃
"notexists" : "\u2204", // ∄
"forall" : "\u2200", // ∀
"infinite" : "\u221E", // ∞
"proportionalto" : "\u221D", // ∝
"therefore" : "\u2234", // ∴
"because" : "\u2235", // ∵
"ratio" : "\u2236", // ∶
"proportion" : "\u2237", // ∷
"emptyset" : "\u2205", // ∅
"currency" : "\u00A4", // ¤
"euro" : "\u20AC", // €
"yen" : "\u00A5", // ¥
"poundsterling" : "\u00A3", // £
"copyright" : "\u00A9", // ©
"registered" : "\u00AE", // ®
"section" : "\u00A7", // §
"invquestion" : "\u00BF", // ¿
"dblquestion" : "\u2047", // ⁇
"plusminus" : "\u00B1", // ±
"minusplus" : "\u2213", // ∓
"musicnote" : "\u266A", // ♪
"leftparentop" : "\u239B", // ⎛
"leftparenmid" : "\u239C", // ⎜
"leftparenbot" : "\u239D", // ⎝
"rightparentop" : "\u239E", // ⎞
"rightparenmid" : "\u239F", // ⎟
"rightparenbot" : "\u23A0", // ⎠
"leftsqrbractop" : "\u23A1", // ⎡
"leftsqrbracmid" : "\u23A2", // ⎢
"leftsqrbracbot" : "\u23A3", // ⎣
"rightsqrbractop" : "\u23A4", // ⎤
"rightsqrbracmid" : "\u23A5", // ⎥
"rightsqrbracbot" : "\u23A6", // ⎦
"leftcurlbractop" : "\u23A7", // ⎧
"leftcurlbracmid" : "\u23A8", // ⎨
"leftcurlbracbot" : "\u23A9", // ⎩
"curlbracexten" : "\u23AA", // ⎪
"rightcurlbractop" : "\u23AB", // ⎫
"rightcurlbracmid" : "\u23AC", // ⎬
"rightcurlbracbot" : "\u23AD", // ⎭
},
// Custom synonyms
// Synonims for existing symbol names:
// {
// "mys": "mysymbol"
// }
"synonyms":
{
"root" : "sqrt" ,
"suma" : "summation" ,
"ra2" : "rightarr2" ,
"la2" : "leftarr2" ,
"dra" : "rightarr2" ,
"dla" : "leftarr2" ,
"geql" : "greatequal" ,
"leql" : "lessequal" ,
"neql" : "notequal" ,
"inf" : "infinite" ,
"bsqr" : "blacksquare" ,
"wsqr" : "whitesquare" ,
"invq" : "invquestion" ,
"+-" : "plusminus" ,
"lpt" : "leftparentop" ,
"lpm" : "leftparenmid" ,
"lpr" : "leftparenbot" ,
"rpt" : "rightparentop" ,
"rpm" : "rightparenmid" ,
"rpb" : "rightparenbot" ,
"lsbt" : "leftsqrbractop" ,
"lsbm" : "leftsqrbracmid" ,
"lsbb" : "leftsqrbracbot" ,
"rsbt" : "rightsqrbractop" ,
"rsbm" : "rightsqrbracmid" ,
"rsbb" : "rightsqrbracbot" ,
},
// Syntaxes to ignore
"ignore_syntax": ["latex"],
// Convert \uXXXX and \UXXXXXXXX to symbol
"convert_codes": true,
// Convert multichar subscript and superscript
// \^abc → \^a\^b\^c and \_abc → \_a\_b\_c
"convert_sub_super": true,
// List-convert,
// \\prefix\abc → \prefixa\prefixb\prefixc,
// for example
// \\Bbb\ABC → \BbbA\BbbB\BbbC → 𝔸𝔹ℂ
"convert_list": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment