Skip to content

Commit 2bccf1d

Browse files
adding first draft of pdf
1 parent ded75ee commit 2bccf1d

File tree

2 files changed

+227
-0
lines changed

2 files changed

+227
-0
lines changed

PDF/June82013.pdf

3.4 MB
Binary file not shown.

PDF/master.tex

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
2+
3+
4+
% Header, overrides base
5+
6+
% Make sure that the sphinx doc style knows who it inherits from.
7+
8+
% Declare the document class
9+
\documentclass[letterpaper,10pt,english]{book}
10+
11+
% Imports
12+
%\usepackage[utf8]{inputenc}
13+
%\DeclareUnicodeCharacter{00A0}{\\nobreakspace}
14+
\usepackage{babel}
15+
\usepackage{times}
16+
\usepackage{import}
17+
\usepackage[Bjarne]{/usr/local/Cellar/python/2.7.3/lib/python2.7/site-packages/Sphinx-1.1.3-py2.7.egg/sphinx/texinputs/fncychap}
18+
\usepackage{longtable}
19+
\usepackage{/usr/local/Cellar/python/2.7.3/lib/python2.7/site-packages/Sphinx-1.1.3-py2.7.egg/sphinx/texinputs/sphinx}
20+
\usepackage{multirow}
21+
22+
\usepackage{amsmath}
23+
\usepackage{amssymb}
24+
\usepackage{ucs}
25+
\usepackage{enumerate}
26+
27+
% Used to make the Input/Output rules follow around the contents.
28+
\usepackage{needspace}
29+
30+
% Pygments requirements
31+
\usepackage{fancyvrb}
32+
\usepackage{color}
33+
34+
% Needed to box output/input
35+
\usepackage{tikz}
36+
\usetikzlibrary{calc,arrows,shadows}
37+
\usepackage[framemethod=tikz]{mdframed}
38+
39+
\usepackage{alltt}
40+
41+
% Used to load and display graphics
42+
\usepackage{graphicx}
43+
\graphicspath{ {figs/} }
44+
\usepackage[Export]{adjustbox} % To resize
45+
46+
47+
% For formatting output while also word wrapping.
48+
\usepackage{listings}
49+
\lstset{breaklines=true}
50+
\lstset{basicstyle=\small\ttfamily}
51+
\def\smaller{\fontsize{9.5pt}{9.5pt}\selectfont}
52+
53+
%Pygments definitions
54+
55+
\makeatletter
56+
\def\PY@reset{\let\PY@it=\relax \let\PY@bf=\relax%
57+
\let\PY@ul=\relax \let\PY@tc=\relax%
58+
\let\PY@bc=\relax \let\PY@ff=\relax}
59+
\def\PY@tok#1{\csname PY@tok@#1\endcsname}
60+
\def\PY@toks#1+{\ifx\relax#1\empty\else%
61+
\PY@tok{#1}\expandafter\PY@toks\fi}
62+
\def\PY@do#1{\PY@bc{\PY@tc{\PY@ul{%
63+
\PY@it{\PY@bf{\PY@ff{#1}}}}}}}
64+
\def\PY#1#2{\PY@reset\PY@toks#1+\relax+\PY@do{#2}}
65+
66+
\expandafter\def\csname PY@tok@gd\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
67+
\expandafter\def\csname PY@tok@gu\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
68+
\expandafter\def\csname PY@tok@gt\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.25,0.82}{##1}}}
69+
\expandafter\def\csname PY@tok@gs\endcsname{\let\PY@bf=\textbf}
70+
\expandafter\def\csname PY@tok@gr\endcsname{\def\PY@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
71+
\expandafter\def\csname PY@tok@cm\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
72+
\expandafter\def\csname PY@tok@vg\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
73+
\expandafter\def\csname PY@tok@m\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
74+
\expandafter\def\csname PY@tok@mh\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
75+
\expandafter\def\csname PY@tok@go\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.50,0.50,0.50}{##1}}}
76+
\expandafter\def\csname PY@tok@ge\endcsname{\let\PY@it=\textit}
77+
\expandafter\def\csname PY@tok@vc\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
78+
\expandafter\def\csname PY@tok@il\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
79+
\expandafter\def\csname PY@tok@cs\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
80+
\expandafter\def\csname PY@tok@cp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.74,0.48,0.00}{##1}}}
81+
\expandafter\def\csname PY@tok@gi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.63,0.00}{##1}}}
82+
\expandafter\def\csname PY@tok@gh\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
83+
\expandafter\def\csname PY@tok@ni\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.60,0.60,0.60}{##1}}}
84+
\expandafter\def\csname PY@tok@nl\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.63,0.63,0.00}{##1}}}
85+
\expandafter\def\csname PY@tok@nn\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
86+
\expandafter\def\csname PY@tok@no\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
87+
\expandafter\def\csname PY@tok@na\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.49,0.56,0.16}{##1}}}
88+
\expandafter\def\csname PY@tok@nb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
89+
\expandafter\def\csname PY@tok@nc\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
90+
\expandafter\def\csname PY@tok@nd\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
91+
\expandafter\def\csname PY@tok@ne\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.82,0.25,0.23}{##1}}}
92+
\expandafter\def\csname PY@tok@nf\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
93+
\expandafter\def\csname PY@tok@si\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.53}{##1}}}
94+
\expandafter\def\csname PY@tok@s2\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
95+
\expandafter\def\csname PY@tok@vi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
96+
\expandafter\def\csname PY@tok@nt\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
97+
\expandafter\def\csname PY@tok@nv\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
98+
\expandafter\def\csname PY@tok@s1\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
99+
\expandafter\def\csname PY@tok@sh\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
100+
\expandafter\def\csname PY@tok@sc\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
101+
\expandafter\def\csname PY@tok@sx\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
102+
\expandafter\def\csname PY@tok@bp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
103+
\expandafter\def\csname PY@tok@c1\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
104+
\expandafter\def\csname PY@tok@kc\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
105+
\expandafter\def\csname PY@tok@c\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
106+
\expandafter\def\csname PY@tok@mf\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
107+
\expandafter\def\csname PY@tok@err\endcsname{\def\PY@bc##1{\setlength{\fboxsep}{0pt}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}
108+
\expandafter\def\csname PY@tok@kd\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
109+
\expandafter\def\csname PY@tok@ss\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
110+
\expandafter\def\csname PY@tok@sr\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.53}{##1}}}
111+
\expandafter\def\csname PY@tok@mo\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
112+
\expandafter\def\csname PY@tok@kn\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
113+
\expandafter\def\csname PY@tok@mi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
114+
\expandafter\def\csname PY@tok@gp\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
115+
\expandafter\def\csname PY@tok@o\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
116+
\expandafter\def\csname PY@tok@kr\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
117+
\expandafter\def\csname PY@tok@s\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
118+
\expandafter\def\csname PY@tok@kp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
119+
\expandafter\def\csname PY@tok@w\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
120+
\expandafter\def\csname PY@tok@kt\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.69,0.00,0.25}{##1}}}
121+
\expandafter\def\csname PY@tok@ow\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
122+
\expandafter\def\csname PY@tok@sb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
123+
\expandafter\def\csname PY@tok@k\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
124+
\expandafter\def\csname PY@tok@se\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.13}{##1}}}
125+
\expandafter\def\csname PY@tok@sd\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
126+
127+
\def\PYZbs{\char`\\}
128+
\def\PYZus{\char`\_}
129+
\def\PYZob{\char`\{}
130+
\def\PYZcb{\char`\}}
131+
\def\PYZca{\char`\^}
132+
\def\PYZam{\char`\&}
133+
\def\PYZlt{\char`\<}
134+
\def\PYZgt{\char`\>}
135+
\def\PYZsh{\char`\#}
136+
\def\PYZpc{\char`\%}
137+
\def\PYZdl{\char`\$}
138+
\def\PYZti{\char`\~}
139+
% for compatibility with earlier versions
140+
\def\PYZat{@}
141+
\def\PYZlb{[}
142+
\def\PYZrb{]}
143+
\makeatother
144+
145+
\newcommand{\lt}{<}
146+
\newcommand{\gt}{<}
147+
%Set pygments styles if needed...
148+
149+
\definecolor{nbframe-border}{rgb}{0.867,0.867,0.867}
150+
\definecolor{nbframe-bg}{rgb}{0.969,0.969,0.969}
151+
\definecolor{nbframe-in-prompt}{rgb}{0.0,0.0,0.502}
152+
\definecolor{nbframe-out-prompt}{rgb}{0.545,0.0,0.0}
153+
154+
\newenvironment{ColorVerbatim}
155+
{\begin{mdframed}[%
156+
roundcorner=1.0pt, %
157+
backgroundcolor=nbframe-bg, %
158+
userdefinedwidth=1\linewidth, %
159+
leftmargin=0.1\linewidth, %
160+
innerleftmargin=0pt, %
161+
innerrightmargin=0pt, %
162+
linecolor=nbframe-border, %
163+
linewidth=1pt, %
164+
usetwoside=false, %
165+
everyline=true, %
166+
innerlinewidth=3pt, %
167+
innerlinecolor=nbframe-bg, %
168+
middlelinewidth=1pt, %
169+
middlelinecolor=nbframe-bg, %
170+
outerlinewidth=0.5pt, %
171+
outerlinecolor=nbframe-border, %
172+
needspace=0pt
173+
]}
174+
{\end{mdframed}}
175+
176+
\newenvironment{InvisibleVerbatim}
177+
{\begin{mdframed}[leftmargin=0.1\linewidth,innerleftmargin=3pt,innerrightmargin=3pt, userdefinedwidth=1\linewidth, linewidth=0pt, linecolor=white, usetwoside=false]}
178+
{\end{mdframed}}
179+
180+
\renewenvironment{Verbatim}[1][\unskip]
181+
{\begin{alltt}\smaller}
182+
{\end{alltt}}
183+
184+
185+
% Help prevent overflowing lines due to urls and other hard-to-break
186+
% entities. This doesn't catch everything...
187+
\sloppy
188+
189+
% Document level variables
190+
\title{Probabilistic Programming and Bayesian Methods for Hackers}
191+
\date{June 8, 2013}
192+
\release{}
193+
\author{Cameron \textsc{Davidson-Pilon}}
194+
\renewcommand{\releasename}{}
195+
196+
% TODO: Add option for the user to specify a logo for his/her export.
197+
\newcommand{\sphinxlogo}{}
198+
199+
% Make the index page of the document.
200+
\makeindex
201+
202+
% Import sphinx document type specifics.
203+
204+
205+
206+
% Body
207+
208+
% Start of the document
209+
\begin{document}
210+
211+
212+
\maketitle
213+
214+
215+
216+
\tableofcontents
217+
218+
\input{bf}
219+
220+
221+
\renewcommand{\indexname}{Index}
222+
\printindex
223+
224+
% End of document
225+
\end{document}
226+
227+

0 commit comments

Comments
 (0)