##// END OF EJS Templates
Post review with Min, Fernando, and Brian. Simplification...
Jonathan Frederic -
Show More
@@ -1,7 +1,7 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 = 'style_bw_ipython.tplx' *))
4 ((* set cell_style = 'style_ipython.tplx' *))
5 ((* endif *))
5 ((* endif *))
6
6
7 % Inherit from the specified cell style.
7 % Inherit from the specified cell style.
@@ -3,12 +3,15 b' This template builds upon the abstract template, adding common latex output'
3 functions. Figures, data_text,
3 functions. Figures, data_text,
4 This template does not define a docclass, the inheriting class must define this.=))
4 This template does not define a docclass, the inheriting class must define this.=))
5
5
6 ((*- extends 'abstract.tplx' -*))
6 ((*- extends 'display_priority.tplx' -*))
7
7
8 %===============================================================================
8 %===============================================================================
9 % Abstract overrides
9 % Abstract overrides
10 %===============================================================================
10 %===============================================================================
11
11
12 ((* block header *))
13 ((* block docclass *))((* endblock docclass *))
14
12 ((* block packages *))
15 ((* block packages *))
13 \usepackage{graphicx} % Used to insert images
16 \usepackage{graphicx} % Used to insert images
14 \usepackage{adjustbox} % Used to constrain images to a maximum size
17 \usepackage{adjustbox} % Used to constrain images to a maximum size
@@ -22,7 +25,6 b' This template does not define a docclass, the inheriting class must define this.'
22 \usepackage{fancyvrb} % verbatim replacement that allows latex
25 \usepackage{fancyvrb} % verbatim replacement that allows latex
23 \usepackage{grffile} % extends the file name processing of package graphics
26 \usepackage{grffile} % extends the file name processing of package graphics
24 %to support a larger range
27 % to support a larger range
25
26 % The hyperref package gives us a pdf with properly built
28 % The hyperref package gives us a pdf with properly built
27 % internal navigation ('pdf bookmarks' for the table of contents,
29 % internal navigation ('pdf bookmarks' for the table of contents,
28 % internal cross-reference links, web links for URLs, etc.)
30 % internal cross-reference links, web links for URLs, etc.)
@@ -30,7 +32,6 b' This template does not define a docclass, the inheriting class must define this.'
30 ((* endblock packages *))
32 ((* endblock packages *))
31
33
32 ((* block definitions *))
34 ((* block definitions *))
33
34 \definecolor{orange}{cmyk}{0,0.4,0.8,0.2}
35 \definecolor{orange}{cmyk}{0,0.4,0.8,0.2}
35 \definecolor{darkorange}{rgb}{.71,0.21,0.01}
36 \definecolor{darkorange}{rgb}{.71,0.21,0.01}
36 \definecolor{darkgreen}{rgb}{.12,.54,.11}
37 \definecolor{darkgreen}{rgb}{.12,.54,.11}
@@ -41,7 +42,6 b' This template does not define a docclass, the inheriting class must define this.'
41 \definecolor{inputbackground}{rgb}{.95, .95, .85}
42 \definecolor{inputbackground}{rgb}{.95, .95, .85}
42 \definecolor{outputbackground}{rgb}{.95, .95, .95}
43 \definecolor{outputbackground}{rgb}{.95, .95, .95}
43 \definecolor{traceback}{rgb}{1, .95, .95}
44 \definecolor{traceback}{rgb}{1, .95, .95}
44
45 % new ansi colors
45 % new ansi colors
46 \definecolor{brown}{rgb}{0.54,0.27,0.07}
46 \definecolor{brown}{rgb}{0.54,0.27,0.07}
47 \definecolor{purple}{rgb}{0.5,0.0,0.5}
47 \definecolor{purple}{rgb}{0.5,0.0,0.5}
@@ -51,15 +51,12 b' This template does not define a docclass, the inheriting class must define this.'
51 \definecolor{lightblue}{rgb}{0.53,0.81,0.92}
51 \definecolor{lightblue}{rgb}{0.53,0.81,0.92}
52 \definecolor{lightpurple}{rgb}{0.87,0.63,0.87}
52 \definecolor{lightpurple}{rgb}{0.87,0.63,0.87}
53 \definecolor{lightcyan}{rgb}{0.5,1.0,0.83}
53 \definecolor{lightcyan}{rgb}{0.5,1.0,0.83}
54
55 % Define a nice break command that doesn't care if a line doesn't already
54 % Define a nice break command that doesn't care if a line doesn't already
56 % exist.
55 % exist.
57 \def\br{\hspace*{\fill} \\* }
56 \def\br{\hspace*{\fill} \\* }
58
59 % Math Jax compatability definitions
57 % Math Jax compatability definitions
60 \def\gt{>}
58 \def\gt{>}
61 \def\lt{<}
59 \def\lt{<}
62
63 % Document parameters
60 % Document parameters
64 ((* block title *))\title{((( resources.metadata.name | escape_latex )))}((* endblock title *))
61 ((* block title *))\title{((( resources.metadata.name | escape_latex )))}((* endblock title *))
65 ((* block date *))((* endblock date *))
62 ((* block date *))((* endblock date *))
@@ -67,8 +64,8 b' This template does not define a docclass, the inheriting class must define this.'
67 ((* endblock definitions *))
64 ((* endblock definitions *))
68
65
69 ((* block commands *))
66 ((* block commands *))
70 \sloppy % Prevent overflowing lines due to hard-to-break entities
67 % Prevent overflowing lines due to hard-to-break entities
71
68 \sloppy
72 % Setup hyperref package
69 % Setup hyperref package
73 \hypersetup{
70 \hypersetup{
74 breaklinks=true, % so long urls are correctly broken across lines
71 breaklinks=true, % so long urls are correctly broken across lines
@@ -77,18 +74,30 b' This template does not define a docclass, the inheriting class must define this.'
77 linkcolor=darkorange,
74 linkcolor=darkorange,
78 citecolor=darkgreen,
75 citecolor=darkgreen,
79 }
76 }
80
81 % Slightly bigger margins than the latex defaults
77 % Slightly bigger margins than the latex defaults
82 ((* block margins *))
78 ((* block margins *))
83 \geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
79 \geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
84 ((* endblock margins *))
80 ((* endblock margins *))
85 ((* endblock commands *))
81 ((* endblock commands *))
82 ((* endblock header *))
83
84 ((* block body *))
85 \begin{document}
86
86
87 ((* block predoc *))
87 ((* block predoc *))
88 ((* block maketitle *))\maketitle((* endblock maketitle *))
88 ((* block maketitle *))\maketitle((* endblock maketitle *))
89 ((* block abstract *))((* endblock abstract *))
89 ((* block abstract *))((* endblock abstract *))
90 ((* endblock predoc *))
90 ((* endblock predoc *))
91
91
92 ((( super() )))
93
94 % Add a bibliography block to the postdoc
95 ((* block postdoc *))
96 ((* block bibliography *))((* endblock bibliography *))
97 ((* endblock postdoc *))
98 \end{document}
99 ((* endblock body *))
100
92 %===============================================================================
101 %===============================================================================
93 % Support blocks
102 % Support blocks
94 %===============================================================================
103 %===============================================================================
@@ -186,8 +195,3 b' This template does not define a docclass, the inheriting class must define this.'
186 % Don't display unknown types
195 % Don't display unknown types
187 ((* block unknowncell scoped *))
196 ((* block unknowncell scoped *))
188 ((* endblock unknowncell *))
197 ((* endblock unknowncell *))
189
190 % Add a bibliography block to the postdoc
191 ((* block postdoc *))
192 ((* block bibliography *))((* endblock bibliography *))
193 ((* endblock postdoc *)) No newline at end of file
1 NO CONTENT: modified file
NO CONTENT: modified file
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now