Config: Add more sections org latex export + misc
This commit is contained in:
parent
415b18b830
commit
67cae19919
|
@ -5769,6 +5769,7 @@ While this is the LaTeX section, it's convenient to also provide HTML acronyms h
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
***** Nicer checkboxes
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(after! org
|
(after! org
|
||||||
(defun tec/org-export-latex-fancy-item-checkboxes (text backend info)
|
(defun tec/org-export-latex-fancy-item-checkboxes (text backend info)
|
||||||
|
@ -5787,7 +5788,7 @@ While this is the LaTeX section, it's convenient to also provide HTML acronyms h
|
||||||
'tec/org-export-latex-fancy-item-checkboxes))
|
'tec/org-export-latex-fancy-item-checkboxes))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Now for a few more adjustments.
|
***** Class templates
|
||||||
#+BEGIN_SRC emacs-lisp :noweb yes
|
#+BEGIN_SRC emacs-lisp :noweb yes
|
||||||
(after! ox-latex
|
(after! ox-latex
|
||||||
(add-to-list 'org-latex-classes
|
(add-to-list 'org-latex-classes
|
||||||
|
@ -5897,6 +5898,7 @@ Now for a few more adjustments.
|
||||||
'("latexmk -shell-escape -interaction=nonstopmode -f -pdf -output-directory=%o %f")))
|
'("latexmk -shell-escape -interaction=nonstopmode -f -pdf -output-directory=%o %f")))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
***** A cleverer preamble
|
||||||
We also want a particular preamble when minted is used,
|
We also want a particular preamble when minted is used,
|
||||||
#+NAME: org-minted-preamble
|
#+NAME: org-minted-preamble
|
||||||
#+BEGIN_SRC LaTeX
|
#+BEGIN_SRC LaTeX
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:8538b4b99b960d60cb1f3cce9fe4d0441fa89316248250ba8d2dcca154b518d3
|
oid sha256:d2e54291f5158781d860bd888af13ecab4a85006f4fc23b1b053beb397d27605
|
||||||
size 15077
|
size 15046
|
||||||
|
|
Loading…
Reference in a new issue