2

I have seen that the online LaTeX editor Overleaf has a nice Rich Text format so instead of this:

enter image description here

you see this:

enter image description here

You can also see it for yourselves without any login required if you go in the website and press "Create New Paper".

How can I add this functionality in Emacs?

In case it is relevant I already use AUCTeX.

  • 2
    Ctr-C Ctr-p Ctrl-p enables a preview (using preview-at-point). give that a try. – user2699 Apr 23 '15 at 16:15
  • @user2699 I know about the preview, which is different from what I ask, and not helpful. It does that only for a specific area and after the user's instructions. What is more it creates a lot of useless files. – Adam Apr 23 '15 at 16:47
  • Why did someone downvoted my question? It is both valid and perfectly structured! – Adam Apr 23 '15 at 19:06
  • 5
    Well, there's really no magic in there. Something has to render the image you are seeing, and the reason it's not rendered immediately as you type is because it's costly to do that. Also, it makes little sense to render when the document is not valid (which is most of the time during editing). Theoretically, you could us a timer to update a buffer displaying a DVI produced from a TeX file you edit, but I'm not sure how that would behave in practice. My guess is that it would work better for small documents and would be a pain when the document would take a lot of time to compile. – wvxvw Apr 23 '15 at 21:06
  • @wvxvw It sounds painful. :P – Adam Apr 23 '15 at 21:29
3

One partial answer is latex-pretty-symbols.el. It doesn't produce images, and just uses Unicode instead, so it doesn't look as pretty as the screenshot posted in the question. However, if the OP does not want to generate images, it may be the best way to go at present.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.