On Thu, 23 Jan 2025 18:47:23 -0800
David Masterson <dsmaster...@icloud.com> wrote:

> Anyone have a writeup on adding a simple resume.cls to Org?

You mean something like

  (setq roklein/org-latex-class/scrartcl
        ;; note: ~\\\\ resolves to ~\\ which is a forced space
        ;; plus a line break.  Otherwise the following text (even
        ;; if there is an empty line) would be on the same line
        ;; as the paragraph title.
        '("scrartcl"
          "\\documentclass[11pt]{scrartcl}"
          ("\\section{%s}" . "\\section*{%s}")
          ("\\subsection{%s}" . "\\subsection*{%s}")
          ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
          ("\\paragraph{%s}~\\par" . "\\paragraph*{%s}~\\par")
          ("\\subparagraph{%s}~\\par" . "\\subparagraph*{%s}~\\par")))

  (use-package ox-latex
    :after org
    :config
    (setq org-latex-default-class "scrartcl"
          ;; more stuff...
    (add-to-list 'org-latex-classes roklein/org-latex-class/scrartcl)
    ;; more stuff
  )



Best regards
Robert

Reply via email to