Bopytex/example/usecase/tpl_example.tex

37 lines
566 B
TeX
Raw Permalink Normal View History

\documentclass[12pt]{article}
\title{Bopytex with Mapytex example -- \Var{ subject.number }}
2022-07-19 16:09:17 +00:00
% solution/print = false
\begin{document}
\maketitle
%- set e = Expression.random("{a} + {b}")
\Var{e}
\Var{e.simplify()}
\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}