Function: org-latex-table-cell
org-latex-table-cell is a byte-compiled function defined in
ox-latex.el.gz.
Signature
(org-latex-table-cell TABLE-CELL CONTENTS INFO)
Documentation
Transcode a TABLE-CELL element from Org to LaTeX.
CONTENTS is the cell contents. INFO is a plist used as a communication channel.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-latex.el.gz
;;;; Table Cell
(defun org-latex-table-cell (table-cell contents info)
"Transcode a TABLE-CELL element from Org to LaTeX.
CONTENTS is the cell contents. INFO is a plist used as
a communication channel."
(let ((type (org-export-read-attribute
:attr_latex (org-element-lineage table-cell 'table) :mode))
(scientific-format (plist-get info :latex-table-scientific-notation)))
(concat
(if (and contents
scientific-format
(string-match orgtbl-exp-regexp contents))
;; Use appropriate format string for scientific
;; notation.
(format scientific-format
(match-string 1 contents)
(match-string 2 contents))
contents)
(when (org-export-get-next-element table-cell info)
(if (string= type "tabbing") " \\> " " & ")))))