##// END OF EJS Templates
Moved pygments logic to latex base.
Jonathan Frederic -
Show More
@@ -182,3 +182,8 b' This template does not define a docclass, the inheriting class must define this.'
182 182 % Don't display unknown types
183 183 ((* block unknowncell scoped *))
184 184 ((* endblock unknowncell *))
185
186 % Render code using pygments
187 ((* block input scoped *))
188 ((( cell.input | highlight2latex )))
189 ((* endblock input *)) No newline at end of file
@@ -87,7 +87,7 b''
87 87 % Add contents below.
88 88
89 89 \begin{ColorVerbatim}
90 ((( cell.input | highlight2latex )))
90 \smaller{\leavevmode\hspace*{-0.1\linewidth}((( super() )))
91 91 \end{ColorVerbatim}
92 92 ((* endblock input *))
93 93
@@ -10,11 +10,6 b''
10 10 ((( write_prompt('Input') )))
11 11 ((*- endblock in_prompt -*))
12 12
13 ((*- block input scoped -*))
14 % Add contents below.
15 ((( cell.input | highlight2latex )))
16 ((*- endblock input -*))
17
18 13 ((*- block input_group scoped -*))
19 14 (((- super() )))
20 15 \vspace{-2em}
General Comments 0
You need to be logged in to leave comments. Login now