Variable: org-babel-latex-end-env

org-babel-latex-end-env is a customizable variable defined in ob-latex.el.gz.

Value

#[257 "\300\207"
      ["\\end{document}"]
      2 "\\end{document}\n\n(fn _)"]

Documentation

Closure which evaluates at runtime to the end part of the document environment.

It takes 1 argument which is the parameters of the source block. This allows adding additional code that will be ignored when exporting the literal LaTeX source.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-latex.el.gz
(defcustom org-babel-latex-end-env
  (lambda (_)
    "\\end{document}")
  "Closure which evaluates at runtime to the end part of the document environment.

It takes 1 argument which is the parameters of the source block.
This allows adding additional code that will be ignored when
exporting the literal LaTeX source."
  :group 'org-babel
  :type 'function)