 			 (require 'helm-mode)
 			 (add-to-list 'helm-completing-read-handlers-alist
 				      '(LaTeX-environment
-					. helm-completing-read-default-handler)))))
+					. helm-completing-read-default-handler))))
+	 ;; Face remaps
+	 (LaTeX-mode . (lambda ()
+			 (setq-local face-remapping-alist
+				     '((font-latex-math-face
+					. danylo/latex-equation-face-main))))))
   :init (setq TeX-source-correlate-method 'synctex
 	      TeX-source-correlate-start-server t
 	      TeX-auto-save t

   `("\\$"
     ,(concat "\\\\\\(?:begin\\|end\\){\\(?:"
	      "equation\\|align\\|alignat\\|gather"
	      "\\|multline\\|subequaitons\\|optimization\\)[\\*]?}"))))

;;; ..:: Syntax checking ::..


(defcustom danylo/latex-preview-scale 1.3
  "Size of the latex preview in Org mode."
  :type 'float
  :group 'danylo)

(defface danylo/latex-equation-face-main
  '((t (:foreground "orange"
		    :weight bold
		    :inherit default)))
  "Face for org-mode equation delimiters."
  :group 'danylo)

(defface danylo/latex-equation-face-faded
