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

16
stars
5,858
downloads
1
forks
1,165
days
925
days
1,158
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.
AI LaTeX Generator
2 years ago by Aayush Shah
An Obsidian plugin that generates latex code from natural language inputs.
Auto Math
2 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.
Auto-\displaystyle Inline Math
2 years ago by Ryota Ushio
An Obsidian.md plugin to automatically make all inline maths \displaystyle.
Calctex
3 years ago by Mike
An Obsidian plugin for automatic calculation of LaTeX formulas.
Completr
4 years ago by tth05
Auto-completion plugin for the obsidian editor.
Copy as LaTeX
4 years ago by mo-seph
Quick plugin to be able to copy/paste from Obsidian/Markdown into a Latex document
Export To TeX
5 years ago by Zach Raines
export obsidian markdown files in a format that can be pasted into a TeX file
Extended MathJax
5 years ago by Xavier Denis & Ng Wei En
Graph Analysis
5 years ago by SkepticMystic & Emile
Analyse the structure of your Obsidian graph using various analysis techniques
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
LaTeX autocomplete
6 months ago by Yanis Gerst
Latex Environments
5 years ago by Zach Raines
Quickly insert and change latex environments within math blocks in Obsidian.
Latex Exporter
a year ago by Matthew S. Scott
LaTeX Math
a year ago by Zarstensen
Integrated CAS (via. Sympy) plugin for Obsidian, with a LaTeX focused workflow.
Latex Matrices
3 years ago by Daniele Susino
An obsidian plugin to create latex matrices.
Latex OCR
2 years ago by Lucas Van Mol
Generate LaTeX equations from images in your clipboard or vault
LaTeX Panel Helper
5 months ago by Luster
A powerful and convenient LaTeX symbol panel for Obsidian to enhance your mathematical and scientific note-taking efficiency.
Latex Suite
4 years ago by artisticat1
Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
LaTeX to unicode converter
3 years ago by fjdu
Convert LaTeX commands into unicode sequences
LaTeX-OCR
2 years ago by Jack Barker
Math Booster
3 years ago by Ryota Ushio
A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
Math Indicator Changer
2 years ago by Ori Replication
MathLive
3 years ago by Dan Zilberman
The must-have plugin for math in Obsidian
MathLive in Editor Mode
2 years ago by MizarZh
MathLive input in editor mode.
MathType
a year ago by slateblua
Type math faster
No more flickering inline math
3 years ago by Ryota Ushio
No longer disturbed by flickering inline math in Obsidian.
Obsidian asciimath
3 years ago by widcardw
Asciimath support for Obsidian (based on asciimath-parser)
Obsidian matrix
4 years ago by Jonas Mohr
Plot Vectors and Graphs
2 years ago by Nicole Tan YiTong
Obsidian Plugin to generate graphs given the function.
Pseudocode
3 years ago by Yaotian Liu
An obsidian plugin that helps to render a LaTeX-style pseudocode inside a code block.
Quick LaTeX
5 years ago by joeyuping
Quick Matrix
5 months ago by Charlie Flowe
Plugin for Obsidian.md that allows for faster interactions with matrices in LaTeX
SwiftLaTeX Render
2 years ago by gboyd068
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
Transfer LaTeX from GPT
a year ago by Xixia
Typst Mate
3 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
Wypst
2 years ago by 0xpapercut
High quality rendering of Typst in Obsidian, powered by wypst.