-
Notifications
You must be signed in to change notification settings - Fork 0
/
014a_Python.tex
61 lines (45 loc) · 1.52 KB
/
014a_Python.tex
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%
% Manchester Raspberry Jam Workshop Booklet
%
% This template is designed to try and aide consistency between each booklet.
% Insert files as instructed by comments, things like tables of contents are created by other linked files
%
% Is this document PRINT or WEB format?
% (you can use the toggle to cut content for paper, see etoolbox)
\newif\ifprint
\printfalse
\input{McrRaspJam/common/preamble}
% Enter the document title here
\newcommand{\workshopTitle}{Workshop 14a: Python}
% Enter the author of this workshop
\newcommand{\workshopAuthor}{Written by \includegraphics[height=10pt]{McrRaspJam/014_Python/creative-pi-1024}}
\begin{document}
\input{McrRaspJam/common/booklet_title}
%Place a SINGLE paragraph summary here
This workshop focuses on the basics of Python and using it with the Sense HAT.
%Difficulty
\textit{Difficulty: Introductory workshop}
\ifprint
\renewcommand{\baselinestretch}{0.75}\normalsize
\tableofcontents
\renewcommand{\baselinestretch}{1.0}\normalsize
\else
\tableofcontents
\fi
%
% Input the main CONTENT below, sans title page or contents.
% Recommend inputting per section, and adding page breaks here.
%
% \webclearpage command is provided, will break page for web format only.
%
\input{McrRaspJam/014_Python/0_introduction}
\clearpage
\input{McrRaspJam/014_Python/1_idle}
\webclearpage
\input{McrRaspJam/014_Python/2_basics}
\webclearpage
\input{McrRaspJam/014_Python/3_exercises}
\webclearpage
\input{McrRaspJam/014_Python/4_sense_hat}
\webclearpage
\end{document}