Skip to content

Commit 8786fc1

Browse files
committed
use tikz to generate figures
1 parent 9862132 commit 8786fc1

File tree

3 files changed

+496
-13
lines changed

3 files changed

+496
-13
lines changed

docs/docs-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ sphinx-autobuild
88
ford
99
ghp-import
1010
sphinx_material
11+
sphinxcontrib-tikz

docs/source/conf.py

+7
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'sphinx.ext.napoleon',
5151
'sphinx.ext.mathjax',
5252
'sphinx_rtd_theme',
53+
'sphinxcontrib.tikz',
5354
'sphinx.ext.graphviz'
5455
]
5556

@@ -88,3 +89,9 @@
8889
html_sidebars = {
8990
"**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"]
9091
}
92+
93+
latex_elements = {
94+
"preamble": r"""
95+
\usepackage{tikz}
96+
"""
97+
}

0 commit comments

Comments
 (0)