Inline LaTeX Addition

I really need this feature too!

Inline formulas are really important, I can currently only write formulas in paragraphs in $LaTax$ format, but when presenting, I have to use other tools.

Bumping to throw my weight behind this feature. This is a dealbreaker for me not to switch to Anytype from Obsidian

Saw a few commits recently but most looked like merges? Any news on how the progress is going along?

Recently checked out Obsidian, they have the same approach as Zettlr, clicking on the formula or moving the cursor inside switches from rendered to unrendered (so you can edit it) mode of the formula, which I find quite neat.

You can try this branch and see it for urself, apart from minor carriage range issues when rendering its almost ready and will be merged after the next release is published.

I will not be able to test that because I have no clue how to generate that locally from that branch. But next release sounds promising.

That’s amazing to hear! I’m so happy to hear that this feature is finally coming! :heart_eyes:

Yeah, took me 2 years to realise how it can be implemented after internal discussion.

I’m sure it’s been a challenge from the technical and operational viewpoint but I’m sure, myself and countless other in the community would cherish its release. And needless to say that I’m positive many researcher that may have seen the potential of Anytype for their research but were hesitant because of this, would jump ship soon enough :slightly_smiling_face:

That I can confirm. 100% of scientists (math, CS, physics) I talked to either said themselves, they would switch if inline LaTeX was available or said, that as long as it does not exist, they would not try it.

As I said above, I did try obsidian, and it has inline LaTeX but I did not like their general structure – and currently it would be quite some work to move over, so the perspective of having this in some time, keeps me with Anytype and optimistic to finally type also my math notes there.

This is how it looks right now in the app when built from source. Works pretty well already =)
Screenshot 2024-07-16 at 10.21.53 AM

Amazing! My notes are in dire need of this upgrade :face_holding_back_tears:

This branch would be merged in the release after next, you can now try it by building it from the branch, I’ve updated it today with the current main so it’s actual.

Now, this is amazing. As an academic researcher in the field of applied mathematics in computer science, this means I can offload the entirety of my research to Anytype, except for writing an article to be published (whose content can now be prepared in Anytype before pasting it into a latex source file) and actual programming. Thank you everyone for pushing for inline LaTeX and the team for implementing it :heart:

Merged into main, will be added to the next release.

Thanks for your work, looking forward to finally trying it out.

Switched to beta to directly try it out.

It does work, but writing longer texts might still be a bit challenging.

Assume I have a cell with a paragraph of text that uses math. I have to move the cursor outside of the cell to see all math rendered, otherwise I see all math as LaTeX code. So in order to check what you write while you write, you have to click / leave the cell.

And a bit helpful would be to have some kind of colouring for LaTeX code or markup at least (like code) if it is not rendered, to see where LaTeX starts and ends (for example in case one mistypes a $)

But that it does work is already nice. At least in short itemises, this is already useful.

Yes, this is very straightforward solution, I will think about highlighting it.