Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Unicode Math InputNew to Visual Studio Code? Get it now.

Unicode Math Input

Cheng Zhang

|
19 installs
| (0) | Free
Easy way to insert unicode math symbols ∀ programming languages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Unicode Math Input For VSCode

A fast and intuitive way to insert unicode math characters (and even Emoji 😯) using LaTeX command in any document!

Install And Info

From OpenVSX

Open VSX Version Open VSX Rating

From VSCode Marketplace

Visual Studio Marketplace Version Visual Studio Marketplace Last Updated Visual Studio Marketplace Rating

From GitHub Release

GitHub release (latest by date) Snyk Vulnerabilities for GitHub Repo

Features

Autocompletion

In any language, when you type \, this extension will start suggesting possible latex input. Autocompletion will also preview the character that you are currently typing

NOTICE, when LaTeX Workshop is activated, the \ trigger seems to be taken by LaTeX Workshop, you can set custom trigger string in the setting. I personally set the trigger strings as ["."] in my LaTeX project.

Tab Commit

When you press tab after a LaTeX symbol, it will convert the LaTeX symbol into unicode. The commit key can be changed by changing the keybinding for unicode-math-input.commit.

Custom Trigger String

User can set custom trigger string from setting besides \. they can be any strings, even "LaTeX", and there can be multiple ones. To disable this extension (typically used in LaTeX workspace), just set the trigger strings to empty list.

Prefix

Currently we support the following prefixes:

Prefix LaTeX Command
^ superscript
_ subscript
b: bold
bf: bold
mathbf: bold
mathbf bold
i: italic
it: italic
mathit: italic
mathit italic
cal: \mathcal
mathcal: \mathcal
mathcal \mathcal
frak: \mathfrak
mathfrak: \mathfrak
mathfrak \mathfrak
Bbb: \mathbb
mathbb: \mathbb
mathbb \mathbb

When you type a trigger string (like \) followed by prefix, then a word (without space), the extension will commit the unicode version of that font. For example when you type \it:text<tab>, \it:text will be changed to 𝑡𝑒𝑠𝑡

NOTICE: not all math font (including super and subscript) of common characters are supported in unicode. When the char do not have the math font, the extension will not convert anything.

License

This extension is licensed under LGPLv3.0, because the license of ibus-latex-table is under LGPL

Acknowledgement

This project is a rewrite of Fast Unicode Math Characters by Guido Tapia.

The mapping from latex to unicode is provided by

  • UnicodeMath, which inspired Fast Unicode Math Characters
  • Fast Unicode Math Characters
  • ibus-latex-table

The icon is provided by Material Design Icons, released under Apache2.0 license.

This project is definitely not possible without these projects.

Roadmap

  • [ ] push a warning when commit failed with prefix.
  • [ ] automated CI dependency update.
  • [ ] automated CI documentation.
  • [ ] automatically pull character from upstream
  • [ ] automatically PR to upstream
  • [ ] Screenshots/GIF on the readme
  • [ ] reverse search prefix or latex command.
  • [ ] more tests.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft