##// END OF EJS Templates
Re-arrange imports, added some comments, general cleaning.
Jonathan Frederic -
Show More
@@ -10,8 +10,6 b''
10 10
11 11 ((*- extends 'display_priority.tplx' -*))
12 12
13 ((*- set wrap_size = 87 -*))
14
15 13 % In order to make sure that the input/output header follows the code it
16 14 % preceeds, we have to use a minipage environment. This causes problems
17 15 % for large blocks of input and output. If there is a large input/output
@@ -22,6 +20,12 b''
22 20 % force the input/output bar to follow it around.
23 21 ((*- set min_header_lines = 3 -*))
24 22
23 % This is the number of characters that are permitted per line. It's
24 % important that this limit is set so characters do not run off the
25 % edges of latex pages (since latex does not always seem smart enough
26 % to prevent this.)
27 ((*- set wrap_size = 87 -*))
28
25 29 ((* block header *))
26 30
27 31 % Header, overrides base
@@ -46,8 +50,6 b''
46 50
47 51 \usepackage{amsmath}
48 52 \usepackage{amssymb}
49 \usepackage{graphicx}
50 \graphicspath{ {figs/} }
51 53 \usepackage{ucs}
52 54 \usepackage{enumerate}
53 55
@@ -55,14 +57,20 b''
55 57 \usepackage{fancyvrb}
56 58 \usepackage{color}
57 59
60 % Used to load and display graphics
61 \usepackage{graphicx}
62 \graphicspath{ {figs/} }
63
58 64 % For formatting output while also word wrapping.
59 65 \usepackage{listings}
60 66 \lstset{breaklines=true}
61 67 \lstset{basicstyle=\small\ttfamily}
68
62 69 %Pygments definitions
63 70 ((( resources.pygment_definitions )))
64 71
65 % Prevent overflowing lines due to urls and other hard-to-break entities.
72 % Help prevent overflowing lines due to urls and other hard-to-break
73 % entities. This doesn't catch everything...
66 74 \sloppy
67 75
68 76 % Document level variables
@@ -70,12 +78,15 b''
70 78 \date{((( nb.metadata._draft.date | escape_tex )))}
71 79 \release{((( nb.metadata._draft.version | escape_tex )))}
72 80 \author{((( nb.metadata._draft.author | escape_tex )))}
73 \newcommand{\sphinxlogo}{}
74 81 \renewcommand{\releasename}{((( nb.metadata._draft.release | escape_tex )))}
82
83 % TODO: Add option for the user to specify a logo for his/her export.
84 \newcommand{\sphinxlogo}{}
85
86 % Make the index page of the document.
75 87 \makeindex
76 88
77 89 ((* block sphinxheader *))((* endblock sphinxheader *))
78
79 90 ((* endblock header *))
80 91
81 92 ((* block body *))
General Comments 0
You need to be logged in to leave comments. Login now