mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
remove apa6 latex class, add letter class
This commit is contained in:
parent
aec606e794
commit
503c17417c
1 changed files with 8 additions and 8 deletions
|
@ -680,14 +680,7 @@ in
|
||||||
(add-hook 'post-self-insert-hook #'krofna-hack 'append 'local)))
|
(add-hook 'post-self-insert-hook #'krofna-hack 'append 'local)))
|
||||||
|
|
||||||
(add-to-list 'exec-path "${config.home.profileDirectory}/bin")
|
(add-to-list 'exec-path "${config.home.profileDirectory}/bin")
|
||||||
(add-to-list 'org-latex-classes
|
|
||||||
'("apa6"
|
|
||||||
"\\documentclass{apa6}"
|
|
||||||
("\\section{%s}" . "\\section*{%s}")
|
|
||||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
|
||||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
|
||||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
|
||||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
|
||||||
(add-to-list 'org-latex-classes
|
(add-to-list 'org-latex-classes
|
||||||
'("mla"
|
'("mla"
|
||||||
"\\documentclass{mla}"
|
"\\documentclass{mla}"
|
||||||
|
@ -696,6 +689,12 @@ in
|
||||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
||||||
|
(add-to-list 'org-latex-classes
|
||||||
|
'("letter"
|
||||||
|
"\\documentclass{letter}"
|
||||||
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
|
||||||
|
|
||||||
(plist-put org-format-latex-options :scale 3)
|
(plist-put org-format-latex-options :scale 3)
|
||||||
|
|
||||||
|
@ -750,6 +749,7 @@ in
|
||||||
:publishing-function org-latex-publish-to-pdf)
|
:publishing-function org-latex-publish-to-pdf)
|
||||||
("all" :components ("html" "pdf"))
|
("all" :components ("html" "pdf"))
|
||||||
))
|
))
|
||||||
|
|
||||||
'';
|
'';
|
||||||
hook = [
|
hook = [
|
||||||
"(org-babel-after-execute . org-redisplay-inline-images)"
|
"(org-babel-after-execute . org-redisplay-inline-images)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue