Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Export To TeX

raineszmraineszm9k downloads

Export vault files in a format amenable to pasting into a TeX document.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates10

Export to obsidian notes to LaTeX format, suitable for pasting into a TeX file.

Installation

If you have Obsidian version 0.9.8 or greater:

  1. Open the options pane
  2. Go to Third-party plugins
  3. Ensure that safe-mode is off. (WARNING: Please verify for yourself the safety of any plugins before using them.)
  4. Click Browse next to Community Plugins
  5. Search for Export To TeX
  6. Click Install
  7. Go back to the Third-party plugins page and enable Export To TeX

To update simply go back to the Third-Party plugins page for Export To TeX and click Update.

Manual Installation

To manually install

  1. download the latest zipfrom the latest Github Release
  2. unzip the contents into the .plugins/obsidian-export-to-tex subdirectory of your vault.
  3. reload obsidian
  4. go into settings > third party plugins and activate obsidian-export-to-tex

For details see the forums.

Usage

This plugin allows Obsidian files to exported to TeX format. When doing so:

  • WikiLinks to other files are stripped
  • Embeds are resolved
  • By default, headings and blocks are associated with labels

Commands

Export to TeX provides two commands

Export to TeX

This command will produce a save as dialog. The contents of the current file will be converted to TeX and saved to that file.

Export to Clipboard

The contents of the current file will be converted to TeX and copied to the clipboard.

Settings

Generate labels and refs

Default: true

By default, Export to TeX will auto generate labels for headings and blocks. Links to these from within the same file will be converted to \ref calls.

Ref command

Default: '\cref'

The command to use for generating refs: defaults to \cref.

Additional math environments

Default: []

Export to TeX will by default strip the surrounding displaymath delimeters from toplevel math environments such as equation. If there are other environments you which to do this for, they can be added to this list.

Default to equation

Default: false

By default, display math environments

$$
x^2
$$

will be exported as display math

\[
x^2
\]

if there is no top level environment present.

With default to equation on this well instead be exported as

\begin{equation}
x^2
\end{equation}

Compress Newlines

Default: false

When enabled, exported TeX will have any instance of more than one blank line in a row compressed to a single blank line.

Image path format

Default: Relative to vault root

Determines how image paths are written when converting image embeddings ![[image.png]] to \includgraphics calls. Options are

  • Relative to vault root: uses to file path relative to the root of the current vault, \includegraphics{Figures/image.png}
  • Absolute path: uses the absolute path to the file on your filesystem, \includegraphics{/Users/user/Documents/Vault/Figures/image.png}
  • File base name: uses only the base name of the image file: \includegraphics{image}
  • Relative to export directory: gives the file path relative to the export TeX directory, (if copying to clipboard will be relative to default export directory).

Default export directory

*Defaults to vault root

If set the file picker will open to the chosen directory for export.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

56%
HealthFair
ReviewCaution
About
Export Obsidian notes to LaTeX ready for pasting into a .tex file, resolving embeds and stripping wiki-links. Generate LaTeX labels for headings and blocks, convert internal links to \ref-style links, handle display math environments, and save to file or copy to clipboard.
ExportLaTeXMath
Details
Current version
0.4.2
Last updated
4 years ago
Created
5 years ago
Updates
10 releases
Downloads
9k
Compatible with
Obsidian 0.11.11+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
raineszmraineszm
github.com/raineszm/obsidian-latex-environments
GitHubraineszm
  1. Community
  2. Plugins
  3. Export
  4. Export To TeX

Related plugins

Quick Latex

Simplify and speed up LaTeX math typing.

Calctex

Calculate LaTeX formulas.

Extended MathJax

Enable additional MathJax packages and adds a global preamble for MathJax.

Latex Suite

Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements.

Typst Mate

Render math expressions with Typst instead of MathJax.

Desmos

Embed Desmos graphs into your notes.

MathLive

Faster and more intuitive MathJax editing using MathLive.

LaTeX Panel Helper

Provides a convenient panel with categorized LaTeX symbols, real-time search, and a pop-out window to enhance your mathematical note-taking efficiency!

Math+

Take math notes using Excalidraw.

Better Math in Callouts & Blockquotes

Add better Live Preview support for math rendering inside callouts & blockquotes.