((= Python input/output style =)) ((*- extends 'base.tplx' -*)) % Custom definitions ((* block definitions *)) ((( super() ))) % Pygments definitions ((( resources.latex.pygments_definitions ))) ((* endblock definitions *)) %=============================================================================== % Input %=============================================================================== ((* block input scoped *)) \begin{Verbatim}[commandchars=\\\{\}] ((( cell.source | highlight_code(strip_verbatim=True) | add_prompts ))) \end{Verbatim} ((* endblock input *))