Show More
@@ -182,3 +182,8 b' This template does not define a docclass, the inheriting class must define this.' | |||||
182 | % Don't display unknown types |
|
182 | % Don't display unknown types | |
183 | ((* block unknowncell scoped *)) |
|
183 | ((* block unknowncell scoped *)) | |
184 | ((* endblock unknowncell *)) |
|
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 | % Add contents below. |
|
87 | % Add contents below. | |
88 |
|
88 | |||
89 | \begin{ColorVerbatim} |
|
89 | \begin{ColorVerbatim} | |
90 | ((( cell.input | highlight2latex ))) |
|
90 | \smaller{\leavevmode\hspace*{-0.1\linewidth}((( super() ))) | |
91 | \end{ColorVerbatim} |
|
91 | \end{ColorVerbatim} | |
92 | ((* endblock input *)) |
|
92 | ((* endblock input *)) | |
93 |
|
93 |
@@ -10,11 +10,6 b'' | |||||
10 | ((( write_prompt('Input') ))) |
|
10 | ((( write_prompt('Input') ))) | |
11 | ((*- endblock in_prompt -*)) |
|
11 | ((*- endblock in_prompt -*)) | |
12 |
|
12 | |||
13 | ((*- block input scoped -*)) |
|
|||
14 | % Add contents below. |
|
|||
15 | ((( cell.input | highlight2latex ))) |
|
|||
16 | ((*- endblock input -*)) |
|
|||
17 |
|
||||
18 | ((*- block input_group scoped -*)) |
|
13 | ((*- block input_group scoped -*)) | |
19 | (((- super() ))) |
|
14 | (((- super() ))) | |
20 | \vspace{-2em} |
|
15 | \vspace{-2em} |
General Comments 0
You need to be logged in to leave comments.
Login now