##// END OF EJS Templates
Enable automatic line breaks in MathJax.
Enable automatic line breaks in MathJax.

File last commit:

r12742:c74425a8
r12803:e51d4d02
Show More
style_python.tplx
21 lines | 600 B | text/plain | TextLexer
Jonathan Frederic
Added python style
r12713 ((= Python input/output style =))
((*- extends 'latex_base.tplx' -*))
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
Jonathan Frederic
s/pygment/pygments
r12742 ((( resources.latex.pygments_definitions )))
Jonathan Frederic
Added python style
r12713 ((* endblock definitions *))
Jonathan Frederic
Cleanup code spacing
r12714
Jonathan Frederic
Added python style
r12713 %===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
Jonathan Frederic
Add strip_verbatim to latex highlight
r12717 ((( cell.input | highlight2latex(strip_verbatim=True) | add_prompts )))
Jonathan Frederic
Added python style
r12713 \end{Verbatim}
((* endblock input *))