Barry has shown how to use "C-c C-x C-l" (org-latex-preview &optional ARG) to preview a latex fragment at point.
I then see no point in enclosing latex commands in "#+begin_src" and "#+end_src"; because one can just write any lates expression an a line such as below, them slamming it with "C-c C-x C-l". \(y = x\beta + \epsilon\) Is there a related command that previews all equations in the buffer, rather than only for a latex fragment at point. With a bit more work ob-latex can be pleasantly improved. Another comment is to allow the use of "plain tex", because one can then copy from texinfo math commands. In the last few months, texinfo was greatly improved for working with math (e.g. preview with mathjax, easy scaling with mouse wheel). The same could happen with ob-latex. > Sent: Friday, May 07, 2021 at 3:36 PM > From: michael-franz...@gmx.com > To: "Ihor Radchenko" <yanta...@gmail.com> > Cc: "Berry, Charles" <ccbe...@health.ucsd.edu>, "Help Emacs Orgmode" > <emacs-orgmode@gnu.org> > Subject: Re: displaying equations with ob-latex > > Another downside is that you got to slam "C-c C-x C-l" for every equation one > writes > in the drawer. The solution is not very usable but at least I could display > equations > as I do with texinfo from org. But for serious work, I need to be fast. > Currently > it will be frustrating enough for users. > > > Sent: Friday, May 07, 2021 at 3:14 PM > > From: "Ihor Radchenko" <yanta...@gmail.com> > > To: michael-franz...@gmx.com > > Cc: "Berry, Charles" <ccbe...@health.ucsd.edu>, "Help Emacs Orgmode" > > <emacs-orgmode@gnu.org> > > Subject: Re: displaying equations with ob-latex > > > > michael-franz...@gmx.com writes: > > > > > Ok, I got some progress, I did "C-C C-x C-l" and got the equation. > > > > > > The equation in extremely small though. > > > > By default, it should have the same height with you text line. > > You can change it though. I have the following snippet in my config: > > > > (setq org-format-latex-options > > (quote > > (:foreground default :background default :scale 2.0 :justify center > > :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 > > :matchers > > ("begin" "$1" "$" "$$" "\\(" "\\["))));; 2x height of > > formulas > > > >