matjp / latex-preview

LaTeX preview extension for VS Code
https://marketplace.visualstudio.com/items?itemName=mjpvs.latex-previewer
MIT License
3 stars 1 forks source link

LaTeX Previewer

LaTeX Previewer is a VS Code extension that generates a typeset document from your LaTeX source and renders it directly to the canvas of a VS Code webview.

image

Note: LaTeX Previewer works with LuaLaTeX compatible source files. If you are currently using another LaTeX engine you may need to modify your source code to make it LuaLaTeX compatible. A good starting point for those new to LuaLaTeX is A Guide to LuaLaTeX.

Features

Prerequisites

Getting Started

  1. Search for LaTeX Previewer in VS Code Extensions or Open VSX and click Install
  2. Go to the extension settings and set the LaTeX font diretory for your LaTeX distribution e.g. for MiKTeX on Windows C:\Users\\AppData\Local\Programs\MiKTeX\fonts or for TeXLive native on Linux /usr/share/texmf/fonts
  3. The system font path will also be searched for font files
  4. Open a LaTeX file and run LaTeX Preview: Show Preview from the Command Palette or click the Preview icon

Configuration Options

Commands

No preview showing?

Possible future enhancements