-
Notifications
You must be signed in to change notification settings - Fork 23
/
fiverr-koma.el
26 lines (21 loc) · 1 KB
/
fiverr-koma.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(eval-after-load 'ox '(require 'ox-koma-letter))
(eval-after-load 'ox-latex '(add-to-list 'org-latex-packages-alist '("english" "babel" t) t))
(eval-after-load 'ox '(require 'ox-koma-letter))
(eval-after-load 'ox-latex '(add-to-list 'org-latex-packages-alist '("english" "babel" t) t))
(eval-after-load 'ox-koma-letter
'(progn
(add-to-list 'org-latex-classes
'("my-letter"
"\\documentclass[foldmarks=false,refline=dateleft,fromrule=afteraddress,enlargefirstpage=on,fontsize=10pt,fromalign=center,subject=left,parskip=full]\{scrlttr2\}
\\usepackage[english]{babel}
\\usepackage{utopia}
\\setkomavar{frombank}{(1234)\\,567\\,890}
\\nonfrenchspacing
\\setkomafont{backaddress}{\\normalsize \\usekomafont{fromaddress}}
\\setkomafont{fromrule}{\\vspace{0.2in}}
\\setkomavar{placeseparator}{\\\\}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]
\\KOMAoption{backaddress}{false}"))
(setq org-koma-letter-default-class "my-letter")))