##// END OF EJS Templates
change default cell style to ipython and s/book/report
Jonathan Frederic -
Show More
@@ -1,17 +1,17 b''
1
1
2 % Default to the notebook output style
2 % Default to the notebook output style
3 ((* if not cell_style is defined *))
3 ((* if not cell_style is defined *))
4 ((* set cell_style = 'notebook_style.tplx' *))
4 ((* set cell_style = 'ipython_style.tplx' *))
5 ((* endif *))
5 ((* endif *))
6
6
7 % Inherit from the specified cell style.
7 % Inherit from the specified cell style.
8 ((* extends cell_style *))
8 ((* extends cell_style *))
9
9
10
10
11 %===============================================================================
11 %===============================================================================
12 % Latex Article
12 % Latex Article
13 %===============================================================================
13 %===============================================================================
14
14
15 ((* block docclass *))
15 ((* block docclass *))
16 \documentclass{article}
16 \documentclass{article}
17 ((* endblock docclass *)) No newline at end of file
17 ((* endblock docclass *))
@@ -1,29 +1,29 b''
1
1
2 % Default to the notebook output style
2 % Default to the notebook output style
3 ((* if not cell_style is defined *))
3 ((* if not cell_style is defined *))
4 ((* set cell_style = 'notebook_style.tplx' *))
4 ((* set cell_style = 'ipython_style.tplx' *))
5 ((* endif *))
5 ((* endif *))
6
6
7 % Inherit from the specified cell style.
7 % Inherit from the specified cell style.
8 ((* extends cell_style *))
8 ((* extends cell_style *))
9
9
10
10
11 %===============================================================================
11 %===============================================================================
12 % Latex Book
12 % Latex Book
13 %===============================================================================
13 %===============================================================================
14
14
15 ((* block predoc *))
15 ((* block predoc *))
16 ((( super() )))
16 ((( super() )))
17 ((* block tableofcontents *))\tableofcontents((* endblock tableofcontents *))
17 ((* block tableofcontents *))\tableofcontents((* endblock tableofcontents *))
18 ((* endblock predoc *))
18 ((* endblock predoc *))
19
19
20 ((* block docclass *))
20 ((* block docclass *))
21 \documentclass{book}
21 \documentclass{report}
22 ((* endblock docclass *))
22 ((* endblock docclass *))
23
23
24 ((* block h1 -*))\part((* endblock h1 -*))
24 ((* block h1 -*))\part((* endblock h1 -*))
25 ((* block h2 -*))\chapter((* endblock h2 -*))
25 ((* block h2 -*))\chapter((* endblock h2 -*))
26 ((* block h3 -*))\section((* endblock h3 -*))
26 ((* block h3 -*))\section((* endblock h3 -*))
27 ((* block h4 -*))\subsection((* endblock h4 -*))
27 ((* block h4 -*))\subsection((* endblock h4 -*))
28 ((* block h5 -*))\subsubsection((* endblock h5 -*))
28 ((* block h5 -*))\subsubsection((* endblock h5 -*))
29 ((* block h6 -*))\paragraph((* endblock h6 -*)) No newline at end of file
29 ((* block h6 -*))\paragraph((* endblock h6 -*))
@@ -1,44 +1,38 b''
1
2 % Default to the python output style
3 ((* if not cell_style is defined *))
4 ((* set cell_style = 'python_style.tplx' *))
5 ((* endif *))
6
7 ((* extends 'latex_article.tplx' *))
1 ((* extends 'latex_article.tplx' *))
8
2
9 %===============================================================================
3 %===============================================================================
10 % Latex Sphinx Article
4 % Latex Sphinx Article
11 %===============================================================================
5 %===============================================================================
12
6
13 ((* block docclass *))
7 ((* block docclass *))
14 % Make sure that the sphinx doc style knows who it inherits from.
8 % Make sure that the sphinx doc style knows who it inherits from.
15 \def\sphinxdocclass{article}
9 \def\sphinxdocclass{article}
16
10
17 % Declare the document class
11 % Declare the document class
18 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxhowto}
12 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxhowto}
19 ((* endblock docclass *))
13 ((* endblock docclass *))
20
14
21 ((* block packages *))
15 ((* block packages *))
22 ((* block chstyle *))
16 ((* block chstyle *))
23 \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
17 \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
24 ((* endblock chstyle *))
18 ((* endblock chstyle *))
25
19
26 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
20 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
27
21
28 ((( super() )))
22 ((( super() )))
29 ((* endblock packages *))
23 ((* endblock packages *))
30
24
31 ((* block commands *))
25 ((* block commands *))
32 ((( super() )))
26 ((( super() )))
33
27
34 % Override to specify your own logo
28 % Override to specify your own logo
35 ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *))
29 ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *))
36
30
37 % Make the index page of the document.
31 % Make the index page of the document.
38 \makeindex
32 \makeindex
39
33
40 ((* endblock commands *))
34 ((* endblock commands *))
41
35
42 % Work around to fix vertical spacing issues with the notebook style.
36 % Work around to fix vertical spacing issues with the notebook style.
43 ((* block extra_input_spacing *))\vspace{-1\baselineskip}((* endblock extra_input_spacing *))
37 ((* block extra_input_spacing *))\vspace{-1\baselineskip}((* endblock extra_input_spacing *))
44 ((* block extra_output_spacing *))\vspace{-0.6\baselineskip}((* endblock extra_output_spacing *))
38 ((* block extra_output_spacing *))\vspace{-0.6\baselineskip}((* endblock extra_output_spacing *))
@@ -1,44 +1,38 b''
1
2 % Default to the python output style
3 ((* if not cell_style is defined *))
4 ((* set cell_style = 'python_style.tplx' *))
5 ((* endif *))
6
7 ((* extends 'latex_book.tplx' *))
1 ((* extends 'latex_book.tplx' *))
8
2
9 %===============================================================================
3 %===============================================================================
10 % Latex Sphinx Book
4 % Latex Sphinx Book
11 %===============================================================================
5 %===============================================================================
12
6
13 ((* block docclass *))
7 ((* block docclass *))
14 % Make sure that the sphinx doc style knows who it inherits from.
8 % Make sure that the sphinx doc style knows who it inherits from.
15 \def\sphinxdocclass{report}
9 \def\sphinxdocclass{report}
16
10
17 % Declare the document class
11 % Declare the document class
18 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxmanual}
12 \documentclass[letterpaper,10pt,english]{((( resources.sphinx.texinputs | posix_path )))/sphinxmanual}
19 ((* endblock docclass *))
13 ((* endblock docclass *))
20
14
21 ((* block packages *))
15 ((* block packages *))
22 ((* block chstyle *))
16 ((* block chstyle *))
23 \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
17 \usepackage[Bjarne]{((( resources.sphinx.texinputs | posix_path )))/fncychap}
24 ((* endblock chstyle *))
18 ((* endblock chstyle *))
25
19
26 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
20 \usepackage{((( resources.sphinx.texinputs | posix_path )))/sphinx}
27
21
28 ((( super() )))
22 ((( super() )))
29 ((* endblock packages *))
23 ((* endblock packages *))
30
24
31 ((* block commands *))
25 ((* block commands *))
32 ((( super() )))
26 ((( super() )))
33
27
34 % Override to specify your own logo
28 % Override to specify your own logo
35 ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *))
29 ((* block logo *))\newcommand{\sphinxlogo}{}((* endblock logo *))
36
30
37 % Make the index page of the document.
31 % Make the index page of the document.
38 \makeindex
32 \makeindex
39
33
40 ((* endblock commands *))
34 ((* endblock commands *))
41
35
42 % Work around to fix vertical spacing issues with the notebook style.
36 % Work around to fix vertical spacing issues with the notebook style.
43 ((* block extra_input_spacing *))\vspace{-1\baselineskip}((* endblock extra_input_spacing *))
37 ((* block extra_input_spacing *))\vspace{-1\baselineskip}((* endblock extra_input_spacing *))
44 ((* block extra_output_spacing *))\vspace{-0.6\baselineskip}((* endblock extra_output_spacing *))
38 ((* 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