[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] customizing preamble for org-preview-latex-fragment
From: |
Julien Cubizolles |
Subject: |
Re: [O] customizing preamble for org-preview-latex-fragment |
Date: |
Mon, 16 Sep 2013 18:29:17 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Rasmus <address@hidden> writes:
> Nick Dokos <address@hidden> writes:
>
>> Julien Cubizolles <address@hidden> 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.