Bopytex/example/simple/tpl_example.tex
Bertrand Benjamin a911b98520
All checks were successful
continuous-integration/drone/push Build is passing
Feat: produce joined_example.pdf for the two examples
2022-08-06 18:04:46 +02:00

45 lines
679 B
TeX

\documentclass[12pt]{article}
\title{Bopytex example -- \Var{ subject.number }}
\begin{document}
\maketitle
%- set a = 10
%- set n = 2
We have two variables
\begin{itemize}
\item a: \Var{a}
\item n: \Var{n}
\end{itemize}
%# We can use blocks
\begin{itemize}
%- for i in range(n)
\item \Var{a}
%- endfor
\end{itemize}
\section{Variables}
\subsection{subject}
\begin{itemize}
%- for k,v in subject.items()
\item
\begin{verbatim}
\Var{k}: \Var{v}
\end{verbatim}
%- endfor
\end{itemize}
\subsection{options}
\begin{itemize}
%- for k,v in options.items()
\item
\begin{verbatim}
\Var{k}: \Var{v}
\end{verbatim}
%- endfor
\end{itemize}
\end{document}