https://github.com/najuzilu/jupyterbook_proof_example
Step-by-step example of how to utilize this extension in Jupyter Book
https://github.com/najuzilu/jupyterbook_proof_example
Last synced: 2 months ago
JSON representation
Step-by-step example of how to utilize this extension in Jupyter Book
- Host: GitHub
- URL: https://github.com/najuzilu/jupyterbook_proof_example
- Owner: najuzilu
- Created: 2020-09-29T10:32:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-29T10:32:51.000Z (over 4 years ago)
- Last Synced: 2025-01-26T20:32:05.432Z (4 months ago)
- Language: TeX
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Utilizing Jupyter Book with sphinxcontrib-prettyproof
Below are some instructions on how to setup a Jupyter Book example and utilize the sphinxcontrib-prettyproof extension.
```bash
conda create -n myproofbook pip
conda activate myproofbook
pip install jupyter-book
pip install sphinxcontrib-prettyproofjupyter-book create myproofbook
cd myproofbook
```Add extension under `_config.yml`:
```yaml
sphinx:
extra_extensions:
- sphinxcontrib.prettyproof
```Now introduce proof and theorem directives:
```{proof:proof}
This is a proof directive.
``````{proof:theorem} Title of theorem
This is a theorem directive.
```Next build the book:
```bash
jb clean .
jb build .
```