Skip to content

column names wrapped in $ do not render correctly in latex #476

@mpsheasby

Description

@mpsheasby

A recent regression that I've noticed is that column names wrapped in $ no longer render nicely as latex in a jupyter notebook.

Does anyone else get this behavior?

Thanks for this useful package.

Reproduction

import itables
import pandas as pd
itables.init_notebook_mode()
pd.DataFrame({'a':[1,2],'$$b$$':[2,3],'$$c$$':[2,3]}).set_index(['a'])

The code above gives this in notebook 7:

Image

Might be useful to note that, once exported to html, it does render correctly.

Image

here is my piplist.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions