##// END OF EJS Templates
Added notebook style vspace work-around
Jonathan Frederic -
Show More
@@ -1,40 +1,44 b''
1
1
2 % Default to the python output style
2 % Default to the python output style
3 ((* if not cell_style is defined *))
3 ((* if not cell_style is defined *))
4 ((* set cell_style = 'python_style.tplx' *))
4 ((* set cell_style = 'python_style.tplx' *))
5 ((* endif *))
5 ((* endif *))
6
6
7 ((* extends 'latex_article.tplx' *))
7 ((* extends 'latex_article.tplx' *))
8
8
9 %===============================================================================
9 %===============================================================================
10 % Latex Sphinx Article
10 % Latex Sphinx Article
11 %===============================================================================
11 %===============================================================================
12
12
13 ((* block docclass *))
13 ((* block docclass *))
14 % Make sure that the sphinx doc style knows who it inherits from.
14 % Make sure that the sphinx doc style knows who it inherits from.
15 \def\sphinxdocclass{article}
15 \def\sphinxdocclass{article}
16
16
17 % Declare the document class
17 % Declare the document class
18 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxhowto}
18 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxhowto}
19 ((* endblock docclass *))
19 ((* endblock docclass *))
20
20
21 ((* block packages *))
21 ((* block packages *))
22 ((* block chstyle *))
22 ((* block chstyle *))
23 \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
23 \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
24 ((* endblock chstyle *))
24 ((* endblock chstyle *))
25
25
26 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
26 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
27
27
28 ((( super() )))
28 ((( super() )))
29 ((* endblock packages *))
29 ((* endblock packages *))
30
30
31 ((* block commands *))
31 ((* block commands *))
32 ((( super() )))
32 ((( super() )))
33
33
34 % Override to specify your own logo
34 % Override to specify your own logo
35 ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *))
35 ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *))
36
36
37 % Make the index page of the document.
37 % Make the index page of the document.
38 \makeindex
38 \makeindex
39
39
40 ((* endblock commands *))
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