/
latex_nrpy_style.tplx
33 lines (29 loc) · 1.08 KB
/
latex_nrpy_style.tplx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% Based on http://nbviewer.jupyter.org/github/ipython/nbconvert-examples/blob/master/citations/Tutorial.ipynb , authored by Brian E. Granger
((*- extends 'style_jupyter.tex.j2' -*))
((* block docclass *))
% Declare the document class
\documentclass[landscape,letterpaper,10pt,english]{article}
((* endblock docclass *))
% ((* block Xauthor *))
% \author{Zachariah Etienne}
% ((* endblock Xauthor *))
% ((* block Xbibliography *))
% \bibliographystyle{unsrt}
% \bibliography{ipython}
% ((* endblock Xbibliography *))
((* block commands *))
% Start the section counter at -1, so the Table of Contents is Section 0
\setcounter{section}{-2}
% Prevent overflowing lines due to hard-to-break entities
\sloppy
% Setup hyperref package
\hypersetup{
breaklinks=true, % so long urls are correctly broken across lines
colorlinks=true,
urlcolor=urlcolor,
linkcolor=linkcolor,
citecolor=citecolor,
}
% Slightly bigger margins than the latex defaults
\geometry{verbose,tmargin=0.5in,bmargin=0.5in,lmargin=0.5in,rmargin=0.5in}
((* endblock commands *))