##// END OF EJS Templates
ipython_directive, report except/warn in block and add :okexcept: :okwarning: options to suppress
ipython_directive, report except/warn in block and add :okexcept: :okwarning: options to suppress

File last commit:

r13925:7a8be7be
r14779:8e7a5d1a
Show More
style_python.tplx
21 lines | 594 B | text/plain | TextLexer
((= 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.input | highlight2latex(strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))