Adding .tikz to be parsed as .tex files
This commit is contained in:
parent
9a06c367a8
commit
9539bea297
1 changed files with 7 additions and 0 deletions
|
@ -255,6 +255,12 @@ before packages are loaded. If you are unsure, you should try in setting them in
|
|||
monokai
|
||||
monochrome
|
||||
))
|
||||
|
||||
;; Use auctex with .tikz files too
|
||||
(setq auto-mode-alist
|
||||
(append
|
||||
'(("\\.tikz\\'" . latex-mode))
|
||||
auto-mode-alist))
|
||||
)
|
||||
|
||||
(defun dotspacemacs/user-config ()
|
||||
|
@ -281,6 +287,7 @@ you should place you code here."
|
|||
;; Tex viewers
|
||||
(setq TeX-view-program-list '(("Zathura" "zathura-sync %n:1:%b %o")))
|
||||
(setq TeX-view-program-selection '((output-pdf "Zathura")))
|
||||
|
||||
)
|
||||
|
||||
;; Do not write anything past this comment. This is where Emacs will
|
||||
|
|
Loading…
Reference in a new issue