2022-05-04 16:00:54 +00:00
|
|
|
% vim:ft=tex:
|
|
|
|
%
|
|
|
|
\documentclass[12pt]{article}
|
|
|
|
|
2022-07-19 14:37:14 +00:00
|
|
|
\title{Bopytex example -- \Var{ number }}
|
2022-05-04 16:00:54 +00:00
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\maketitle
|
2022-07-19 14:37:14 +00:00
|
|
|
%- 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}
|
2022-05-04 16:00:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
\end{document}
|