Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TeX Figure ViewerNew to Visual Studio Code? Get it now.
TeX Figure Viewer

TeX Figure Viewer

connor

|
1 install
| (0) | Free
View figures in TeX files and open their folders
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TeX Figure Viewer

A VS Code extension that helps you manage figures in LaTeX documents.

GitHub Repository

Features

  • Structure Tree View: Displays figures organized by the document's section hierarchy (\section, \subsection, etc.).
  • Figure Detection: Lists all figures (\includegraphics) found in the active .tex file.
  • Caption Support: Displays the figure caption if available.
  • Bi-directional Sync:
    • Editor to Tree: Automatically highlights the figure in the panel when you move the cursor to the corresponding line in the editor.
    • Tree to Editor: Click on a figure in the list to jump to its location in the code.
  • Associated File Management: Manage related files (source code, raw data, config) using structured comments.
    • Syntax: Add %#[Label]{path/to/file} inside figure/table environments.
    • UI Action: Click the + icon on a figure group to select and add files automatically.
    • Example: %#[Plot Script]{./scripts/plot.py}.
    • These files appear in the tree view. Click to open in VS Code.
  • Open in OS: Right-click on a figure in the list to open its containing folder in your operating system's file explorer, with the file pre-selected.

Usage

  1. Open a .tex or .latex file.
  2. Look for the "TeX Figures" icon in the Activity Bar (side bar).
  3. Click to view the list of figures organized by sections.
  4. Use the refresh button in the view title to manually update the list if needed.

Commands

  • TeX Figure Viewer: Refresh: Manually refresh the figure list.
  • TeX Figure Viewer: Open Containing Folder: Open the folder containing the selected figure.
  • TeX Figure Viewer: Add Associated File: Add related files to a figure/table group.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft