Show More
@@ -10,8 +10,6 b'' | |||||
10 |
|
10 | |||
11 | ((*- extends 'display_priority.tplx' -*)) |
|
11 | ((*- extends 'display_priority.tplx' -*)) | |
12 |
|
12 | |||
13 | ((*- set wrap_size = 87 -*)) |
|
|||
14 |
|
||||
15 | % In order to make sure that the input/output header follows the code it |
|
13 | % In order to make sure that the input/output header follows the code it | |
16 | % preceeds, we have to use a minipage environment. This causes problems |
|
14 | % preceeds, we have to use a minipage environment. This causes problems | |
17 | % for large blocks of input and output. If there is a large input/output |
|
15 | % for large blocks of input and output. If there is a large input/output | |
@@ -22,6 +20,12 b'' | |||||
22 | % force the input/output bar to follow it around. |
|
20 | % force the input/output bar to follow it around. | |
23 | ((*- set min_header_lines = 3 -*)) |
|
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 | ((* block header *)) |
|
29 | ((* block header *)) | |
26 |
|
30 | |||
27 | % Header, overrides base |
|
31 | % Header, overrides base | |
@@ -46,8 +50,6 b'' | |||||
46 |
|
50 | |||
47 | \usepackage{amsmath} |
|
51 | \usepackage{amsmath} | |
48 | \usepackage{amssymb} |
|
52 | \usepackage{amssymb} | |
49 | \usepackage{graphicx} |
|
|||
50 | \graphicspath{ {figs/} } |
|
|||
51 | \usepackage{ucs} |
|
53 | \usepackage{ucs} | |
52 | \usepackage{enumerate} |
|
54 | \usepackage{enumerate} | |
53 |
|
55 | |||
@@ -55,14 +57,20 b'' | |||||
55 | \usepackage{fancyvrb} |
|
57 | \usepackage{fancyvrb} | |
56 | \usepackage{color} |
|
58 | \usepackage{color} | |
57 |
|
59 | |||
|
60 | % Used to load and display graphics | |||
|
61 | \usepackage{graphicx} | |||
|
62 | \graphicspath{ {figs/} } | |||
|
63 | ||||
58 | % For formatting output while also word wrapping. |
|
64 | % For formatting output while also word wrapping. | |
59 | \usepackage{listings} |
|
65 | \usepackage{listings} | |
60 | \lstset{breaklines=true} |
|
66 | \lstset{breaklines=true} | |
61 | \lstset{basicstyle=\small\ttfamily} |
|
67 | \lstset{basicstyle=\small\ttfamily} | |
|
68 | ||||
62 | %Pygments definitions |
|
69 | %Pygments definitions | |
63 | ((( resources.pygment_definitions ))) |
|
70 | ((( resources.pygment_definitions ))) | |
64 |
|
71 | |||
65 |
% |
|
72 | % Help prevent overflowing lines due to urls and other hard-to-break | |
|
73 | % entities. This doesn't catch everything... | |||
66 | \sloppy |
|
74 | \sloppy | |
67 |
|
75 | |||
68 | % Document level variables |
|
76 | % Document level variables | |
@@ -70,12 +78,15 b'' | |||||
70 | \date{((( nb.metadata._draft.date | escape_tex )))} |
|
78 | \date{((( nb.metadata._draft.date | escape_tex )))} | |
71 | \release{((( nb.metadata._draft.version | escape_tex )))} |
|
79 | \release{((( nb.metadata._draft.version | escape_tex )))} | |
72 | \author{((( nb.metadata._draft.author | escape_tex )))} |
|
80 | \author{((( nb.metadata._draft.author | escape_tex )))} | |
73 | \newcommand{\sphinxlogo}{} |
|
|||
74 | \renewcommand{\releasename}{((( nb.metadata._draft.release | escape_tex )))} |
|
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 | \makeindex |
|
87 | \makeindex | |
76 |
|
88 | |||
77 | ((* block sphinxheader *))((* endblock sphinxheader *)) |
|
89 | ((* block sphinxheader *))((* endblock sphinxheader *)) | |
78 |
|
||||
79 | ((* endblock header *)) |
|
90 | ((* endblock header *)) | |
80 |
|
91 | |||
81 | ((* block body *)) |
|
92 | ((* block body *)) |
General Comments 0
You need to be logged in to leave comments.
Login now