Move LaTeX mixed pitch code
This commit is contained in:
parent
59256c2a96
commit
cb9c4e614c
|
@ -1396,10 +1396,6 @@ Syntax highlighting is nice, so let's turn all of that on
|
|||
(ess-R-fl-keyword:F&T . t)))
|
||||
#+END_SRC
|
||||
** LaTeX
|
||||
Once again, /all hail mixed pitch mode!/
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'LaTeX-mode-hook #'mixed-pitch-mode)
|
||||
#+END_SRC
|
||||
*** Snippet value
|
||||
For use in the new-file template, let's set out a nice preamble we may want to use.
|
||||
#+NAME: latex-nice-preable
|
||||
|
@ -1443,6 +1439,11 @@ Then let's bind the content to a function, and define some nice helpers.
|
|||
(eq (read-char-choice "Include default preamble? [Type y/n]" '(?y ?n)) ?y)))
|
||||
#+END_SRC
|
||||
*** Editor visuals
|
||||
Once again, /all hail mixed pitch mode!/
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'LaTeX-mode-hook #'mixed-pitch-mode)
|
||||
#+END_SRC
|
||||
|
||||
Let's enhance ~TeX-fold-math~ a bit
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq TeX-fold-math-spec-list
|
||||
|
|
Loading…
Reference in New Issue