QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
77 stars 23 forks source link

ENH: Add HTML table wrapping to support display formulae in notebook #46

Closed mmcky closed 6 years ago

mmcky commented 6 years ago

The PR #41 removed the html wrapping for display formula. This should be reintroduced within the context of labelled display formulae. This allows for a label to be applied and appropriately positioned within the markdown codeblock.

mmcky commented 6 years ago

This has been implemented in PR #47 but there is a question on style.

It might be nice if any display formulae are used then wrapped math environments could be used to preserve alignment between labelled and non-labelled equations. However this would require pre-parsing the document as a labelled equation may exist at any point in the document.

mmcky commented 6 years ago

the approach taken as been to include 3 columns to preserve common center alignment.