New answers tagged

0 votes

Tex equation block highlighting in org-mode

To get this Custom highlighting of "non-standard" latex blocks using polymode and poly-org on this file # ```latex \lambda_{3}vH^{3} # ``` # ```latex \documentclass[12pt]{article} \...
mxnt's user avatar
  • 686
2 votes

Better accuracy syntax highlighting

If you're using at least Emacs 29.1 then I suggest reading https://www.masteringemacs.org/article/how-to-get-started-tree-sitter to learn how you can get up and running with the new major modes ...
phils's user avatar
  • 51.2k
0 votes

Don't switch to math-mode when entering `$` in a `minted` environment

As a further alternative, you can give give your blocks their natural highlighting and major-mode using mmm-mode. For example, if you evaluate the following elisp code, load up a tex file and do M-x ...
Paul Nelson's user avatar

Top 50 recent answers are included