Inline LaTeX Addition

I will have another attempt to decompose this issue to smaller tasks since this is so demanded and we still have an open question how to render this on mobile.

“niche user audience” I thought everyone uses math in their daily lives

/s missing? :thinking:

the fact that there isn’t inline math, is the only reason i don’t use this app, as an engeenirring student it’s a vital feature to have for my notes

Nearly the same for me. I use it for as many notes as it is feasible, which means anything that is not my main job, doing math.

Any news on this feature?

I started using Anytype a bit more, but for anything research related, I would really need this feature, because all of my notes about reading a paper or new own ideas always include inline math (until now in a separate system of notes where the math is just inline LaTeX math in $...$).

I hope this feature is coming soon. The PR on GitHub has no progress and it’s a deal-breaker for any math-related person.

+1

Yep, inline latex is really a indispensable need for Computer Science and Mathematics students. Maybe Physics releated major as well.

Any news from the team on this? I am currently taking half my notes in Anytype (anything non-math related) and the other half in Zettlr (which is far less superior in interlinking I feel), since it has inline LaTeX.

I read above that only 10% of users ever used latex blocks. I for now never used them, because without inline LaTeX currently do not type any latex in Anytype at all because 90% of my latex would be inline anyways.

  • Can we just add inline LATEX equations like notion?

WHAT DO YOU RECOMMEND?

inline LATEX equations can greatly increase the efficiency of taking notes in classes like Chemistry

HOW COULD IT BE DONE?

ᅟadd it into the menu of “/” commands

REAL WORLD USE CASES

when in chemistry notes, use LATEX to type in Chemical equations in sentences is much more convenient than individual LATEX block

RECOMMENDED ALTERNATIVES

ᅟuse individual LATEX block, but it will separate one sentence into several pieces, which is quite uncomfortable to read

Another months without any reaction here has passed, the GitHub issue Feature/Inline latex by ra3orblade · Pull Request #368 · anyproto/anytype-ts · GitHub basically concluded, that it is unclear whether this will ever happen. Since I really need this to properly move to one note taking tool instead of 2-2.5, and there also seems no interest what so ever from the development team, though there are really really many (basically all STEM people) requiring this. It is probably, and sadly time to look for alternatives.

I do like Anytype in general, just that I can not take any scientific notes as a mathematician.

There’s not much to be added besides what @Razor already said:

No progress, it was just a test, there is really a lot of work to make this work as we have something to do with the text ranges and I do not know what at the moment.

No progress on this because it needs development on other platforms as well and this leads to complications.

It’s not really easy to implement, and recently we’ve been busy with stuff like collaboration.

@ignatovv also previously shared why this hasn’t been prioritized more in the past:

I do not have the experience to state on how complicated that is to implement.

The former explanation I did read. It reads like – “No one needs them anyways.” I do not agree on that. That is why I am asking whether you want to have STEM people using anytype? Maybe you also prefer to get rid of them. To me it feels a bit like that.

@ignatovv @Razor @Filip would you consider releasing a version with inline math that works on desktop, but not on mobile (to save on implementation time)?

I’d wager (@kellertuer ?) that would enable a lot of us to work with Anytype for some time.

Otherwise, my sentiment is that we students, researchers and engineers should look for alternatives.

@kellertuer have a look at SiYuan, the implementation pace is amazing and just two people got LaTeX working well, display and inline, on desktop and mobile, a long time ago.

Oh, and there is also spaced repetition plus a bunch of other niceties and a thriving plugin ecosystem so that one’s not limited by the core team opinion on what features are important.

Now that I think of it, the SiYuan devs created an impressive markdown editor, called Lute. It’s Go and open source, so perhaps team Anytype could get some inspiration from it?

SiYuan is Go + TS, so it’s interesting to understand what architectural choices in Anytype are creating problem with something like inline LaTeX — I am pretty sure it cannot be multiplayer, which SiYuan does not have).

Thanks for your comment.

Yes if that is just displayed as code or such - so even if it is not rendered on mobile, that would solve the problem for me, even finally.
Then I could take short notices on mobile and sketches; and the longer idea with inline math would be typed later.

I also do not use the current latex on mobile since that is not so usable.
With inline LaTeX I would surely recommend that to colleagues and students.

Without I will check out alternatives soon; this has so many votes and comments, and is open for years - but no one seems to care. I am even surprised by that; I would have thought people writing software would be not too far from STEM, until now it is probably a great tool for all social sciences and anyone not needing math at all.

edit (after a week): Ok, since no one from the team even bothers to answer any longer, I think this feature will just never be realised.
But probably collaboration and such is much fancier to attracted people with money and poor students and boring scientists are just not worth the effort then.

I still am hopefully waiting for the release of inline Tex. Lately I have revamped my research approach and breaking it down into smaller tasks and it has a lot of math equations and I have to say, it’s getting a little bit out of hand :sweat_smile: . The Latex block are nice and cozy but the inline ones where I put them inside of “$” are kind of an eye sore…

Fingers crossed :crossed_fingers: this feature goes higher on the dev’s priority list and gets released this year :face_holding_back_tears:.

Hm, another months without any news.
Yes this is “only” number 7 in number of votes,
but since it is by far the one with the most Likes,
and second in number of posts (with this post only one shy of being first).

Someone from the devs said, that this is a feature anyways no one would be interested in. Is this still the opinion given those numbers?
Sure the Anytype team has at some point also care about their money and plans; maybe they should then not have gone for open code (not open source)? The recent most active parts I saw were about (just?) getting more money.

Any news on when this might be planned?
Is it planned at all or was it abandoned by now?

As stated about, I would be fine with just having that on desktop for example, something that is an (often repeating) open request for over 3 years? Are you serious?

The problem with inline LaTeX is that it’s completely different editor behaviour from what editor is right now since latex text content is completely different from the rendered version, so right now our editor is not capable of this. This is the first problem. Second problem is ranges calculation for the markup like links, mentions and other things - it should be updated somehow to implement this different logic. Third thing is mobile rendering. Right now LaTeX is rendered on mobile using webview with JS library underneath which you can’t do in the text block.

So far I can’t give any estimates since the complexity of this issue is much much more complex than it is in markdown editors for example.

The easiest solution of this problem is to split the editing and rendering mode of the editor, it will solve couple of problems but not all of them. We are busy with other features of our vision right now but this feature is included in the roadmap because it’s number 7 in the votes.

Thanks for the thorough answer. I was missing some comment on that throughout this thread until now.

For the mobile one, I would be fine if LaTeX would be rendered as code $a$ could just be $a$ (oh inline code is hard to see in this style).
I would be fine with editing/viewing LaTeX on desktop and having it as code mobile.

I also not not agree that it is more complex than for a Markdown editor – Zettlr for example does this (length computation etc) just fine.

To be honest, for now your vision does not include STEM scientists. For them this feature is crucial and decisive. But I also have not yet understood what your vision is maybe get rid of STEM scientists here? That would be fine with me, I would just prefer to know that then, if the vision considers math formulae to be irrelevant anyways.