Eric Schulte <schulte.e...@gmail.com> writes: > Please see the attached patch, I'd love for this to be applied.
You can use a filter function that will replace default "verbatim" with whatever you want: #+begin_src emacs-lisp (defun my-latex-custom-verbatim (element backend info) (when (org-export-derived-backend-p backend 'latex) (replace-regexp-in-string "\\`\\\\begin{\\(verbatim\\)}" "Verbatim" (replace-regexp-in-string "\\\\end{\\(verbatim\\)}\n*\\'" "Verbatim" element nil nil 1) nil nil 1))) (add-to-list 'org-export-filter-example-block-functions 'my-latex-custom-verbatim) (add-to-list 'org-export-filter-fixed-width-functions 'my-latex-custom-verbatim) (add-to-list 'org-export-filter-quote-section-functions 'my-latex-custom-verbatim) (add-to-list 'org-export-filter-src-block-functions 'my-latex-custom-verbatim) (add-to-list 'org-export-filter-table-functions 'my-latex-custom-verbatim) #+end_src I'm not sure a new variable is needed here. After all, that's what filters are for. Regards, -- Nicolas Goaziou