[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding a resume.cls to Org ?
From: |
Robert Klein |
Subject: |
Re: Adding a resume.cls to Org ? |
Date: |
Fri, 24 Jan 2025 10:47:30 +0100 |
On Thu, 23 Jan 2025 18:47:23 -0800
David Masterson <dsmasterson@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