Rasmus <ras...@gmx.us> writes: > Nick Dokos <ndo...@gmail.com> writes: > >> Julien Cubizolles <j.cubizol...@free.fr> writes: >> >>> How can I change the default packages used in the latex file generated >>> by org-preview-latex-fragment ? >>> >> >> They are produced by the function org-create-formula--latex-header, >> which uses the variables >> >> org-latex-default-packages-alist >> org-latex-packages-alist > > and If you want to get real dirty look at `org-format-latex-header`. > > Any package you load with #+LATEX_HEADER should also be part of the > preview tex document.
It's working, I think the best would be to make a custom tex including all necessary packages and include it in this manner. Julien C.