Robert Klein <rokl...@roklein.de> writes: > 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
This is the name of a variable? With slashes in the name?!? Didn't know that... > ;; 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. Not sure I get this... > '("scrartcl" Is this actually the cls file? Where is the cls file located? > "\\documentclass[11pt]{scrartcl}" This is defining the documentclass or loading the existing documentclass? > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}~\\par" . "\\paragraph*{%s}~\\par") > ("\\subparagraph{%s}~\\par" . "\\subparagraph*{%s}~\\par"))) 1. The cls file defines the "\\section*" (etc) references, right? 2. Must all cls files have definitions for this hierarchy? 3. What do I look for in the cls file to identify the start of one of these definitions? (I think I can read it after I know where to start reading.) 4. What is "~\\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 > ) This I get. Thanks for the help. -- David Masterson