org-splice-latex-header

org-splice-latex-header is a compiled Lisp function in `org.el'.

(org-splice-latex-header TPL DEF-PKG PKG SNIPPETS-P &optional EXTRA)

Fill a LaTeX header template TPL.
In the template, the following place holders will be recognized:

[DEFAULT-PACKAGES] \usepackage statements for DEF-PKG
[NO-DEFAULT-PACKAGES] do not include DEF-PKG
[PACKAGES] \usepackage statements for PKG
[NO-PACKAGES] do not include PKG
[EXTRA] the string EXTRA
[NO-EXTRA] do not include EXTRA

For backward compatibility, if both the positive and the negative place
holder is missing, the positive one (without the "NO-") will be
assumed to be present at the end of the template.
DEF-PKG and PKG are assumed to be alists of options/packagename lists.
EXTRA is a string.
SNIPPETS-P indicates if this is run to create snippet images for HTML.