Image to LaTeX
wandb.com
wandb.com
I’ve never found typing out LaTeX equations particularly tedious, unless you’re doing multi-page derivations in which case you’re spending more time checking for errors.
Unless they are deliberately avoiding comparison to Mathpix, they are quite unaware of the competition out there :|
Also Latex notation for even simple things like paretheses sucks. \left( and \right) ? wtf? why not just \( and \)? the left and right is redundant. Stuff like that makes it unpleasant to use.
It does seem like this could have value as a LaTeX teaching tool though, for when you need to figure out how to write the markup to do a certain technique.
As an example, instead of writing \(G = (V,E)\) directly you might want to write \(\graph{} = (\nodes{},\edges{})\)
> As an example, instead of writing \(G = (V,E)\) directly you might want to write \(\graph{} = (\nodes{},\edges{})\)
This can be great for personal use, but it can be very bad for communicating with others; (a) you won't be able to write a paper with a co-author unless you agree on your domain-specific abbreviations in advance (and, if you think that's easy, then I say from experience that it isn't), and (b) most journals prefer a minimal number of custom commands, and some forbid custom commands entirely. Even if journals permit custom commands, the more you define, the more likely you are to conflict in some baroque way with their own style files.
EDIT: Also, even if you do this only for personal use, it can be very hard to go back from it (just search for TSE questions on macro-expanders; there are plenty, but all of them that I know of assume some well formedness constraints that make sense to their authors but will almost inevitably conflict with one's own ad hoc conventions).
In fact it's the only way to scale a paper across tens of pages and over multiple people
And they're starting to use LaTeX in office equations: https://support.office.com/en-ie/article/linear-format-equat...
Source code: https://github.com/harvardnlp/im2markup
But it could be like Google Translate: does a terrible job but makes a handy starting point you can then fix up to be reasonable.
I'd like to underline that, for all its warts, MS Word has an excellent formula editor (which even supports common LaTeX commands as autocorrect). I know that it's a radical idea, but if the goal is to let scientists spend less time writing formulas, maybe we should consider letting them use modern software?
ps. MS Word can copy formulas into the clipboard as LaTeX expressions, should your journal require LaTeX papers but you dont want to edit your formulas like a caveman.
> for all its warts, MS Word has an excellent formula editor
This just isn't true. The problem is that the domain is complex, and it is difficult to support both simple and complex expressions well in way with good UX. MS Word's editor is good for simple expressions (although the typesetting is never good, sometimes terrible). For complex things, latex is much nicer.Honestly, if you are taking the time to write something up properly, the time spent on the equations is a small fraction. And in most contexts it's just more efficient to use LaTeX anyway, at least for papers, manuscripts, thesis etc. So you save more time. If you are collaborating with multiple people you can use a revision control system and have much less pain that track changes, etc. And no more 30s rerendering loop in Word for no obvious reason once you've added some complex content.
More Anectdata: I've watched multiple people give up on writing a thesis or paper in word due to too many issues, and then moved to LaTeX. I've never seen someone go the other way due to limitations they hit in LaTeX.
In college I used to transcribe my notes into nice pdfs using LaTeX, at one point I had snippets for all the common equations, I wasn't even thinking about what to do to write it down, it turned into muscle memory.
Besides that, Word now has support for LaTeX, it speaks pretty loudly about LaTeX qualities over the "let me look for the line integral symbol in these menus".
Yeah, it has a pretty steep learning curve, but once you get over it there's no better way to write equations.
Obviously, it is not for everyone, as I said, if all you need is a couple of equations, Word point and click equation editor is more than enough, but there's nothing "cavemanly" about LaTeX, it's powerful and once you learn how to use it it doesn't stand on your way.
People with a few weeks of consistent practice writing LaTeX can run circles around anyone using a graphical equation editor.
I knew students in college who could type LaTeX twice as fast as I could write formulas with pen and paper.
That said, I think both Latex and WYSIWYG editors tend to lure users into unhealthy habits the moment they get over the basics.
In the case of WYSIWYG - users tend to spend way too much time on fine tuning every single instance of produced output, which is very much labor intensive busywork. Powerpoint is IMO the canonical example to watch this behavior.
In the case of LaTeX/markdown, the somewhat more experienced users get lured into learning more esoteric portions of the underlying system and soon wants to automate everything, by writing TeX or LaTeX macros, hacking emacs modes and whatnot. Arguably, this second mode of wasting time is more intellectually challenging and more fun for some, but maybe just a waste of time still.
If one sticks to standard TeX or LaTeX, one can be fast and produce good (but maybe not super spectacular) output.
What does 'let' mean here? Who is stopping them? (Except possibly journals that want LaTeX submissions—but, as you point out, Word can export LaTeX equivalents of its formulæ.)
Scientists do not usually use Word for somewhat similar reasons.