Add scrartcl latex class to org-mode

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-05-04 21:00:33 +02:00
parent 2393b63c87
commit 76d78520c1
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -224,6 +224,18 @@ Normally a LaTeX preview is just one huge image which makes Emacs really jumpy a
(put-text-property beg end 'line-height t)))) (put-text-property beg end 'line-height t))))
#+end_src #+end_src
Add koma-script article class.
#+begin_src emacs-lisp
(add-to-list
'org-latex-classes
'("scrartcl" "\\documentclass[11pt]{scrartcl}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+end_src
* Visual Fill Column * Visual Fill Column