diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 12:26:52 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 12:26:52 +0200 |
commit | 8961c2bed80314d79c3d642765128d85632f18e4 (patch) | |
tree | c8235e22d3f7c96fb6538a69d6067ec2f83ce3b2 /templates/latex/presentation/lpm.toml | |
parent | feat(common/init): Safe the %INIT_ variables for later use (diff) | |
download | flake-templates-8961c2bed80314d79c3d642765128d85632f18e4.tar.gz flake-templates-8961c2bed80314d79c3d642765128d85632f18e4.zip |
feat(templates/latex/presentation): Init
Diffstat (limited to 'templates/latex/presentation/lpm.toml')
-rw-r--r-- | templates/latex/presentation/lpm.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/latex/presentation/lpm.toml b/templates/latex/presentation/lpm.toml new file mode 100644 index 0000000..56e40fb --- /dev/null +++ b/templates/latex/presentation/lpm.toml @@ -0,0 +1,37 @@ +main_file = "%INIT_APPLICATION_NAME.tex" + +[templates] +section = ''' +%! TEX root = ../../../%INIT_APPLICATION_NAME.tex +% LTeX: language=%INIT_LANGUAGE + +\begin{frame}{lpm::new_section_name} % lpm::current_date + \setbeamercolor{itemize/enumerate body}{fg=gray} + + \begin{enumerate}[<+-|alert@+>] + \item + \end{enumerate} +\end{frame} +''' + +chapter = """ +%! TEX root = ../../../%INIT_APPLICATION_NAME.tex +% LTeX: language=%INIT_LANGUAGE + +% Chapter (lpm::current_date) +\section{lpm::new_chapter_name} +""" + +figure = ''' +% LTeX: language=%INIT_LANGUAGE +\documentclass{standalone} + +\input{../headers/preamble.tex} +\input{../headers/preamble_local.tex} + +\begin{document} % lpm::current_date (lpm::new_figure_name) +\begin{tikzpicture} + \draw node[left] {ping?} (0,0) -- (3,0) node[right] {Pong!} ; +\end{tikzpicture} +\end{document} +''' |