##// END OF EJS Templates
Latex book & article implementations
Jonathan Frederic -
Show More
@@ -0,0 +1,28 b''
1
2 %===============================================================================
3 % Cell style
4 %===============================================================================
5
6 % Default to the simple output style
7 ((* if not cell_style is defined *))
8 ((* set cell_style = 'simple_style.tplx' *))
9 ((* endif *))
10
11 % Inherit from the specified cell style.
12 ((* extends cell_style *))
13
14
15 %===============================================================================
16 % Latex Article
17 %===============================================================================
18
19 ((* block docclass *))
20 \documentclass{book}
21 ((* endblock docclass *))
22
23 ((* block h1 -*))\part((* endblock h1 -*))
24 ((* block h2 -*))\chapter((* endblock h2 -*))
25 ((* block h3 -*))\section((* endblock h3 -*))
26 ((* block h4 -*))\subsection((* endblock h4 -*))
27 ((* block h5 -*))\subsubsection((* endblock h5 -*))
28 ((* block h6 -*))\paragraph((* endblock h6 -*)) No newline at end of file
@@ -1,7 +1,21 b''
1 ((= Complex input/output style =))
2
1
3 ((*- if not cell_style is defined -*))
2 %===============================================================================
4 ((*- set cell_style = 'simple_style.tplx' -*))
3 % Cell style
5 ((*- endif -*))
4 %===============================================================================
6
5
7 ((*- extends cell_style -*))
6 % Default to the simple output style
7 ((* if not cell_style is defined *))
8 ((* set cell_style = 'notebook_style.tplx' *))
9 ((* endif *))
10
11 % Inherit from the specified cell style.
12 ((* extends cell_style *))
13
14
15 %===============================================================================
16 % Latex Article
17 %===============================================================================
18
19 ((* block docclass *))
20 \documentclass{article}
21 ((* endblock docclass *)) No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now