RyotaUshio / obsidian-latex-theorem-equation-referencer

A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
https://ryotaushio.github.io/obsidian-latex-theorem-equation-referencer/
MIT License
173 stars 7 forks source link

Finding variable definitions #188

Open RyotaUshio opened 1 year ago

RyotaUshio commented 1 year ago

I found some interesting posts on Reddit:

https://www.reddit.com/r/ObsidianMD/comments/viiwqc/linking_within_equations/ https://www.reddit.com/r/ObsidianMD/comments/yecouc/creating_links_for_variables_in_latex_equations/

This can be implemented as block metadata of form def: <expression here> and a command searches for the definition of a specific expression.

Using the standard link syntax [[expression]] will be make notes more plugin-dependent and less future-proof, so I will not take that approach.

LynetteCullens commented 6 months ago

At this point, I'm using HTML format to write my equations so that they can have linked variables.

Source Mode

image

Reading Mode

image

To call a linked equation

Use MathLinks, add the html formatted equation to the frontmatter under mathLink or mathlink-blocks, and embed the reference into your markdown document. linked variables