From b347bcb40094295eacf0f95726a04bf731fff6f3 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Wed, 6 Nov 2024 11:35:49 +0100 Subject: [PATCH] Add documentclass --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 13b53d50..7cb6daf3 100755 --- a/init.el +++ b/init.el @@ -1713,13 +1713,15 @@ Uses `mk/hyperspec-dir-locations' to find the directory." (with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes '("koma-general" - "% ~/.emacs.d/texmf/tex/latex/mycustomstyles/komageneral.sty - \\usepackage{komageneral}" + "\\documentclass[a4paper,10pt,captions=tableheading,twoside=false]{scrartcl} +% ~/.emacs.d/texmf/tex/latex/mycustomstyles/ +\\usepackage{komageneral}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) + (setq org-latex-default-class "koma-general")) (setq org-html-protect-char-alist