The Latex Suite plugin enhances the LaTeX typing experience in Obsidian by offering intuitive shortcuts and customizable snippets for rapid typesetting. With features like auto-fraction formatting, matrix navigation shortcuts, and visual snippet tools, it simplifies complex LaTeX inputs into quick keystrokes. Users can enjoy cleaner displays through concealed LaTeX markup and benefit from automatic bracket resizing for readability. Matching brackets are color-highlighted for easy identification, and commands like equation selection and boxing further streamline workflows. Fully customizable, the plugin empowers users to adapt it to their preferences, making LaTeX editing faster and more efficient for both beginners and advanced users.
Features
- Redoing a snippet now reinserts the tabstops and tabstops can be traversed backwards (https://github.com/artisticat1/obsidian-latex-suite/pull/499).
- Add the ability to customize keymaps of tabout, snippet expansion and next/previous tabstop (https://github.com/artisticat1/obsidian-latex-suite/pull/443).
For example:
const snippet = {trigger: "", replacement: "$$0$", options: "t", triggerKey: "Ctrl-m"}
where you use Ctrl-m to turn on math mode. Both the triggerKey and trigger will be checked and format needs to be in cm6 format. For more examples see https://github.com/artisticat1/obsidian-latex-suite/issues/439.
(there needs to be no other hotkey, plugin or vim keymap taking priority over latex suite).
- Add editor command to toggle all features (https://github.com/artisticat1/obsidian-latex-suite/pull/508).
Only turns them on if all of them are turned off. - Add logs/debugging for snippet expansions. (https://github.com/artisticat1/obsidian-latex-suite/pull/495)
- Completed the list of text environments and removed
\mathrmfrom text environments. (https://github.com/artisticat1/obsidian-latex-suite/pull/385) - Add support for ^ and _ for auto enlarge brackets (https://github.com/artisticat1/obsidian-latex-suite/pull/505).
- Autofraction for
()/becomes\frac{$0}{$1}$2now (https://github.com/artisticat1/obsidian-latex-suite/pull/436). - Optimize snippet expansion speed (https://github.com/artisticat1/obsidian-latex-suite/pull/450).
The difference will be more noticable in large files than in smaller files,
but not super noticable. You can check the speed difference by spamming the(snippet. - Added most conceal symbols (https://github.com/artisticat1/obsidian-latex-suite/pull/386).
- Optimize conceal slightly by caching equations and concealspecs (https://github.com/artisticat1/obsidian-latex-suite/pull/445).
- Keep indent/blockqoute levels the same when expanding snippets (https://github.com/artisticat1/obsidian-latex-suite/pull/466).
- Enable visual snippets and matrix shortcut for vim (https://github.com/artisticat1/obsidian-latex-suite/pull/359)
- Added support for codelanguages (https://github.com/artisticat1/obsidian-latex-suite/pull/503)
For example:
const snippet = {trigger: "npp", replacement: "import numpy as np", options: "c", language: "python"}
Bug fixes
- Skip size controls for auto enlarge brackets (https://github.com/artisticat1/obsidian-latex-suite/pull/504).
- Ignore brackets that have different
{nesting level (https://github.com/artisticat1/obsidian-latex-suite/pull/507). - Improved default snippets (https://github.com/artisticat1/obsidian-latex-suite/pull/388).
- Global regex unions (
/a|b/) don't have to encapsulated with a group anymore (https://github.com/artisticat1/obsidian-latex-suite/pull/448). - Math preview no longer overflows for large equations (https://github.com/artisticat1/obsidian-latex-suite/pull/496)
- Fixed home key going in between
\frac|when\fracwas at the beginning of the line (https://github.com/artisticat1/obsidian-latex-suite/pull/458). - Fixed the location of the vim blockcursor (https://github.com/artisticat1/obsidian-latex-suite/pull/438).
- Hide ">" in blockmath when blockqoutes are active (https://github.com/artisticat1/obsidian-latex-suite/pull/387).
- Text recognized as math at end of a callout (https://github.com/artisticat1/obsidian-latex-suite/pull/501).
Snippetleaf (the overleaf port) will have the ones related to latex at a later time.