Show More
@@ -1,40 +1,44 b'' | |||
|
1 | 1 | |
|
2 | 2 | % Default to the python output style |
|
3 | 3 | ((* if not cell_style is defined *)) |
|
4 | 4 | ((* set cell_style = 'python_style.tplx' *)) |
|
5 | 5 | ((* endif *)) |
|
6 | 6 | |
|
7 | 7 | ((* extends 'latex_article.tplx' *)) |
|
8 | 8 | |
|
9 | 9 | %=============================================================================== |
|
10 | 10 | % Latex Sphinx Article |
|
11 | 11 | %=============================================================================== |
|
12 | 12 | |
|
13 | 13 | ((* block docclass *)) |
|
14 | 14 | % Make sure that the sphinx doc style knows who it inherits from. |
|
15 | 15 | \def\sphinxdocclass{article} |
|
16 | 16 | |
|
17 | 17 | % Declare the document class |
|
18 | 18 | \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxhowto} |
|
19 | 19 | ((* endblock docclass *)) |
|
20 | 20 | |
|
21 | 21 | ((* block packages *)) |
|
22 | 22 | ((* block chstyle *)) |
|
23 | 23 | \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap} |
|
24 | 24 | ((* endblock chstyle *)) |
|
25 | 25 | |
|
26 | 26 | \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx} |
|
27 | 27 | |
|
28 | 28 | ((( super() ))) |
|
29 | 29 | ((* endblock packages *)) |
|
30 | 30 | |
|
31 | 31 | ((* block commands *)) |
|
32 | 32 | ((( super() ))) |
|
33 | 33 | |
|
34 | 34 | % Override to specify your own logo |
|
35 | 35 | ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *)) |
|
36 | 36 | |
|
37 | 37 | % Make the index page of the document. |
|
38 | 38 | \makeindex |
|
39 | 39 | |
|
40 | 40 | ((* endblock commands *)) |
|
41 | ||
|
42 | % Work around to fix vertical spacing issues with the notebook style. | |
|
43 | ((* block extra_input_spacing *))\vspace{-1\baselineskip}((* endblock extra_input_spacing *)) | |
|
44 | ((* block extra_output_spacing *))\vspace{-0.6\baselineskip}((* endblock extra_output_spacing *)) |
General Comments 0
You need to be logged in to leave comments.
Login now