summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 11:48:59 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 11:49:13 +0200
commit800ffaf658c3defe165dd24c3ecd65ceabc7096a (patch)
treeb9b2e44ac8a73efecdba3ac65be4ebb0dd20e239 /example
parentfix(MangledName): Also replace `"` and `'` (diff)
downloadlpm-800ffaf658c3defe165dd24c3ecd65ceabc7096a.tar.gz
lpm-800ffaf658c3defe165dd24c3ecd65ceabc7096a.zip
feat(new/figure)!: Init
BREAKING CHANGE: The config file now needs to contain an
                 `templates.figure` key. You can simply add this.
Diffstat (limited to 'example')
-rw-r--r--example/lpm.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/example/lpm.toml b/example/lpm.toml
index 7c4aaad..1f1edc1 100644
--- a/example/lpm.toml
+++ b/example/lpm.toml
@@ -15,3 +15,16 @@ chapter = '''
 
 \chapter{lpm::new_chapter_name} % lpm::current_date
 '''
+
+figure = '''
+% LTeX: language=en-GB
+\documentclass[varwidth]{standalone}
+
+\usepackage{tikz}
+\usetikzlibrary{calc}
+
+\begin{document} % lpm::current_date (lpm::new_figure_name)
+\begin{tikzpicture}
+\end{tikzpicture}
+\end{document}
+'''