##// END OF EJS Templates
Finishing up results of in person review
Jonathan Frederic -
Show More
@@ -36,6 +36,6 b''
36 ((*- set prompt_number = "" ~ cell.prompt_number -*))
36 ((*- set prompt_number = "" ~ cell.prompt_number -*))
37 ((*- set prompt_number_replacement = "." * (prompt_number | length + 2) -*))
37 ((*- set prompt_number_replacement = "." * (prompt_number | length + 2) -*))
38 \begin{verbatim}
38 \begin{verbatim}
39 (((- text | add_prompts(first=prompt ~ '[' ~ prompt_number ~ ']: ', cont=' ' ~ prompt_number_replacement ~ ': ') -)))
39 (((- text | add_prompts(first=prompt ~ '[' ~ prompt_number ~ ']: ', cont='') -)))
40 \end{verbatim}
40 \end{verbatim}
41 ((*- endmacro *))
41 ((*- endmacro *))
@@ -9,16 +9,10 b''
9 % Pygments definitions
9 % Pygments definitions
10 ((( resources.latex.pygment_definitions )))
10 ((( resources.latex.pygment_definitions )))
11
11
12 % % Exact colors from ipy
12 % Exact colors from NB
13 % \definecolor{incolor}{rgb}{0.094, 0.698, 0.094}
13 \definecolor{incolor}{rgb}{0.0, 0.0, 0.5}
14 % \definecolor{lightincolor}{rgb}{0.329, 1.000, 0.329}
14 \definecolor{outcolor}{rgb}{0.545, 0.0, 0.0}
15 % \definecolor{outcolor}{rgb}{0.698, 0.094, 0.094}
15
16 % \definecolor{lightoutcolor}{rgb}{1.000, 0.329, 0.329}
17
18 \definecolor{incolor}{rgb}{0.1, 0.5, 0.1}
19 \definecolor{lightincolor}{rgb}{0.1, 0.7, 0.1}
20 \definecolor{outcolor}{rgb}{0.5, 0.1, 0.1}
21 \definecolor{lightoutcolor}{rgb}{0.7, 0.1, 0.1}
22 ((* endblock definitions *))
16 ((* endblock definitions *))
23
17
24 %===============================================================================
18 %===============================================================================
@@ -39,7 +33,7 b''
39 ((*- if type in ['text']*))
33 ((*- if type in ['text']*))
40 ((( add_prompt(output.text | escape_latex, cell, 'Out', 'outcolor') )))
34 ((( add_prompt(output.text | escape_latex, cell, 'Out', 'outcolor') )))
41 ((* else -*))
35 ((* else -*))
42 \texttt{\color{outcolor}Out[{\color{lightoutcolor}((( cell.prompt_number )))}]:}((( super() )))
36 \texttt{\color{outcolor}Out[{\color{outcolor}((( cell.prompt_number )))}]:}((( super() )))
43 ((*- endif -*))
37 ((*- endif -*))
44 ((*- endfor -*))
38 ((*- endfor -*))
45 ((* endblock pyout *))
39 ((* endblock pyout *))
@@ -55,6 +49,6 b''
55 ((*- set prompt_number = "" ~ cell.prompt_number -*))
49 ((*- set prompt_number = "" ~ cell.prompt_number -*))
56 ((*- set prompt_number_replacement = "." * (prompt_number | length + 2) -*))
50 ((*- set prompt_number_replacement = "." * (prompt_number | length + 2) -*))
57 \begin{Verbatim}[commandchars=\\\{\}]
51 \begin{Verbatim}[commandchars=\\\{\}]
58 ((( text | add_prompts(first='{\color{' ~ prompt_color ~ '}' ~ prompt ~ '[{\\color{light' ~ prompt_color ~ '}' ~ prompt_number ~ '}]:} ', cont=' {\color{' ~ prompt_color ~ '}' ~ prompt_number_replacement ~ ':} ') )))
52 ((( text | add_prompts(first='{\color{' ~ prompt_color ~ '}' ~ prompt ~ '[{\\color{' ~ prompt_color ~ '}' ~ prompt_number ~ '}]:} ', cont='') )))
59 \end{Verbatim}
53 \end{Verbatim}
60 ((*- endmacro *))
54 ((*- endmacro *))
@@ -82,6 +82,7 b' This template does not define a docclass, the inheriting class must define this.'
82
82
83 ((* block predoc *))
83 ((* block predoc *))
84 ((* block maketitle *))\maketitle((* endblock maketitle *))
84 ((* block maketitle *))\maketitle((* endblock maketitle *))
85 ((* block abstract *))((* endblock abstract *))
85 ((* endblock predoc *))
86 ((* endblock predoc *))
86
87
87 %===============================================================================
88 %===============================================================================
General Comments 0
You need to be logged in to leave comments. Login now