Workflows
Fix LaTeX Preamble Missing in Obsidian guide 2
Obsidian users often struggle with missing LaTeX macros in their notes. This issue can be resolved by adding a local preamble file.
Side by side breakdown
| Criterion | Obsidian with NoteMods | Alternative |
|---|---|---|
| Custom LaTeX macros | shared-tex-preamble | Manual insertion in each note |
| Consistent preamble | shared-tex-preamble | No consistent preamble without plugin |
| Cross-referencing | pandoc-crossref-preview | Manual cross-referencing |
| Effortless setup | shared-tex-preamble | Manual setup for each macro |
How to set it up locally
- Install the shared-tex-preamble plugin from the Obsidian community.
- Create a preamble file in your Obsidian vault.
- Configure the plugin settings to point to your preamble file.
- Test the setup by inserting a LaTeX macro in a sample note.
Featured NoteMods plugins
- shared-tex-preamble (Define your math commands once, then use them in your notes.)
- pandoc-crossref-preview (Preview figure and equation numbers in a note.)
Common questions
What is a preamble?
A preamble is a file that contains LaTeX macros and settings used throughout your documents.
Can I use other plugins with shared-tex-preamble?
Yes, you can use other plugins like pandoc-crossref-preview alongside shared-tex-preamble.
How do I update my preamble file?
Simply edit the preamble file and the changes will be reflected in all notes using the macros.
One payment covers 170+ local Obsidian plugins
Lock the $15 lifetime Pro tier before Dec 31 ($29 in 2027), or browse all 64 live GitHub releases ready for BRAT.