blob: 28702c97e42df8fb7103b285c992fd5acd1757c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
main_file = "%INIT_APPLICATION_NAME.tex"
[templates]
section = '''
%! TEX root = ../../../%INIT_APPLICATION_NAME.tex
% LTeX: language=%INIT_LANGUAGE
\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{lpm::new_chapter_name} % lpm::current_date
'''
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}
'''
|