diff options
author | Julian T <julian@jtle.dk> | 2021-05-31 11:30:40 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-05-31 11:30:40 +0200 |
commit | 211d0ff6835017ba4c237fa909837ca84e1e095b (patch) | |
tree | 34f954216854e835e32cd77978dc49990122631c /render.py | |
parent | 392e56bcebdbc391e1c63bdaebc2f9e89270f1f8 (diff) |
Add many more solutions and notes
Diffstat (limited to 'render.py')
-rwxr-xr-x | render.py | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -12,13 +12,18 @@ tex_template = """\\documentclass[12pt]{article} \\usepackage{amsfonts} \\usepackage{mdframed} \\usepackage{float} +\\usepackage{amsthm} +\\usepackage{booktabs} \\usepackage{tikz} \\usetikzlibrary{automata, positioning, arrows} -\\newtheorem{definition}{Definition} \\newtheorem{lemma}{Lemma} -\\newtheorem{theorem}{Theorem} + +\\theoremstyle{definition} +\\newtheorem{definition}{Definition}[section] +\\newtheorem{theorem}{Theorem}[section] +\\newtheorem{principle}{Principle}[section] {% for thing in before %} {{thing}} @@ -27,6 +32,11 @@ tex_template = """\\documentclass[12pt]{article} \\setlength{\parindent}{0cm} \\setlength{\parskip}{0.3em} +\\newenvironment{opg} +{ +\itshape +}{} + \\begin{document} {% if title is not none %} \maketitle |