The requirement is as follows: first, understand that the latest Emacs version comesA muse-latex2png.el file. TheProgramConverts latex to PNG and then displays it on an HTML image.
In ~ /. Add the following to Emacs:
(Require 'muse-latex2png)
However, since another program is converted to PNG, it is installed in Ubuntu:
Apt-Get install dvipng
Okay. Open the muse document and enter the following mark:
<Latex> \ [E = mc ^ 2 \] </latex>
Will display:
Do you think the generated formula image is too large? You can ~ /. Set the value of the variable muse-latex2png-scale-factor in Emacs.
(Custom-set-variables; custom-set-variables was added by custom .;; if you edit it by hand, you coshould mess it up, so be careful .;; your init file shoshould contain only one such instance .;; if there is more than one, they won't work right. '(muse-latex2png-scale-factor 1.2) (custom-set-faces; custom-set-faces was added by custom .;; if you edit it by hand, you coshould mess it up, so be careful .;; your init file shoshould contain only one such instance .;; if there is more than one, they won't work right .)
Refer to this articleArticle, Some options can be used for reference.
Http://lifegoo.pluskid.org/wiki/MuseLatex2Png.html