Configure ob-latex
This commit is contained in:
parent
99de7404ac
commit
cc7d3adff3
12
README.org
12
README.org
@ -883,6 +883,18 @@ The code in listing [[lst:customize-org-babel]], [[lst:customize-org]], and
|
|||||||
(with-eval-after-load 'ob-python
|
(with-eval-after-load 'ob-python
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
'(org-babel-python-command "python -E")))
|
'(org-babel-python-command "python -E")))
|
||||||
|
|
||||||
|
(with-eval-after-load 'ob-latex
|
||||||
|
(custom-set-variables
|
||||||
|
'(org-babel-latex-preamble
|
||||||
|
(lambda (_)
|
||||||
|
"\\documentclass[preview]{standalone}\n"))
|
||||||
|
'(org-babel-latex-begin-env
|
||||||
|
(lambda (_)
|
||||||
|
"\\begin{document}\n"))
|
||||||
|
'(org-babel-latex-end-env
|
||||||
|
(lambda (_)
|
||||||
|
"\\end{document}\n"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+caption[Customize =Org=]:
|
#+caption[Customize =Org=]:
|
||||||
|
Loading…
Reference in New Issue
Block a user