I am using Emacs
and there are various 'themes', eg. link to examples, but they do not appear to be dedicated to Latex. Some have modes for Latex, but I am wondering if there are theme files that can be loaded specifically when using Latex (dedicated themes), and if this exists how would the init.el file be set to use the appropriate theme file?
I have tried to use the lines in my init.el
(require 'color-theme-buffer-local)
(add-hook 'latex-mode
(lambda nil (color-theme-buffer-local 'color-theme-empty-void (current-buffer))))
This color-theme (color-theme-empty-void), was taken from link to theme .el file. Is it maybe not customary to have a specific color theme for Latex?
face-remapping-alist
-- so you would be looking for theme threads dealing with that and/or the front-end for that variable; i.e.,face-remap-add-relative
. I have actually modified the built-in latex-mode and customized my own version based thereon. Some time ago there was an advancement from regular old color-themes, to new version of themes, and I lost interest in keeping up ... – lawlist Feb 8 '18 at 6:56M-x find-library RET tex-mode RET
and search for the wordfont-lock
and see which existing faces are used; and, also search fordefface
to see what new faces are defined. Then, Google search for keywords like: emacs latex-mode theme font-lock-function-name-face and so on to see what theme libraries may exist. I would imagine 99.9 percent will be relating toAUCTeX
, but perhaps .1 percent will be relating to the built-in tex-mode. It might be easier just to see what faces are used and define your own customization. – lawlist Feb 8 '18 at 7:06