From ca1d4d3d4371c8175ea6addb1ca1b09c3b56a7bb Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Sat, 25 Jan 2025 14:33:21 -0600 Subject: Adding templates and cleaning up --- templates/default.html | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ templates/math.html | 4 ++++ templates/nav.html | 9 ++++++++ templates/tikz.tex | 13 ++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 templates/default.html create mode 100644 templates/math.html create mode 100644 templates/nav.html create mode 100644 templates/tikz.tex (limited to 'templates') diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..124a2f2 --- /dev/null +++ b/templates/default.html @@ -0,0 +1,56 @@ + + + + $title$ + $if(author)$ + + $else$ + + $endif$ + + + + + + + $if(toggle)$ + + $endif$ + $if(math)$ + $partial("templates/math.html")$ + $endif$ + + + + + + + + + + + + + + +
+ $partial("templates/nav.html")$ +
+ +
+ $body$ +
+ + + + diff --git a/templates/math.html b/templates/math.html new file mode 100644 index 0000000..00ed73f --- /dev/null +++ b/templates/math.html @@ -0,0 +1,4 @@ + + + + diff --git a/templates/nav.html b/templates/nav.html new file mode 100644 index 0000000..077fd1e --- /dev/null +++ b/templates/nav.html @@ -0,0 +1,9 @@ + diff --git a/templates/tikz.tex b/templates/tikz.tex new file mode 100644 index 0000000..b091d9b --- /dev/null +++ b/templates/tikz.tex @@ -0,0 +1,13 @@ +\documentclass{article} +\usepackage[pdftex,active,tightpage]{preview} +\usepackage{amsmath} +\usepackage{tikz} +\usetikzlibrary{matrix} + +\begin{document} +\begin{preview} + \begin{tikzpicture}[auto] + $body$ + \end{tikzpicture} +\end{preview} +\end{document} -- cgit v1.2.3