Variable: org-babel-latex-preamble

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

Value

#[257 "\300\207" ["\\documentclass[preview]{standalone}\n"] 2
      ("/nix/store/cr364a2c0mcca19wxfy57q56hxdks5sh-emacs-31-1/share/emacs/31.1/lisp/org/ob-latex.elc"
       . 898)]

Documentation

Closure which evaluates at runtime to the LaTeX preamble.

It takes 1 argument which is the parameters of the source block.

This variable was added, or its default value changed, in Org version
9.8.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-latex.el.gz
(defcustom org-babel-latex-preamble
  (lambda (_)
    "\\documentclass[preview]{standalone}
")
  "Closure which evaluates at runtime to the LaTeX preamble.

It takes 1 argument which is the parameters of the source block."
  :group 'org-babel
  :package-version '(Org . "9.8")
  :type 'function
  :risky t)