[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] modify the org-format-latex-header include matlab-prettifier and
From: |
Nicolas Goaziou |
Subject: |
Re: [O] modify the org-format-latex-header include matlab-prettifier and its complicated options |
Date: |
Sun, 02 Oct 2016 11:06:55 +0200 |
Hello,
Uwe Brauer <address@hidden> writes:
> Hi I would like to have the following header when exporting from org to
> latex.
>
> \usepackage[numbered,framed]{matlab-prettifier}
> \let\ph\mlplaceholder
> \lstset{
> style = Matlab-editor,
> basicstyle = \mlttfamily,
> escapechar = ",
> mlshowsectionrules = true,
> mathescape=true,
> morecomment=[s]{\%\{}{\%\}},
> }
>
> (This is and enhancement of the listing package)
>
> So I boldly set
>
>
> (defcustom org-format-latex-header "\\documentclass{article}
You probably want to customize `org-latex-classes' instead.
Regards,
--
Nicolas Goaziou