Alexander Gogl <gogl.alexan...@gmail.com> writes: > some LaTeX classes define their own footnote commands. For example, kaobook > (https://github.com/fmarotta/kaobook/blob/master/example_and_documentation.pdf) > has \footnotes and \sidenotes, whereby sidenotes (notes are put into the > outter margin) are the dominant form of putting notes in kaobook. > > It would be great if you could make the footnote command in the footnote > function customizable. It could look like this: > > ;; Replace footnote function to make the latex footnote command customizable > (setq org-latex-footnote-command "\\footnote{%s%s}")
I see no problem with such an addition - it is conceptually similar to the existing :latex-default-table-environment, :latex-default-quote-environment, etc. Would you be interested to write a patch? See https://orgmode.org/worg/org-contribute.html We might go even further, and allow setting default environments like this per-document via keywords or as a part of `org-latex-classes'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>