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.

Adam
  • 2,407
  • 2
  • 21
  • 38
  • 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
  • Is preview-latex (part of auctex) https://www.gnu.org/software/auctex/preview-latex.html relevant? – Name May 29 '15 at 20:57
  • px package is another option http://emacs.stackexchange.com/a/219/. It is available from melpa. – Name Jul 29 '15 at 01:24

1 Answers1

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.

Joe Corneli
  • 1,786
  • 1
  • 14
  • 27