# How to input latex characters into vscode?

**URL:** https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861
**Category:** General Usage
**Created:** [May 22, 2017, 7:17pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861 "2017-05-22T19:17:54Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [May 22, 2017, 7:17pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/1 "2017-05-22T19:17:54Z")

</div>

I am using the Julia extension for VScode:

> **[Julia - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=julialang.language-julia)**
>
> Extension for Visual Studio Code - Julia Language Support

The autocompletion is very decent. But I dont know how to input latex characters? For example, I tried `\alpha + TAB` but it does not work.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [May 23, 2017, 1:13am UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/2 "2017-05-23T01:13:30Z")

</div>

You could copy-and-paste from the REPL. Or you could use Microsoft’s fabulous keyboard shortcuts, e.g. α is ALT+945, I think. Or someone could write a VS extension implementing LaTeX tab completion. (These are technically Unicode characters, not “LaTeX characters.”)

Of course, you also have to get Visual Studio to [save files in the UTF-8 encoding of Unicode](https://stackoverflow.com/questions/279673/save-all-files-in-visual-studio-project-as-utf-8); I’m not sure whether the Julia extension does this for you?

But you’ll probably have a much easier time if you just use some other editor, e.g. Atom.

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [May 23, 2017, 12:16pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/3 "2017-05-23T12:16:21Z")

</div>

@stevengj Atom is great. But right now the autocomplete of vscode in julia is better (IMHO).  
Right now I am using both.

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [May 23, 2017, 1:34pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/4 "2017-05-23T13:34:16Z")

</div>

And it would be nice that in future just the IDE’s editor would not weight over \> 700 Mb (Atom)

---

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [May 23, 2017, 1:42pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/5 "2017-05-23T13:42:59Z")

</div>

A quick google turned up this, I didn’t test it:

> **[Unicode Latex - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=oijaz.unicode-latex)**
>
> Extension for Visual Studio Code - Insert unicode symbols for latex names

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [May 23, 2017, 1:54pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/6 "2017-05-23T13:54:59Z")

</div>

@barche Thanks. But I have to say that the analogous atom extension is much easier to use:

[https://github.com/JunoLab/atom-latex-completions](https://github.com/JunoLab/atom-latex-completions)

Just type `\alpha` + TAB. Whereas in vscode you have to go to the command palette, find the “Insert Unicode …” command, and finally type `\alpha`.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [May 23, 2017, 1:59pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/7 "2017-05-23T13:59:48Z")

</div>

To be fair, that _should_ be working in VS Code too. If no one in the vscode gitter can help you, you might need to wait for the next release or something.

Btw, I’d really be interested to know why you find the VSCode autocompletion better than Juno’s – would you mind elaborating on that?

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [May 23, 2017, 2:47pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/8 "2017-05-23T14:47:35Z")

</div>

For me, just using the standard julia vscode package: [Julia - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=julialang.language-julia) makes unicode completions work perfectly.

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [May 23, 2017, 3:02pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/9 "2017-05-23T15:02:58Z")

</div>

@kristoffer.carlsson What is your operating system? I am on Linux Mint 18

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [May 23, 2017, 6:02pm UTC](https://discourse.julialang.org/t/how-to-input-latex-characters-into-vscode/3861/10 "2017-05-23T18:02:41Z")

</div>

[https://github.com/JuliaEditorSupport/julia-vscode/issues/150](https://github.com/JuliaEditorSupport/julia-vscode/issues/150)
