Variable: org-latex-format-drawer-function

org-latex-format-drawer-function is a customizable variable defined in ox-latex.el.gz.

Value

#[514 "\207" [] 3
      ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/org/ox-latex.elc"
       . 35763)]

Documentation

Function called to format a drawer in LaTeX code.

The function must accept two parameters:
  NAME the drawer name, like "LOGBOOK"
  CONTENTS the contents of the drawer.

The function should return the string to be exported.

The default function simply returns the value of CONTENTS.

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

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-latex.el.gz
;;;; Drawers

(defcustom org-latex-format-drawer-function (lambda (_ contents) contents)
  "Function called to format a drawer in LaTeX code.

The function must accept two parameters:
  NAME      the drawer name, like \"LOGBOOK\"
  CONTENTS  the contents of the drawer.

The function should return the string to be exported.

The default function simply returns the value of CONTENTS."
  :group 'org-export-latex
  :version "26.1"
  :package-version '(Org . "8.3")
  :type 'function)