This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: nbconvert.exporters.latex

LaTeX Exporter class

1 Class

class IPython.nbconvert.exporters.latex.LatexExporter(config=None, extra_loaders=None, **kw)

Bases: IPython.nbconvert.exporters.templateexporter.TemplateExporter

Exports to a Latex template. Inherit from this class if your template is LaTeX based and you need custom tranformers/filters. Inherit from it if you are writing your own HTML template and need custom tranformers/filters. If you don’t need custom tranformers/filters, just change the ‘template_file’ config option. Place your template in the special “/latex” subfolder of the ”../templates” folder.