aboutsummaryrefslogtreecommitdiff
path: root/render.py
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-06-08 22:27:26 +0200
committerJulian T <julian@jtle.dk>2022-06-08 22:27:26 +0200
commit0a51b43180766611fced42c184f201ca83e19ad3 (patch)
tree9d1ae533ba87a362be008f84b17ef4d2ed005d36 /render.py
parent337301edba25ed6ac4fba71965ace6b570f07851 (diff)
Further progress on notes for ml
Diffstat (limited to 'render.py')
-rwxr-xr-xrender.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/render.py b/render.py
index e563cec..a850881 100755
--- a/render.py
+++ b/render.py
@@ -16,6 +16,8 @@ tex_template = """\\documentclass[12pt]{article}
\\usepackage{booktabs}
\\usepackage{siunitx}
\\usepackage{enumitem}
+\\usepackage{tabularx}
+\\usepackage{cleveref}
\\usepackage{tikz}
\\usetikzlibrary{automata, positioning, arrows}
@@ -27,6 +29,8 @@ tex_template = """\\documentclass[12pt]{article}
\\newtheorem{theorem}{Theorem}[section]
\\newtheorem{principle}{Principle}[section]
+\\mdfsetup{nobreak}
+
{% for thing in before %}
{{thing}}
{% endfor %}