##// END OF EJS Templates
Added python style
Jonathan Frederic -
Show More
@@ -0,0 +1,22 b''
1 ((= Python input/output style =))
2
3 ((*- extends 'latex_base.tplx' -*))
4
5 % Custom definitions
6 ((* block definitions *))
7 ((( super() )))
8
9 % Pygments definitions
10 ((( resources.latex.pygment_definitions )))
11
12
13 ((* endblock definitions *))
14 %===============================================================================
15 % Input
16 %===============================================================================
17
18 ((* block input scoped *))
19 \begin{Verbatim}[commandchars=\\\{\}]
20 ((( cell.input | highlight2latex | replace('\\begin{Verbatim}[commandchars=\\\\\\{\\}]\n', '') | replace('\n\\end{Verbatim}\n', '') | add_prompts )))
21 \end{Verbatim}
22 ((* endblock input *))
General Comments 0
You need to be logged in to leave comments. Login now