A while back, we added the ability to pretty print tables and matrices.
Similarly, it would be nice if we can format calc results as LaTeX (or
more generally, as any calc-language).  I have some working, not so
tested, patch for the same but I would like to refrain from posting it
until I am sure of my copyright situation wrt my employer.

To make C-c C-x C-l format the LaTeX result, I need to force the
:results to be raw.  This introduces a world of pain since I now have to
manually kill the old output before I can re-eval the source block.  As
an example, try C-c C-x C-l when the point is on

    : $$x + 1$$

Nothing happens here.  With :results raw, there is no colon in the front
so I can preview the output.

Note that I'm using the LaTeX preview rewrite branch, things might be
different in the master branch.

Emacs  : GNU Emacs 31.0.50 (build 49, x86_64-pc-linux-gnu, Motif Version 2.3.8, 
cairo version 1.18.4)
 of 2025-04-24
Package: Org mode version 9.8-pre (release_9.7.8-713-g62cbac @ 
/home/viz/lib/emacs/straight/build/org/)

Reply via email to