LaTeX Algorithms

by SamZhang02
5
4
3
2
1
Score: 54/100

Description

Category: Coding & Technical Tools

The LaTeX Algorithms plugin enhances Obsidian's functionality by enabling users to write algorithms and pseudocode directly within their notes. It leverages keywords like \If, \For, and others to streamline the creation of algorithmic content, providing features like fast indentation, titles, subtitles, conditionals, loops, and proof-related keywords. This plugin is particularly beneficial for users in algorithm or proof-based fields who want to take detailed, structured notes without needing to compile a full LaTeX document. By integrating seamlessly into Obsidian, it supports efficient workflows and is compatible with tools like Quick LaTeX for enhanced LaTeX capabilities.

Reviews

No reviews yet.

Stats

17
stars
6,038
downloads
1
forks
1,265
days
1,024
days
1,258
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
0
open issues
1
closed issues
0
commits

Latest Version

3 years ago

Changelog

First release!

Fixed:

\Return now prints out return instead of Return, as per the standard Latex Algorithm blocks format.

Added:

Proof keywords! You can now write proofs with this plugin too; Proof keywords are to be used outside of math blocks. Check out README.md for all the proof keywords available.

Changed:

Fast-indentation can now be executed anywhere in the line and still only have the \quad inserted at the beginning of the line.

To come:

It seems like Shift + Tab might clash with some default key shortcuts. Any suggestions for an alternative key combination is highly appreciated!

README file from

Github

LaTeX Algorithms for Obsidian

A simple plugin for writing Algorithms and pseudocodes in Obsidian.

About

Obsidian is a great notetaking tool, I often find myself opening Obsidian instead of compiling a new .tex document for documents that I do not need to submit, simply due to how easy it is to use. However, Obsidian uses MathJax for its LaTeX functionality, which does not allow for package imports, such as algpseudocode.

I wrote this plugin so that I can easily take notes for my Algorithm and proof-based classes in Obsidian as well.

Usage

This plugin reads previous user inputs and converts them into standard LaTeX algorithm format upon detecting keywords, such as \If, \For, etc.

A great addition to this plugin could be Quick LaTeX for Obsidian and/or VIM keybindings. With these tools, you can achieve quite a fast workflow.

The functionalities of this plugin currently include:

  • Fast indentation with Shift+Tab.
  • Algorithm titles and subtitles.
  • Conditionals (If/ElseIf/Else, Switch cases).
  • For/While loops.
  • Proof keywords.

Currently supported keywords

Titles and Subtitles Conditionals Loops Proofs
\Algorithm \If \For \Theorem
\Input \Elseif \EndFor \Lemma
\Output \Else \While \Corollary
\Ensure \Endif \EndWhile \Definition
\Return \Switch \Break \Remark
\State \Case \Continue \Proof
\Default \QED

Credits

The development of this plugin used the API wrapper from Obsidian.

The idea of this plugin was heavily inspired by Quick LaTeX for Obsidian. (In fact, one of the functions in my code is taken straight from them, simply due to how great it is)

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Latex Suite
4 years ago by artisticat1
Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
Quick LaTeX
5 years ago by joeyuping
Completr
5 years ago by tth05
Auto-completion plugin for the obsidian editor.
Extended MathJax
6 years ago by Xavier Denis & Ng Wei En
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
Math+
3 months ago by ocapraro
Take math notes using Excalidraw.
draw.io
2 months ago by somesanity
This plugin has not been manually reviewed by Obsidian staff. Create and edit diagrams with draw.io (diagrams.net), locally and offline.
MathLive
3 years ago by Dan Zilberman
The must-have plugin for math in Obsidian
Latex Environments
6 years ago by Zach Raines
Quickly insert and change latex environments within math blocks in Obsidian.
Pseudocode
3 years ago by Yaotian Liu
An obsidian plugin that helps to render a LaTeX-style pseudocode inside a code block.
Excalidraw Extras
2 months ago by zsviczian
This plugin has not been manually reviewed by Obsidian staff. Companion plugin for Excalidraw high-privilege and large components.
Typst Mate
6 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
MP Publisher
a month ago by joeytoday
Preview with custom CSS themes and publish articles to WeChat Official Accounts with one click. - This plugin has not been manually reviewed by Obsidian staff.
Latex OCR
3 years ago by Lucas Van Mol
Generate LaTeX equations from images in your clipboard or vault
Copy as LaTeX
5 years ago by mo-seph
Quick plugin to be able to copy/paste from Obsidian/Markdown into a Latex document
Export To TeX
6 years ago by Zach Raines
export obsidian markdown files in a format that can be pasted into a TeX file
Calctex
3 years ago by Mike
An Obsidian plugin for automatic calculation of LaTeX formulas.
Obsidian asciimath
4 years ago by widcardw
Asciimath support for Obsidian (based on asciimath-parser)
No more flickering inline math
3 years ago by Ryota Ushio
No longer disturbed by flickering inline math in Obsidian.
LaTeX Math
a year ago by Zarstensen
Integrated CAS (via. Sympy) plugin for Obsidian, with a LaTeX focused workflow.
Image2LaTEX
3 years ago by Hugo Persson
This is a plugin for obsidian that will read your latest copied image from clipboard and generate math latex from it
SwiftLaTeX Render
2 years ago by gboyd068
LaTeX to unicode converter
3 years ago by fjdu
Convert LaTeX commands into unicode sequences
Latex Matrices
3 years ago by Daniele Susino
An obsidian plugin to create latex matrices.
Wypst
2 years ago by 0xpapercut
High quality rendering of Typst in Obsidian, powered by wypst.
Latex Exporter
2 years ago by Matthew S. Scott
MathLive in Editor Mode
2 years ago by MizarZh
MathLive input in editor mode.
Math Indicator Changer
2 years ago by Ori Replication
Transfer LaTeX from GPT
2 years ago by Xixia
LaTeX-OCR
3 years ago by Jack Barker
LaTeX Panel Helper
8 months ago by Luster
A powerful and convenient LaTeX symbol panel for Obsidian to enhance your mathematical and scientific note-taking efficiency.
Plot Vectors and Graphs
2 years ago by Nicole Tan YiTong
Obsidian Plugin to generate graphs given the function.
MathType
a year ago by slateblua
Type math faster
Markdown Cleaner
3 months ago by gao-qian-long
This plugin has not been manually reviewed by Obsidian staff. Clean Markdown syntax and automatically convert LaTeX to a compatible format.
AI LaTeX Generator
2 years ago by Aayush Shah
An Obsidian plugin that generates latex code from natural language inputs.
LaTeX autocomplete
9 months ago by Yanis Gerst
Auto Math
5 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.
Quick Matrix
8 months ago by Charlie Flowe
Plugin for Obsidian.md that allows for faster interactions with matrices in LaTeX