about summary refs log tree commit diff stats
path: root/templates/latex/academia/lpm.toml
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 19:32:31 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 19:32:31 +0200
commit7a0003aff5262172700c5a10c53d91fa4421eec4 (patch)
tree5bfddd4e5a349fc0fbed05ac805287b6767b789e /templates/latex/academia/lpm.toml
parentchore(version): v0.7.3 (diff)
downloadflake-templates-7a0003aff5262172700c5a10c53d91fa4421eec4.tar.gz
flake-templates-7a0003aff5262172700c5a10c53d91fa4421eec4.zip
fix(templates/latex/{academia,letter}): Share files and update to lpm v2.0
Diffstat (limited to 'templates/latex/academia/lpm.toml')
-rw-r--r--templates/latex/academia/lpm.toml22
1 files changed, 20 insertions, 2 deletions
diff --git a/templates/latex/academia/lpm.toml b/templates/latex/academia/lpm.toml
index d72f80f..1821b73 100644
--- a/templates/latex/academia/lpm.toml
+++ b/templates/latex/academia/lpm.toml
@@ -5,12 +5,30 @@ section = '''
 %! TEX root = ../../../%INIT_APPLICATION_NAME.tex
 % LTeX: language=%INIT_LANGUAGE
 
-\section{REPLACMENT_SECTION_TITLE} % DATE
+\section{lpm::new_section_name} % lpm::current_date (lpm::current_chapter_name::title_case)
 '''
 
 chapter = '''
 %! TEX root = ../../%INIT_APPLICATION_NAME.tex
 % LTeX: language=%INIT_LANGUAGE
 
-\chapter{REPLACEMENT_CHAPTER}
+\chapter{lpm::new_chapter_name} % lpm::current_date
+'''
+
+figure = '''
+% LTeX: language=%INIT_LANGUAGE
+\documentclass[varwidth]{standalone}
+
+\input{../headers/preamble.tex}
+\input{../headers/preamble_local.tex}
+
+\usepackage{tikz}
+
+\begin{document} % lpm::current_date (lpm::new_figure_name)
+
+\begin{tizkpicture}
+    \node at (0,0) {Hello world!};
+\end{tikzpicture}
+
+\end{document}
 '''