From cd7f3b254fa00e0baa6b43ec08749ba5d7cf6276 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 14 Apr 2022 19:51:42 -0400 Subject: [PATCH] [emacs] Add LaTeX class for thermal printing --- .doom.d/config.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index 6eaf4e0..19f7668 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -346,6 +346,14 @@ Tell Emacs about all of the LaTeX classes I use to export documents. ("\\subsection{%s}" . "\\labday{%s}") ("\\subsubsection{%s}" . "\\experiment{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) + ("thermal-paper" + "\\documentclass[5pt]{article} + \\usepackage[paperwidth=52mm]{geometry}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))) #+END_SRC **** DnD