Function: org-latex--caption-above-p

org-latex--caption-above-p is a byte-compiled function defined in ox-latex.el.gz.

Signature

(org-latex--caption-above-p ELEMENT INFO)

Documentation

Non-nil when caption is expected to be located above ELEMENT.

INFO is a plist holding contextual information.

Source Code

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

(defun org-latex--caption-above-p (element info)
  "Non-nil when caption is expected to be located above ELEMENT.
INFO is a plist holding contextual information."
  (let ((above (plist-get info :latex-caption-above)))
    (if (symbolp above) above
      (let ((type (org-element-type element)))
	(memq (if (eq type 'link) 'image type) above)))))