raineszm9k downloadsExport vault files in a format amenable to pasting into a TeX document.
Export to obsidian notes to LaTeX format, suitable for pasting into a TeX file.

If you have Obsidian version 0.9.8 or greater:
Third-party pluginssafe-mode is off. (WARNING: Please verify for yourself the safety of any plugins before using them.)Browse next to Community PluginsExport To TeXInstallThird-party plugins page and enable Export To TeXTo update simply go back to the Third-Party plugins page for Export To TeX and click Update.
To manually install
zipfrom the latest Github Release.plugins/obsidian-export-to-tex subdirectory of your vault.For details see the forums.
This plugin allows Obsidian files to exported to TeX format. When doing so:
Export to TeX provides two commands
This command will produce a save as dialog. The contents of the current file will be converted to TeX and saved to that file.
The contents of the current file will be converted to TeX and copied to the clipboard.
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.
Default: '\cref'
The command to use for generating refs: defaults to \cref.
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: 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}
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.
Default: Relative to vault root
Determines how image paths are written when converting image embeddings ![[image.png]] to \includgraphics calls.
Options are
\includegraphics{Figures/image.png}\includegraphics{/Users/user/Documents/Vault/Figures/image.png} \includegraphics{image}*Defaults to vault root
If set the file picker will open to the chosen directory for export.
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.