GithubHelp home page GithubHelp logo

saalik / vscode-latex-preview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajshort/vscode-latex-preview

0.0 2.0 0.0 109 KB

Compilation and embedded preview of LaTeX documents for Visual Studio Code

License: MIT License

CSS 5.33% TypeScript 94.67%

vscode-latex-preview's Introduction

VSCode Latex Preview Extension

Screenshot

Features

  • Inline preview of LaTeX documents, automatically updated on save.
  • Generate VSCode build tasks for LaTeX documents.
  • Click on a document position to go to the relevant source code.
  • Use a context menu item to go from source code to a preview document position.

Usage

Open a .tex file, and then click the "Open Preview" button in the title bar. This will open a preview rendering which is updated when you save the document. To go from a source code location to a preview location, select "Show in Preview" in the editor context menu. You can also click on the preview document to go to the corresponding source code. If you want to use xetex or latexmk to generate your preview you can change the latex-preview.command config option.

For BibTeX support, it is recommended to set latex-preview.command to latexmk, which will use latexmk to run the required bibtex commands. On Windows, you will need to ensure that Perl is installed for latexmk support.

To generate a VSCode build task to run pdflatex, run the "LaTeX: Create Build Task" command.

Commands

  • LaTeX: Create Build Task Prompts to select a .tex file and creates a task in tasks.json to build it using pdflatex.
  • LaTeX: Show Preview Opens a preview of the current document in a new tab. The preview updates when the document is saved.
  • LaTeX: Show Preview to Side Opens a preview in a column alongside the current document.
  • LaTeX: Show in Preview Jumps to the current cursor position in the preview document.
  • LaTeX: Show Source Shows the source document for the current preview.
  • LaTeX: Show Preview Compile Output Shows an output channel with the latex preview compile output.

vscode-latex-preview's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.