Equations¶
MergDown2TeX converts Obsidian equations to LaTeX.
Syntax¶
Inline equation¶
Input:
Output:
Display equation¶
Input:
Output:
Aligned equations¶
Input:
Output:
Math packages¶
MergDown2TeX automatically includes:
Examples¶
Example 1: Simple equation¶
Input:
Output:
Example 2: Numbered equation¶
Input:
Output:
Example 3: Matrix¶
Input:
Output:
Equation numbering¶
Automatic numbering¶
Unnumbered equation¶
Input:
Output:
Custom numbering¶
Input:
Output:
Troubleshooting¶
Equation not rendering¶
Error:
Solution:
- Check for unmatched $
- Escape special characters: \$, \%, \#
- Verify LaTeX syntax
Undefined control sequence¶
Error:
Solution: - Check package is loaded - Verify command spelling - Add package to custom preamble
Next steps¶
- Mermaid Diagrams - Diagram support
- Configuration - Customize settings
- Compilation - PDF/DOCX options