summary refs log tree commit diff stats
path: root/example/example.tex
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 10:11:35 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 10:11:35 +0200
commitd0fe56f4e98fa552c5e271713a815d2382e614f7 (patch)
tree5564085c201fdac129e96fa6036c3da0b1c11a0b /example/example.tex
parentfeat(bundle): Support bundling a document into one TeX file (diff)
downloadlpm-d0fe56f4e98fa552c5e271713a815d2382e614f7.tar.gz
lpm-d0fe56f4e98fa552c5e271713a815d2382e614f7.zip
feat(templates): Provide a consistent syntax for replacements
All replacements now start with `lpm::` and thus provide a future way to
extend them. This change also adds the ability to access the
chapter name in a new section and the current data in a new chapter.
Diffstat (limited to 'example/example.tex')
-rw-r--r--example/example.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/example/example.tex b/example/example.tex
new file mode 100644
index 0000000..d5f0d2f
--- /dev/null
+++ b/example/example.tex
@@ -0,0 +1,21 @@
+% LTeX: language=en-GB
+\documentclass[a4paper, 12pt]{report}
+\input{headers/preamble.tex}
+\input{headers/preamble_local.tex}
+
+
+\title{\textbf{Some Title}}
+\author{Some Author}
+\authors{name\inst}
+\years{2024}
+\date{\Today}
+
+\includeonly{}
+
+\begin{document}
+    \input{content/static/title}
+
+    % NEXT_CHAPTER
+
+    \printbibliography\relax
+\end{document}