IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.filters.highlight

Next topic

Module: nbconvert.filters.markdown

This Page


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

Module: nbconvert.filters.latex

Latex filters.

Module of useful filters for processing Latex within Jinja latex templates.

2 Functions


Escape characters that may conflict with latex.


text : str

Text containing characters that may conflict with Latex


Remove the space between latex math commands and enclosing $ symbols. This filter is important because latex isn’t as flexible as the notebook front end when it comes to flagging math using ampersand symbols.


text : str

Text to filter.