Latex-workshop: Include Prettify symbols?

Created on 22 Jan 2018  ·  7Comments  ·  Source: James-Yu/LaTeX-Workshop

Description

Implement something similar to this or more important magic-latex-buffer from emacs.

The mode replaces common symbols in math with their unicode character, i.e., forall changes to ∀. When the cursor is either close or near ∀ it automatically opens back up to forall.

This would make reading math much easier.

enhancement

Most helpful comment

@chantisnake thanks for the pull request!

By the way, you can override the prettify-symbols substitutions and add new languages by modifying "prettifySymbolsMode.substitutions" in your own vscode settings.

All 7 comments

I don't know how long this pull request will be merged. @siegebell is usually very busy.

If you want to use this feature you can download the vsix file here: https://github.com/chantisnake/vsc-prettify-symbols-mode/releases/download/v0.4.2/prettify-symbols-mode-0.4.2.vsix

This provides prettify symbols mode version 0.4.2 with latex support.

you can uninstall the original prettify symbol mode and then install this version via the following command:

code --uninstall-extension siegebell.prettify-symbols-mode
code --install-extension prettify-symbols-mode-0.4.2.vsix

NOTICE: latexindent.pl may mess up the prettify symbol.

@chantisnake thanks for the pull request!

By the way, you can override the prettify-symbols substitutions and add new languages by modifying "prettifySymbolsMode.substitutions" in your own vscode settings.

Looking forward to the new release with LaTeX support!

@James-Yu Can we add native support for this without other extensions? I think it's something a lot of people would use

Quite unlikely. I had a peek into the code of pretty symbols extension, and found out that it would be really hard to add such maintenance burden to this extension.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdrozdo picture mdrozdo  ·  4Comments

jlelong picture jlelong  ·  4Comments

wstcegg picture wstcegg  ·  5Comments

drdebmath picture drdebmath  ·  4Comments

s-ilic picture s-ilic  ·  3Comments