38 lines
1.4 KiB
EmacsLisp
38 lines
1.4 KiB
EmacsLisp
|
(setq doom-theme 'doom-monokai-pro)
|
||
|
|
||
|
(setq doom-font (font-spec :family "Blex Mono Nerd Font" :size 12)
|
||
|
doom-big-font (font-spec :family "Blex Mono Nerd Font" :size 24)
|
||
|
doom-variable-pitch-font (font-spec :family "Blex Mono Nerd Font" :size 12)
|
||
|
doom-unicode-font (font-spec :family "Blex Mono Nerd Font")
|
||
|
doom-serif-font (font-spec :family "Blex Mono Nerd Font" :size 12 :weight 'light))
|
||
|
|
||
|
(require 'quarto-mode)
|
||
|
|
||
|
(setq TeX-quote-after-quote t)
|
||
|
|
||
|
(setq cdlatex-math-symbol-prefix [f12])
|
||
|
|
||
|
(eval-after-load "ox-latex"
|
||
|
'(add-to-list 'org-latex-classes
|
||
|
'("scrartcl" "\\documentclass{scrartcl}"
|
||
|
("\\section{%s}" . "\\section*{%s}")
|
||
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
|
||
|
|
||
|
(setq org-latex-compiler "lualatex")
|
||
|
|
||
|
(setq org-latex-listings 'minted
|
||
|
org-latex-packages-alist '(("" "minted"))
|
||
|
org-latex-pdf-process
|
||
|
'("lualatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||
|
"lualatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||
|
|
||
|
(setq org-startup-with-latex-preview nil)
|
||
|
|
||
|
(add-hook 'window-setup-hook 'toggle-frame-maximized t)
|
||
|
|
||
|
(require 'conda)
|
||
|
(conda-env-initialize-interactive-shells)
|