najuzilu / jupyterbook_proof_example

Step-by-step example of how to utilize this extension in Jupyter Book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utilizing Jupyter Book with sphinxcontrib-prettyproof

Below are some instructions on how to setup a Jupyter Book example and utilize the sphinxcontrib-prettyproof extension.

conda create -n myproofbook pip
conda activate myproofbook
pip install jupyter-book
pip install sphinxcontrib-prettyproof

jupyter-book create myproofbook
cd myproofbook

Add extension under _config.yml:

sphinx:
  extra_extensions:
    - sphinxcontrib.prettyproof

Now introduce proof and theorem directives:

This is a proof directive.
This is a theorem directive.

Next build the book:

jb clean .
jb build .

About

Step-by-step example of how to utilize this extension in Jupyter Book


Languages

Language:TeX 62.1%Language:Jupyter Notebook 37.9%