Variable: org-latex--section-backend

org-latex--section-backend is a variable defined in ox-latex.el.gz.

Value

#s(org-export-backend nil latex
		      ((underline lambda (o c i)
				  (format "\\underline{%s}" c))
		       (code lambda (o _ _)
			     (org-latex--protect-texttt
			      (org-element-property :value o)))
		       (verbatim lambda (o _ _)
				 (org-latex--protect-texttt
				  (org-element-property :value o))))
		      nil nil nil nil)

Documentation

Export backend that hard-codes \underline within \section and alike.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-latex.el.gz
(defconst org-latex--section-backend
  (org-export-create-backend
   :parent 'latex
   :transcoders
   '((underline . (lambda (o c i) (format "\\underline{%s}" c)))
     ;; LaTeX isn't happy when you try to use \verb inside the argument of other
     ;; commands (like \section, etc.), and this causes compilation to fail.
     ;; So, within headings it's a good idea to replace any instances of \verb
     ;; with \texttt.
     (code . (lambda (o _ _) (org-latex--protect-texttt (org-element-property :value o))))
     (verbatim . (lambda (o _ _) (org-latex--protect-texttt (org-element-property :value o))))))
  "Export backend that hard-codes \\underline within \\section and alike.")