From f70be7ccd3ce7f438dcf061df1d2e75c34ea47da 2013-09-23 17:47:20 From: Jonathan Frederic <jdfreder@calpoly.edu> Date: 2013-09-23 17:47:20 Subject: [PATCH] Added black and white python style --- diff --git a/IPython/nbconvert/templates/latex/bw_python_style.tplx b/IPython/nbconvert/templates/latex/bw_python_style.tplx new file mode 100644 index 0000000..5371025 --- /dev/null +++ b/IPython/nbconvert/templates/latex/bw_python_style.tplx @@ -0,0 +1,13 @@ +((= Black&white Python input/output style =)) + +((*- extends 'latex_base.tplx' -*)) + +%=============================================================================== +% Input +%=============================================================================== + +((* block input scoped *)) +\begin{verbatim} +((( cell.input | add_prompts ))) +\end{verbatim} +((* endblock input *))