Variable: org-babel-latex-begin-env

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

Value

#[257 "\300\207" ["\\begin{document}"] 2
      ("/nix/store/4sqc1yyx22dax8qs94hnxkgyg1v6gqfn-emacs-snapshot/share/emacs/32.0.50/lisp/org/ob-latex.elc"
       . 901)]

Documentation

Function that evaluates to the begin 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-begin-env
  (lambda (_)
    "\\begin{document}")
  "Function that evaluates to the begin 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)