From d6c61d988bfa4255baf9cdae42db59ebee38363f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 25 May 2021 17:10:49 +0200 Subject: Added files --- src/Lecture4/live/live.zip | Bin 0 -> 2264 bytes src/Lecture4/live/live1.py | 17 + src/Lecture4/live/live2.py | 7 + src/Lecture4/live/live3.py | 9 + src/Lecture4/live/live4.py | 39 + src/Lecture4/live/live_interactive.py | 172 +++ src/Lecture4/slides/6-PythonIntroduction.aux | 76 ++ src/Lecture4/slides/6-PythonIntroduction.log | 1283 ++++++++++++++++++++ src/Lecture4/slides/6-PythonIntroduction.nav | 57 + src/Lecture4/slides/6-PythonIntroduction.out | 0 src/Lecture4/slides/6-PythonIntroduction.pdf | Bin 0 -> 771892 bytes src/Lecture4/slides/6-PythonIntroduction.snm | 0 src/Lecture4/slides/6-PythonIntroduction.tex | 466 +++++++ src/Lecture4/slides/6-PythonIntroduction.toc | 0 src/Lecture4/slides/6-PythonIntroduction.vrb | 32 + src/Lecture4/slides/img/calc.jpg | Bin 0 -> 104819 bytes src/Lecture4/slides/img/equal.png | Bin 0 -> 8229 bytes src/Lecture4/slides/img/geany.png | Bin 0 -> 85066 bytes src/Lecture4/slides/img/laptop.png | Bin 0 -> 158008 bytes src/Lecture4/slides/img/python.png | Bin 0 -> 129327 bytes src/Lecture4/slides/img/sage.svg | 72 ++ src/Lecture4/slides/img/term.png | Bin 0 -> 45939 bytes src/Lecture4/slides/img/unilu.jpg | Bin 0 -> 41957 bytes src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf | Bin 0 -> 13760 bytes .../slides/svg-inkscape/sage_svg-tex.pdf_tex | 58 + 25 files changed, 2288 insertions(+) create mode 100644 src/Lecture4/live/live.zip create mode 100644 src/Lecture4/live/live1.py create mode 100644 src/Lecture4/live/live2.py create mode 100644 src/Lecture4/live/live3.py create mode 100644 src/Lecture4/live/live4.py create mode 100644 src/Lecture4/live/live_interactive.py create mode 100644 src/Lecture4/slides/6-PythonIntroduction.aux create mode 100644 src/Lecture4/slides/6-PythonIntroduction.log create mode 100644 src/Lecture4/slides/6-PythonIntroduction.nav create mode 100644 src/Lecture4/slides/6-PythonIntroduction.out create mode 100644 src/Lecture4/slides/6-PythonIntroduction.pdf create mode 100644 src/Lecture4/slides/6-PythonIntroduction.snm create mode 100644 src/Lecture4/slides/6-PythonIntroduction.tex create mode 100644 src/Lecture4/slides/6-PythonIntroduction.toc create mode 100644 src/Lecture4/slides/6-PythonIntroduction.vrb create mode 100644 src/Lecture4/slides/img/calc.jpg create mode 100644 src/Lecture4/slides/img/equal.png create mode 100644 src/Lecture4/slides/img/geany.png create mode 100644 src/Lecture4/slides/img/laptop.png create mode 100644 src/Lecture4/slides/img/python.png create mode 100644 src/Lecture4/slides/img/sage.svg create mode 100644 src/Lecture4/slides/img/term.png create mode 100644 src/Lecture4/slides/img/unilu.jpg create mode 100644 src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf create mode 100644 src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex (limited to 'src/Lecture4') diff --git a/src/Lecture4/live/live.zip b/src/Lecture4/live/live.zip new file mode 100644 index 0000000..81e11a8 Binary files /dev/null and b/src/Lecture4/live/live.zip differ diff --git a/src/Lecture4/live/live1.py b/src/Lecture4/live/live1.py new file mode 100644 index 0000000..da505f2 --- /dev/null +++ b/src/Lecture4/live/live1.py @@ -0,0 +1,17 @@ +print(2+2) + +x = input("Input something: ") +print("Your input was:", x, "of type", type(x)) + +x_number = int(x) +print("Converted to a number:", x_number, "of type", type(x_number)) + +if x_number > 10: + print("Your number was large!") + print("It was larger than 10") + z = x_number-10 + print("This is a smaller number:", z) +else: + print("Your number was small") + +print("Bye") diff --git a/src/Lecture4/live/live2.py b/src/Lecture4/live/live2.py new file mode 100644 index 0000000..041bda3 --- /dev/null +++ b/src/Lecture4/live/live2.py @@ -0,0 +1,7 @@ +x = int(input("Input something: ")) + +while x > 10: + print("Large number!", x) + x = x - 1 + +print("Bye") diff --git a/src/Lecture4/live/live3.py b/src/Lecture4/live/live3.py new file mode 100644 index 0000000..14aa89b --- /dev/null +++ b/src/Lecture4/live/live3.py @@ -0,0 +1,9 @@ +x = int(input("Input something: ")) + +A = [1,2,3] + +for i in range(2,9): + z = 10**i + print("A power of 10:", z) + +print("Bye") diff --git a/src/Lecture4/live/live4.py b/src/Lecture4/live/live4.py new file mode 100644 index 0000000..b011675 --- /dev/null +++ b/src/Lecture4/live/live4.py @@ -0,0 +1,39 @@ + +def fun(a, b): + print("This is function fun") + print("I am executing!") + print("Your parameter a:", a) + z = a + b + if z > 10: + print("Your sum is large!", z) + while z > 5: + print("Decreasing sum:", z-1) + z = z - 1 + +#fun(2, 11) +#print("..") +#fun(0, 7) + +def g(x, y): + #print("This is function g") + return (x**2 +1)*y + +print(g(10,2)-100) + + +def fibo(n): + if n == 0: + return 0 + if n == 1: + return 1 + return fibo(n-1) + fibo(n-2) + + + +print(fibo(5)) +F = [fibo(x) for x in range(6)] +print(F) + + + + diff --git a/src/Lecture4/live/live_interactive.py b/src/Lecture4/live/live_interactive.py new file mode 100644 index 0000000..671cbad --- /dev/null +++ b/src/Lecture4/live/live_interactive.py @@ -0,0 +1,172 @@ +2+2 +3*5 +3/5 +3 // 5 +2.5 + (456 - 0.3) +2 ** 10 +13 // 5 +13 % 5 +sqrt(3) +import math +sqrt(3) +math.sqrt(3) +help() +math +asfdads +2+2 +help("import") +sqrt(10) +math.sqrt(10) +from math import * +sqrt(10) +10 - _ +_ +x = 10 + sqrt(3) +x +abc_3 = 45+3*(2-1.4) +abc_3 +x / (abc_3+2) +x +x = 3*abc_3 +x +abc_3 = 0 +abc_3 +x +1 = 1 +1 == 1 +1 == 3 +x +type(x) +abc_3 +type(abc_3) +type(3/2) +type(3/1) +3/1 +type(1 == 1) +y = False +z = (2 == 2) +y +z +type(z) +type(y) +y and z +True and True +y or z +not True +3 >= 4 +3 >= 3 +3 > 3 +3 != 4 +hello +"hello" +type("hello") +st = "Hello, World!" +st +type(st) +len(st) +"hello" + ", world" +"abc" + "abc" +2 * "abc" +10 * "abc" +"hello" * "abc" +True + False +[1,2,3,1,-1.5] +[1,True,"hello"] +L = [1,True,"hello"] +type(L) +{1,2,3,1,-1.5} +{12, 25, 10, -1} +len(L) +len({1,1,1}) +{1,1,1} +1 in L +-42 in L +1.5 in {2,3.1,1.5} +S = {-2, 0, 10, 25} +max(S) +min(S) +sum(S) +sum([10,2,45]) +L +min(L) +L2 = [1,2, 1, -2, 0, 2] +set(L2) +list({1,2,1,3,-2}) +S +list(S) +[x**2 for x in [-1,4,1,0] if x < 3] +{x**2 for x in [-1,4,1,0] if x < 3} +{x+2 for x in [-1,4,1,0] if x < 3} +{x+2 for x in {-1,4,1,0} if x < 3} +[x+2 for x in {-1,4,1,0} if x < 3] +[x+2 for x in {-1,4,1,0} if True] +[x+2 for x in {-1,4,1,0}] +[x+2 for x in {-1,4,1,0} if x+10-3.24 < x^2] +[i*j for i in [0,1,2,3] for j in {-1,1}] +range(0,4) +type(range(0,4)) +[i*j for i in range(0,4) for j in {-1,1}] +list(range(0,4)) +list(range(3,4)) +list(range(3,10)) +list(range(10)) +list(range(1,10,2)) +list(range(10,1,-1)) +L +L[0] +L[1] +L[2] +L[10] +L[-1] +L[len(L)-1] +L[len(L)-3] +L[-3] +L2 +L[1:4] +L2[1:4] +L2[1:4:2] +R=range(10) +R +R=list(range(10)) +R +R[2:8:2] +R[9:3:-1] +R +type(R) +R[3] +R[3] = 3.14 +R +R.append(10) +R +R.insert(3,3.0) +R +R[3] +del R[4] +R +L +R +L + R +L +R +L * 3 +3 * L +S +type(S) +S.add(3) +S +S.add(10) +S +S.remove(25) +S +T = {3, -2, 27, 99} +{3, -2} < T +{3, -2} < S +S >= {3, -2} +S >= S +S > S +S | T +S & T +S - T +2+3 +import readline +readline.write_history_file('live_interactive.py') diff --git a/src/Lecture4/slides/6-PythonIntroduction.aux b/src/Lecture4/slides/6-PythonIntroduction.aux new file mode 100644 index 0000000..49f1525 --- /dev/null +++ b/src/Lecture4/slides/6-PythonIntroduction.aux @@ -0,0 +1,76 @@ +\relax +\providecommand\hyper@newdestlabel[2]{} +\providecommand{\transparent@use}[1]{} +\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} +\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined +\global\let\oldcontentsline\contentsline +\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} +\global\let\oldnewlabel\newlabel +\gdef\newlabel#1#2{\newlabelxx{#1}#2} +\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\ifx\hyper@anchor\@undefined +\let\contentsline\oldcontentsline +\let\newlabel\oldnewlabel +\fi} +\fi} +\global\let\hyper@last\relax +\gdef\HyperFirstAtBeginDocument#1{#1} +\providecommand\HyField@AuxAddToFields[1]{} +\providecommand\HyField@AuxAddToCoFields[2]{} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {1}{1}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {2}{2}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {3}{3}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {4}{4}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {5}{5}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {6}{6}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {7}{7}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{8}{8/8}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {8}{8}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{9}{9/9}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {9}{9}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{10}{10/10}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {10}{10}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{11}{11/11}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {11}{11}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{12}{12/12}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {12}{12}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{13}{13/13}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {13}{13}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{14}{14/14}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {14}{14}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {15}{15}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{16}{16/16}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {16}{16}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{17}{17/17}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {17}{17}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{18}{18/18}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {18}{18}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{19}{19/19}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {19}{19}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{20}{20/20}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {20}{20}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{21}{21/21}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {21}{21}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{22}{22/22}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {22}{22}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{23}{23/23}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {23}{23}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{24}{24/24}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {24}{24}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{25}{25/25}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {25}{25}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{26}{26/26}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {26}{26}}} +\@writefile{nav}{\headcommand {\beamer@partpages {1}{26}}} +\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{26}}} +\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{26}}} +\@writefile{nav}{\headcommand {\beamer@documentpages {26}}} +\@writefile{nav}{\headcommand {\gdef \inserttotalframenumber {26}}} diff --git a/src/Lecture4/slides/6-PythonIntroduction.log b/src/Lecture4/slides/6-PythonIntroduction.log new file mode 100644 index 0000000..7f499c9 --- /dev/null +++ b/src/Lecture4/slides/6-PythonIntroduction.log @@ -0,0 +1,1283 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2021.5.20) 25 MAY 2021 16:16 +entering extended mode + \write18 enabled. + %&-line parsing enabled. +**6-PythonIntroduction.tex +(./6-PythonIntroduction.tex +LaTeX2e <2020-02-02> patch level 2 +L3 programming layer <2020-02-14> +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamer.cls +Document Class: beamer 2019/09/29 v3.57 A class for typesetting presentations +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasemodes.sty +(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty +Package: etoolbox 2019/09/21 v2.5h e-TeX tools for LaTeX (JAW) +\etb@tempcnta=\count167 +) +\beamer@tempbox=\box45 +\beamer@tempcount=\count168 +\c@beamerpauses=\count169 + +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasedecode.sty +\beamer@slideinframe=\count170 +\beamer@minimum=\count171 +\beamer@decode@box=\box46 +) +\beamer@commentbox=\box47 +\beamer@modecount=\count172 +) +(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifpdf.sty +Package: ifpdf 2019/10/25 v3.4 ifpdf legacy package. Use iftex instead. + +(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty +Package: iftex 2019/11/07 v1.0c TeX engine tests +)) +\headdp=\dimen134 +\footheight=\dimen135 +\sidebarheight=\dimen136 +\beamer@tempdim=\dimen137 +\beamer@finalheight=\dimen138 +\beamer@animht=\dimen139 +\beamer@animdp=\dimen140 +\beamer@animwd=\dimen141 +\beamer@leftmargin=\dimen142 +\beamer@rightmargin=\dimen143 +\beamer@leftsidebar=\dimen144 +\beamer@rightsidebar=\dimen145 +\beamer@boxsize=\dimen146 +\beamer@vboxoffset=\dimen147 +\beamer@descdefault=\dimen148 +\beamer@descriptionwidth=\dimen149 +\beamer@lastskip=\skip47 +\beamer@areabox=\box48 +\beamer@animcurrent=\box49 +\beamer@animshowbox=\box50 +\beamer@sectionbox=\box51 +\beamer@logobox=\box52 +\beamer@linebox=\box53 +\beamer@sectioncount=\count173 +\beamer@subsubsectionmax=\count174 +\beamer@subsectionmax=\count175 +\beamer@sectionmax=\count176 +\beamer@totalheads=\count177 +\beamer@headcounter=\count178 +\beamer@partstartpage=\count179 +\beamer@sectionstartpage=\count180 +\beamer@subsectionstartpage=\count181 +\beamer@animationtempa=\count182 +\beamer@animationtempb=\count183 +\beamer@xpos=\count184 +\beamer@ypos=\count185 +\beamer@ypos@offset=\count186 +\beamer@showpartnumber=\count187 +\beamer@currentsubsection=\count188 +\beamer@coveringdepth=\count189 +\beamer@sectionadjust=\count190 +\beamer@tocsectionnumber=\count191 + +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks14 +)) +\beamer@paperwidth=\skip48 +\beamer@paperheight=\skip49 + +(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2020/01/02 v5.9 Page Geometry + +(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty +Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. +) +\Gm@cnth=\count192 +\Gm@cntv=\count193 +\c@Gm@tempcnt=\count194 +\Gm@bindingoffset=\dimen150 +\Gm@wd@mp=\dimen151 +\Gm@odd@mp=\dimen152 +\Gm@even@mp=\dimen153 +\Gm@layoutwidth=\dimen154 +\Gm@layoutheight=\dimen155 +\Gm@layouthoffset=\dimen156 +\Gm@layoutvoffset=\dimen157 +\Gm@dimlist=\toks15 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo +File: size11.clo 2019/12/20 v1.4l Standard LaTeX file (size option) +) +(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 2016/01/03 v1.10 sin cos tan (DPC) +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg +File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration +) +Package graphics Info: Driver file: pdftex.def on input line 105. + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex +)) +\Gin@req@height=\dimen158 +\Gin@req@width=\dimen159 +) +(/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty +(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex +\pgfutil@everybye=\toks16 +\pgfutil@tempdima=\dimen160 +\pgfutil@tempdimb=\dimen161 + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t +ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def +\pgfutil@abb=\box54 +(/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty +Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS) +)) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex +(/usr/share/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex) +Package: pgfrcs 2020/01/08 v3.1.5b (3.1.5b) +)) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex +Package: pgfsys 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex +\pgfkeys@pathtoks=\toks17 +\pgfkeys@temptoks=\toks18 + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t +ex +\pgfkeys@tmptoks=\toks19 +)) +\pgf@x=\dimen162 +\pgf@y=\dimen163 +\pgf@xa=\dimen164 +\pgf@ya=\dimen165 +\pgf@xb=\dimen166 +\pgf@yb=\dimen167 +\pgf@xc=\dimen168 +\pgf@yc=\dimen169 +\pgf@xd=\dimen170 +\pgf@yd=\dimen171 +\w@pgf@writea=\write3 +\r@pgf@reada=\read2 +\c@pgf@counta=\count195 +\c@pgf@countb=\count196 +\c@pgf@countc=\count197 +\c@pgf@countd=\count198 +\t@pgf@toka=\toks20 +\t@pgf@tokb=\toks21 +\t@pgf@tokc=\toks22 +\pgf@sys@id@count=\count199 + (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg +File: pgf.cfg 2020/01/08 v3.1.5b (3.1.5b) +) +Driver file for pgf: pgfsys-pdftex.def + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def +File: pgfsys-pdftex.def 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.de +f +File: pgfsys-common-pdf.def 2020/01/08 v3.1.5b (3.1.5b) +))) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code. +tex +File: pgfsyssoftpath.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfsyssoftpath@smallbuffer@items=\count266 +\pgfsyssoftpath@bigbuffer@items=\count267 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code. +tex +File: pgfsysprotocol.code.tex 2020/01/08 v3.1.5b (3.1.5b) +)) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty +Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package xcolor Info: Driver file: pdftex.def on input line 225. +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352. +Package xcolor Info: Model `RGB' extended on input line 1364. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371. +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex +Package: pgfcore 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex +\pgfmath@dimen=\dimen172 +\pgfmath@count=\count268 +\pgfmath@box=\box55 +\pgfmath@toks=\toks23 +\pgfmath@stack@operand=\toks24 +\pgfmath@stack@operation=\toks25 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code +.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet +ric.code.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod +e.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison +.code.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code. +tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code +.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code. +tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari +thmetics.code.tex))) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex +\c@pgfmathroundto@lastzeros=\count269 +)) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfint.code.tex) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.te +x +File: pgfcorepoints.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@picminx=\dimen173 +\pgf@picmaxx=\dimen174 +\pgf@picminy=\dimen175 +\pgf@picmaxy=\dimen176 +\pgf@pathminx=\dimen177 +\pgf@pathmaxx=\dimen178 +\pgf@pathminy=\dimen179 +\pgf@pathmaxy=\dimen180 +\pgf@xx=\dimen181 +\pgf@xy=\dimen182 +\pgf@yx=\dimen183 +\pgf@yy=\dimen184 +\pgf@zx=\dimen185 +\pgf@zy=\dimen186 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct. +code.tex +File: pgfcorepathconstruct.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@path@lastx=\dimen187 +\pgf@path@lasty=\dimen188 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code +.tex +File: pgfcorepathusage.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@shorten@end@additional=\dimen189 +\pgf@shorten@start@additional=\dimen190 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.te +x +File: pgfcorescopes.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfpic=\box56 +\pgf@hbox=\box57 +\pgf@layerbox@main=\box58 +\pgf@picture@serial@count=\count270 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.c +ode.tex +File: pgfcoregraphicstate.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgflinewidth=\dimen191 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformation +s.code.tex +File: pgfcoretransformations.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@pt@x=\dimen192 +\pgf@pt@y=\dimen193 +\pgf@pt@temp=\dimen194 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex +File: pgfcorequick.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.t +ex +File: pgfcoreobjects.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing +.code.tex +File: pgfcorepathprocessing.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.te +x +File: pgfcorearrows.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfarrowsep=\dimen195 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex +File: pgfcoreshade.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@max=\dimen196 +\pgf@sys@shading@range@num=\count271 +\pgf@shadingcount=\count272 +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex +File: pgfcoreimage.code.tex 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code. +tex +File: pgfcoreexternal.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfexternal@startupbox=\box59 +)) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.te +x +File: pgfcorelayers.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.c +ode.tex +File: pgfcoretransparency.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code. +tex +File: pgfcorepatterns.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex +File: pgfcorerdf.code.tex 2020/01/08 v3.1.5b (3.1.5b) +))) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty +Package: xxcolor 2003/10/24 ver 0.1 +\XC@nummixins=\count273 +\XC@countmixins=\count274 +) +(/usr/share/texlive/texmf-dist/tex/generic/atbegshi/atbegshi.sty +Package: atbegshi 2019/12/05 v1.19 At begin shipout hook (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty +Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty +Package: ltxcmds 2019/12/15 v1.24 LaTeX kernel commands for general use (HO) +)) +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty +Package: hyperref 2020/01/14 v7.00d Hypertext links for LaTeX + +(/usr/share/texlive/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty +Package: pdftexcmds 2019/11/24 v0.31 Utility functions of pdfTeX for LuaTeX (HO +) +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty +Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty +Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty +Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty +Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty +Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty +Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty +Package: kvoptions 2019/11/29 v3.13 Key value format for package options (HO) +) +\@linkdim=\dimen197 +\Hy@linkcounter=\count275 +\Hy@pagecounter=\count276 + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def +File: pd1enc.def 2020/01/14 v7.00d Hyperref: PDFDocEncoding definition (HO) +Now handling font encoding PD1 ... +... no UTF-8 mapping file for font encoding PD1 +) +(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty +Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty +Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO) +) +\Hy@SavedSpaceFactor=\count277 +\pdfmajorversion=\count278 +Package hyperref Info: Option `bookmarks' set `true' on input line 4421. +Package hyperref Info: Option `bookmarksopen' set `true' on input line 4421. +Package hyperref Info: Option `implicit' set `false' on input line 4421. +Package hyperref Info: Hyper figures OFF on input line 4547. +Package hyperref Info: Link nesting OFF on input line 4552. +Package hyperref Info: Hyper index ON on input line 4555. +Package hyperref Info: Plain pages OFF on input line 4562. +Package hyperref Info: Backreferencing OFF on input line 4567. +Package hyperref Info: Implicit mode OFF; no redefinition of LaTeX internals. +Package hyperref Info: Bookmarks ON on input line 4800. +\c@Hy@tempcnt=\count279 + +(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty +\Urlmuskip=\muskip16 +Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. +) +LaTeX Info: Redefining \url on input line 5159. +\XeTeXLinkMargin=\dimen198 + +(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty +Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty +Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO +) +)) +\Fld@menulength=\count280 +\Field@Width=\dimen199 +\Fld@charsize=\dimen256 +Package hyperref Info: Hyper figures OFF on input line 6430. +Package hyperref Info: Link nesting OFF on input line 6435. +Package hyperref Info: Hyper index ON on input line 6438. +Package hyperref Info: backreferencing OFF on input line 6445. +Package hyperref Info: Link coloring OFF on input line 6450. +Package hyperref Info: Link coloring with OCG OFF on input line 6455. +Package hyperref Info: PDF/A mode OFF on input line 6460. +LaTeX Info: Redefining \ref on input line 6500. +LaTeX Info: Redefining \pageref on input line 6504. +\Hy@abspage=\count281 + + +Package hyperref Message: Stopped early. + +) +Package hyperref Info: Driver (autodetected): hpdftex. + (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def +File: hpdftex.def 2020/01/14 v7.00d Hyperref driver for pdfTeX + +(/usr/share/texlive/texmf-dist/tex/latex/atveryend/atveryend.sty +Package: atveryend 2019-12-11 v1.11 Hooks at the very end of document (HO) +) +\Fld@listcount=\count282 +\c@bookmark@seq@number=\count283 + +(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty +Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty +Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO) +) +Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 +86. +)) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaserequires.sty +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasefont.sty +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2013/01/14 v3.01 AMS font symbols + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support +\@emptytoks=\toks26 +\symAMSa=\mathgroup4 +\symAMSb=\mathgroup5 +LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 106. +)) +(/usr/share/texlive/texmf-dist/tex/latex/sansmathaccent/sansmathaccent.sty +Package: sansmathaccent 2020/01/31 + +(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty +Package: scrlfile 2020/01/24 v3.29 KOMA-Script package (loading files) +))) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator.sty +Package: translator 2019-05-31 v1.12a Easy translation of strings in LaTeX +)) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasemisc.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty +\beamer@argscount=\count284 +\beamer@lastskipcover=\skip50 +\beamer@trivlistdepth=\count285 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetitle.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasesection.sty +\c@lecture=\count286 +\c@part=\count287 +\c@section=\count288 +\c@subsection=\count289 +\c@subsubsection=\count290 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframe.sty +\beamer@framebox=\box60 +\beamer@frametitlebox=\box61 +\beamer@zoombox=\box62 +\beamer@zoomcount=\count291 +\beamer@zoomframecount=\count292 +\beamer@frametextheight=\dimen257 +\c@subsectionslide=\count293 +\beamer@frametopskip=\skip51 +\beamer@framebottomskip=\skip52 +\beamer@frametopskipautobreak=\skip53 +\beamer@framebottomskipautobreak=\skip54 +\beamer@envbody=\toks27 +\framewidth=\dimen258 +\c@framenumber=\count294 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty +\beamer@verbatimfileout=\write4 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty +\beamer@splitbox=\box63 +\beamer@autobreakcount=\count295 +\beamer@autobreaklastheight=\dimen259 +\beamer@frametitletoks=\toks28 +\beamer@framesubtitletoks=\toks29 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty +\beamer@footins=\box64 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasecolor.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasenotes.sty +\beamer@frameboxcopy=\box65 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetoc.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty +\beamer@sbttoks=\toks30 + +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty +\bmb@box=\box66 +\bmb@colorbox=\box67 +\bmb@boxshadow=\box68 +\bmb@boxshadowball=\box69 +\bmb@boxshadowballlarge=\box70 +\bmb@temp=\dimen260 +\bmb@dima=\dimen261 +\bmb@dimb=\dimen262 +\bmb@prevheight=\dimen263 +) +\beamer@blockheadheight=\dimen264 +)) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty +(/usr/share/texlive/texmf-dist/tex/latex/tools/enumerate.sty +Package: enumerate 2015/07/23 v3.00 enumerate extensions (DPC) +\@enLab=\toks31 +) +\c@figure=\count296 +\c@table=\count297 +\abovecaptionskip=\skip55 +\belowcaptionskip=\skip56 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty +\beamer@section@min@dim=\dimen265 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty +Package: amsmath 2020/01/20 v2.17e AMS math features +\@mathmargin=\skip57 + +For additional information on amsmath, use the `?' option. +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty +Package: amstext 2000/06/29 v2.01 AMS text + +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty +File: amsgen.sty 1999/11/30 v2.0 generic functions +\@emptytoks=\toks32 +\ex@=\dimen266 +)) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty +Package: amsbsy 1999/11/29 v1.2d Bold Symbols +\pmbraise@=\dimen267 +) +(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty +Package: amsopn 2016/03/08 v2.02 operator names +) +\inf@bad=\count298 +LaTeX Info: Redefining \frac on input line 227. +\uproot@=\count299 +\leftroot@=\count300 +LaTeX Info: Redefining \overline on input line 389. +\classnum@=\count301 +\DOTSCASE@=\count302 +LaTeX Info: Redefining \ldots on input line 486. +LaTeX Info: Redefining \dots on input line 489. +LaTeX Info: Redefining \cdots on input line 610. +\Mathstrutbox@=\box71 +\strutbox@=\box72 +\big@size=\dimen268 +LaTeX Font Info: Redeclaring font encoding OML on input line 733. +LaTeX Font Info: Redeclaring font encoding OMS on input line 734. +\macc@depth=\count303 +\c@MaxMatrixCols=\count304 +\dotsspace@=\muskip17 +\c@parentequation=\count305 +\dspbrk@lvl=\count306 +\tag@help=\toks33 +\row@=\count307 +\column@=\count308 +\maxfields@=\count309 +\andhelp@=\toks34 +\eqnshift@=\dimen269 +\alignsep@=\dimen270 +\tagshift@=\dimen271 +\tagwidth@=\dimen272 +\totwidth@=\dimen273 +\lineht@=\dimen274 +\@envbody=\toks35 +\multlinegap=\skip58 +\multlinetaggap=\skip59 +\mathdisplay@stack=\toks36 +LaTeX Info: Redefining \[ on input line 2859. +LaTeX Info: Redefining \] on input line 2860. +) +(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty +Package: amsthm 2017/10/31 v2.20.4 +\thm@style=\toks37 +\thm@bodyfont=\toks38 +\thm@headfont=\toks39 +\thm@notefont=\toks40 +\thm@headpunct=\toks41 +\thm@preskip=\skip60 +\thm@postskip=\skip61 +\thm@headsep=\skip62 +\dth@everypar=\toks42 +) +\c@theorem=\count310 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasethemes.sty)) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerthemedefault.sty +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerfontthemedefault.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamercolorthemedefault.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty +\beamer@dima=\dimen275 +\beamer@dimb=\dimen276 +) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty))) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerthemeMadrid.sty +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamercolorthemewhale.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamercolorthemeorchid.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerinnerthemerounded.sty) +(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty)) +(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2018/08/11 v1.3c Input encoding file +\inpenc@prehook=\toks43 +\inpenc@posthook=\toks44 +) +(/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty +(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty +Package: pgf 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex +File: pgfmoduleshapes.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfnodeparttextbox=\box73 +) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex +File: pgfmoduleplot.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) +(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65 +.sty +Package: pgfcomp-version-0-65 2020/01/08 v3.1.5b (3.1.5b) +\pgf@nodesepstart=\dimen277 +\pgf@nodesepend=\dimen278 +) +(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18 +.sty +Package: pgfcomp-version-1-18 2020/01/08 v3.1.5b (3.1.5b) +)) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty +(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)) +(/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex +Package: pgffor 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex) +\pgffor@iter=\dimen279 +\pgffor@skip=\dimen280 +\pgffor@stack=\toks45 +\pgffor@toks=\toks46 +)) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex +Package: tikz 2020/01/08 v3.1.5b (3.1.5b) + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers +.code.tex +File: pgflibraryplothandlers.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgf@plot@mark@count=\count311 +\pgfplotmarksize=\dimen281 +) +\tikz@lastx=\dimen282 +\tikz@lasty=\dimen283 +\tikz@lastxsaved=\dimen284 +\tikz@lastysaved=\dimen285 +\tikz@lastmovetox=\dimen286 +\tikz@lastmovetoy=\dimen287 +\tikzleveldistance=\dimen288 +\tikzsiblingdistance=\dimen289 +\tikz@figbox=\box74 +\tikz@figbox@bg=\box75 +\tikz@tempbox=\box76 +\tikz@tempbox@bg=\box77 +\tikztreelevel=\count312 +\tikznumberofchildren=\count313 +\tikznumberofcurrentchild=\count314 +\tikz@fig@count=\count315 + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex +File: pgfmodulematrix.code.tex 2020/01/08 v3.1.5b (3.1.5b) +\pgfmatrixcurrentrow=\count316 +\pgfmatrixcurrentcolumn=\count317 +\pgf@matrix@numberofcolumns=\count318 +) +\tikz@expandcount=\count319 + +(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik +zlibrarytopaths.code.tex +File: tikzlibrarytopaths.code.tex 2020/01/08 v3.1.5b (3.1.5b) +))) +(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik +zlibrarycalc.code.tex +File: tikzlibrarycalc.code.tex 2020/01/08 v3.1.5b (3.1.5b) +) (/usr/share/texlive/texmf-dist/tex/latex/svg/svg.sty +Package: svg 2020/01/13 v2.02e (include SVG pictures) + +(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty +Package: scrbase 2020/01/24 v3.29 KOMA-Script package (KOMA-Script-independent +basics and keyval usage) +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/shellesc.sty +Package: shellesc 2019/11/08 v1.0c unified shell escape interface for LaTeX +Package shellesc Info: Unrestricted shell escape enabled on input line 75. +) +(/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty +Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list +) +\svg@box=\box78 +\c@svg@param@lastpage=\count320 +\c@svg@param@currpage=\count321 + +(/usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty +Package: ifplatform 2017/10/13 v0.4a Testing for the operating system + +(/usr/share/texlive/texmf-dist/tex/generic/catchfile/catchfile.sty +Package: catchfile 2019/12/09 v1.8 Catch the contents of a file (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifluatex.sty +Package: ifluatex 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead. +) +runsystem(uname -s > "6-PythonIntroduction.w18")...executed. + + +(./6-PythonIntroduction.w18) +runsystem(rm -- "6-PythonIntroduction.w18")...executed. + +)) +(/usr/share/texlive/texmf-dist/tex/latex/transparent/transparent.sty +Package: transparent 2019/11/29 v1.4 Transparency via pdfTeX's color stack (HO) + +) +(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def +File: l3backend-pdfmode.def 2020-02-03 L3 backend support: PDF mode +\l__kernel_color_stack_int=\count322 +\l__pdf_internal_box=\box79 +) +(./6-PythonIntroduction.aux) +\openout1 = `6-PythonIntroduction.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 18. +LaTeX Font Info: ... okay on input line 18. + +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: custom +* layout: +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: includehead includefoot +* h-part:(L,W,R)=(10.95003pt, 342.2953pt, 10.95003pt) +* v-part:(T,H,B)=(0.0pt, 273.14662pt, 0.0pt) +* \paperwidth=364.19536pt +* \paperheight=273.14662pt +* \textwidth=342.2953pt +* \textheight=244.6939pt +* \oddsidemargin=-61.31996pt +* \evensidemargin=-61.31996pt +* \topmargin=-72.26999pt +* \headheight=14.22636pt +* \headsep=0.0pt +* \topskip=11.0pt +* \footskip=14.22636pt +* \marginparwidth=4.0pt +* \marginparsep=10.0pt +* \columnsep=10.0pt +* \skip\footins=10.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidefalse +* \@mparswitchfalse +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count323 +\scratchdimen=\dimen290 +\scratchbox=\box80 +\nofMPsegments=\count324 +\nofMParguments=\count325 +\everyMPshowfont=\toks47 +\MPscratchCnt=\count326 +\MPscratchDim=\dimen291 +\MPnumerator=\count327 +\makeMPintoPDFobject=\count328 +\everyMPtoPDFconversion=\toks48 +) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty +Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf +Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 +85. + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +ABD: EveryShipout initializing macros +\AtBeginShipoutBox=\box81 +Package hyperref Info: Link coloring OFF on input line 18. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty +Package: nameref 2019/09/16 v2.46 Cross-referencing by name of section + +(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty +Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty +Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO) +) +\c@section@level=\count329 +) +LaTeX Info: Redefining \ref on input line 18. +LaTeX Info: Redefining \pageref on input line 18. +LaTeX Info: Redefining \nameref on input line 18. + +(./6-PythonIntroduction.out) (./6-PythonIntroduction.out) +\@outlinefile=\write5 +\openout5 = `6-PythonIntroduction.out'. + +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) OT1/cmr/m/n --> OT1/cmss/m/n on input line 18. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 18. +\symnumbers=\mathgroup6 +\sympureletters=\mathgroup7 +LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal' +(Font) OT1/cmss/m/n --> OT1/cmr/m/n on input line 18. +LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' +(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 18. +LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal' +(Font) OT1/cmss/m/n --> OT1/cmss/m/n on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' +(Font) OT1/cmss/bx/n --> OT1/cmss/m/n on input line 18. +LaTeX Font Info: Redeclaring math alphabet \mathit on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' +(Font) OT1/cmr/m/it --> OT1/cmss/m/it on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmr/bx/it --> OT1/cmss/m/it on input line 18. +LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal' +(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' +(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 18. +LaTeX Font Info: Overwriting symbol font `numbers' in version `bold' +(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 18. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold' +(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold' +(Font) OT1/cmss/b/n --> OT1/cmr/b/n on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmss/b/n --> OT1/cmss/b/n on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' +(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 18. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' +(Font) OT1/cmtt/m/n --> OT1/cmtt/b/n on input line 18. +LaTeX Font Info: Redeclaring symbol font `pureletters' on input line 18. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `normal' +(Font) OT1/cmss/m/it --> OT1/mathkerncmss/m/sl on input line 1 +8. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold' +(Font) OT1/cmss/b/it --> OT1/mathkerncmss/m/sl on input line 1 +8. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold' +(Font) OT1/mathkerncmss/m/sl --> OT1/mathkerncmss/bx/sl on inp +ut line 18. + +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-basic-dictionary +-English.dict +Dictionary: translator-basic-dictionary, Language: English +) +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-bibliography-dic +tionary-English.dict +Dictionary: translator-bibliography-dictionary, Language: English +) +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-environment-dict +ionary-English.dict +Dictionary: translator-environment-dictionary, Language: English +) +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-months-dictionar +y-English.dict +Dictionary: translator-months-dictionary, Language: English +) +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-numbers-dictiona +ry-English.dict +Dictionary: translator-numbers-dictionary, Language: English +) +(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-theorem-dictiona +ry-English.dict +Dictionary: translator-theorem-dictionary, Language: English +) (./6-PythonIntroduction.nav) + +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 22. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} <./img/unilu.jpg>] +LaTeX Font Info: Trying to load font information for U+msa on input line 36. + + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd +File: umsa.fd 2013/01/14 v3.01 AMS symbols A +) +LaTeX Font Info: Trying to load font information for U+msb on input line 36. + + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd +File: umsb.fd 2013/01/14 v3.01 AMS symbols B +) +LaTeX Font Info: Trying to load font information for OT1+mathkerncmss on inp +ut line 36. + +(/usr/share/texlive/texmf-dist/tex/latex/sansmathaccent/ot1mathkerncmss.fd +File: ot1mathkerncmss.fd 2020/01/31 Fontinst v1.933 font definitions for OT1/ma +thkerncmss. +) +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 36. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + +[2 + +] + +File: img/laptop.png Graphic file (type png) + +Package pdftex.def Info: img/laptop.png used on input line 54. +(pdftex.def) Requested size: 129.47816pt x 129.47816pt. + +Overfull \hbox (9.67273pt too wide) in paragraph at lines 54--54 +[][] + [] + + +File: img/equal.png Graphic file (type png) + +Package pdftex.def Info: img/equal.png used on input line 54. +(pdftex.def) Requested size: 48.17792pt x 48.17792pt. + +Overfull \hbox (13.9463pt too wide) in paragraph at lines 54--54 + [] + [] + + +File: img/calc.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/calc.jpg used on input line 54. +(pdftex.def) Requested size: 130.08478pt x 130.08478pt. + +Overfull \hbox (10.27934pt too wide) in paragraph at lines 54--54 +[][] + [] + +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 54. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. +[3 + + <./img/laptop.png> <./img/equal.png> <./img/calc.jpg>] + +File: img/python.png Graphic file (type png) + +Package pdftex.def Info: img/python.png used on input line 72. +(pdftex.def) Requested size: 96.36195pt x 96.36195pt. + +Overfull \hbox (10.78813pt too wide) in paragraph at lines 72--72 +[][] + [] + +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 72. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. +[4 + + <./img/python.png>] + +File: img/term.png Graphic file (type png) + +Package pdftex.def Info: img/term.png used on input line 78. +(pdftex.def) Requested size: 258.06612pt x 144.84224pt. +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 78. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [5 + + <./img/term.png>] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 97. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [6 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 108. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [7 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 119. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [8 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 131. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [9 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 159. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [10 + +] +LaTeX Font Info: Trying to load font information for OMS+cmtt on input line +175. + +(/usr/share/texmf/tex/latex/R/tex/latex/omscmtt.fd +File: omscmtt.fd +) +LaTeX Font Info: Font shape `OMS/cmtt/m/n' in size <10.95> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 175. +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 175. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [11 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 192. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [12 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 219. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [13 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 231. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [14 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 246. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + +[15 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 268. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [16 + +] + +File: img/geany.png Graphic file (type png) + +Package pdftex.def Info: img/geany.png used on input line 272. +(pdftex.def) Requested size: 318.68985pt x 170.13521pt. +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 272. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [17 + + <./img/geany.png>] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 282. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [18 + +] +\openout4 = `6-PythonIntroduction.vrb'. + + (./6-PythonIntroduction.vrb) +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 322. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [19 + +] +\openout4 = `6-PythonIntroduction.vrb'. + + +(./6-PythonIntroduction.vrb) +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 357. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [20 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 374. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [21 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 393. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [22 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 413. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [23 + +] +Package svg Info: Last page of `./svg-inkscape/sage_svg-tex.pdf' is 1 on input +line 429. + +(./svg-inkscape/sage_svg-tex.pdf_tex +<./svg-inkscape/sage_svg-tex.pdf, id=660, page=1, 376.40625pt x 98.51555pt> +File: ./svg-inkscape/sage_svg-tex.pdf Graphic file (type pdf) + +Package pdftex.def Info: ./svg-inkscape/sage_svg-tex.pdf , page1 used on input +line 56. +(pdftex.def) Requested size: 188.20313pt x 49.25914pt. +) +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 429. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [24 + + <./svg-inkscape/sage_svg-tex.pdf>] +Overfull \hbox (7.7703pt too wide) in paragraph at lines 452--452 +[][] + [] + +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 452. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. +[25 + +] +File: img/unilu.jpg Graphic file (type jpg) + +Package pdftex.def Info: img/unilu.jpg used on input line 462. +(pdftex.def) Requested size: 64.5198pt x 57.81938pt. + [26 + +] +\tf@nav=\write6 +\openout6 = `6-PythonIntroduction.nav'. + +\tf@toc=\write7 +\openout7 = `6-PythonIntroduction.toc'. + +\tf@snm=\write8 +\openout8 = `6-PythonIntroduction.snm'. + +Package atveryend Info: Empty hook `BeforeClearDocument' on input line 465. +Package atveryend Info: Empty hook `AfterLastShipout' on input line 465. + (./6-PythonIntroduction.aux) +Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 465. +Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 465. +Package rerunfilecheck Info: File `6-PythonIntroduction.out' has not changed. +(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0. + ) +Here is how much of TeX's memory you used: + 22094 strings out of 481239 + 437179 string characters out of 5920377 + 700483 words of memory out of 5000000 + 36741 multiletter control sequences out of 15000+600000 + 544835 words of font info for 71 fonts, out of 8000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 58i,15n,67p,804b,1064s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on 6-PythonIntroduction.pdf (26 pages, 771892 bytes). +PDF statistics: + 851 PDF objects out of 1000 (max. 8388607) + 762 compressed objects within 8 object streams + 53 named destinations out of 1000 (max. 500000) + 118 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/src/Lecture4/slides/6-PythonIntroduction.nav b/src/Lecture4/slides/6-PythonIntroduction.nav new file mode 100644 index 0000000..39da4d7 --- /dev/null +++ b/src/Lecture4/slides/6-PythonIntroduction.nav @@ -0,0 +1,57 @@ +\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}} +\headcommand {\beamer@framepages {1}{1}} +\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}} +\headcommand {\beamer@framepages {2}{2}} +\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}} +\headcommand {\beamer@framepages {3}{3}} +\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}} +\headcommand {\beamer@framepages {4}{4}} +\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}} +\headcommand {\beamer@framepages {5}{5}} +\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}} +\headcommand {\beamer@framepages {6}{6}} +\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}} +\headcommand {\beamer@framepages {7}{7}} +\headcommand {\slideentry {0}{0}{8}{8/8}{}{0}} +\headcommand {\beamer@framepages {8}{8}} +\headcommand {\slideentry {0}{0}{9}{9/9}{}{0}} +\headcommand {\beamer@framepages {9}{9}} +\headcommand {\slideentry {0}{0}{10}{10/10}{}{0}} +\headcommand {\beamer@framepages {10}{10}} +\headcommand {\slideentry {0}{0}{11}{11/11}{}{0}} +\headcommand {\beamer@framepages {11}{11}} +\headcommand {\slideentry {0}{0}{12}{12/12}{}{0}} +\headcommand {\beamer@framepages {12}{12}} +\headcommand {\slideentry {0}{0}{13}{13/13}{}{0}} +\headcommand {\beamer@framepages {13}{13}} +\headcommand {\slideentry {0}{0}{14}{14/14}{}{0}} +\headcommand {\beamer@framepages {14}{14}} +\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}} +\headcommand {\beamer@framepages {15}{15}} +\headcommand {\slideentry {0}{0}{16}{16/16}{}{0}} +\headcommand {\beamer@framepages {16}{16}} +\headcommand {\slideentry {0}{0}{17}{17/17}{}{0}} +\headcommand {\beamer@framepages {17}{17}} +\headcommand {\slideentry {0}{0}{18}{18/18}{}{0}} +\headcommand {\beamer@framepages {18}{18}} +\headcommand {\slideentry {0}{0}{19}{19/19}{}{0}} +\headcommand {\beamer@framepages {19}{19}} +\headcommand {\slideentry {0}{0}{20}{20/20}{}{0}} +\headcommand {\beamer@framepages {20}{20}} +\headcommand {\slideentry {0}{0}{21}{21/21}{}{0}} +\headcommand {\beamer@framepages {21}{21}} +\headcommand {\slideentry {0}{0}{22}{22/22}{}{0}} +\headcommand {\beamer@framepages {22}{22}} +\headcommand {\slideentry {0}{0}{23}{23/23}{}{0}} +\headcommand {\beamer@framepages {23}{23}} +\headcommand {\slideentry {0}{0}{24}{24/24}{}{0}} +\headcommand {\beamer@framepages {24}{24}} +\headcommand {\slideentry {0}{0}{25}{25/25}{}{0}} +\headcommand {\beamer@framepages {25}{25}} +\headcommand {\slideentry {0}{0}{26}{26/26}{}{0}} +\headcommand {\beamer@framepages {26}{26}} +\headcommand {\beamer@partpages {1}{26}} +\headcommand {\beamer@subsectionpages {1}{26}} +\headcommand {\beamer@sectionpages {1}{26}} +\headcommand {\beamer@documentpages {26}} +\headcommand {\gdef \inserttotalframenumber {26}} diff --git a/src/Lecture4/slides/6-PythonIntroduction.out b/src/Lecture4/slides/6-PythonIntroduction.out new file mode 100644 index 0000000..e69de29 diff --git a/src/Lecture4/slides/6-PythonIntroduction.pdf b/src/Lecture4/slides/6-PythonIntroduction.pdf new file mode 100644 index 0000000..873c99a Binary files /dev/null and b/src/Lecture4/slides/6-PythonIntroduction.pdf differ diff --git a/src/Lecture4/slides/6-PythonIntroduction.snm b/src/Lecture4/slides/6-PythonIntroduction.snm new file mode 100644 index 0000000..e69de29 diff --git a/src/Lecture4/slides/6-PythonIntroduction.tex b/src/Lecture4/slides/6-PythonIntroduction.tex new file mode 100644 index 0000000..6c2ec45 --- /dev/null +++ b/src/Lecture4/slides/6-PythonIntroduction.tex @@ -0,0 +1,466 @@ +\documentclass[11pt]{beamer} +\usetheme{Madrid} +\usepackage[utf8]{inputenc} +\usepackage{amsmath} + +\usepackage{tikz} +\usetikzlibrary{calc} +\usepackage{svg} + +\author[\texttt{sebastiano.tronto@uni.lu}]{Sebastiano Tronto} +\title[Python Intro and a bit of Sage]% +{A Practical Introduction to Python (and a bit of Sage)} +\logo{\includegraphics[scale=0.1]{img/unilu.jpg}} +%\institute{University of Luxembourg} + +\date{2021-04-02} + +\begin{document} + +\begin{frame} + \titlepage +\end{frame} + +\begin{frame}{Second part - schedule} + \begin{tabular}{l|c|c|l} + \textbf{Date} & \textbf{Topics} & \textbf{Homework} & \textbf{Deadline} \\ + \hline + April 2 & Python ``review'', a bit of Sage & (see March 26) & April 18 \\ + \hline + April 23 & Sage: Algebra and Crypto & Homework 3 & May 9 \\ + \hline + May 7 & Sage: Analysis and Statistics & Homework 4 & May 30 \\ + \hline + May 21 & Fast code, other software & + \end{tabular} +\end{frame} + + +\begin{frame}{What is programming?} + \begin{columns} + \column{0.35\textwidth} + \includegraphics[scale=0.12]{img/laptop.png} + \column{0.1\textwidth} + \begin{center}\includegraphics[scale=0.12]{img/equal.png}\end{center} + \column{0.35\textwidth} + \includegraphics[scale=0.9]{img/calc.jpg} + \end{columns} + \begin{itemize} + \item Software (apps): commands written in a \emph{programming language} + \item Programming language: mix of English and symbols + \item The code is \emph{compiled} to machine language (C, C++) or\\ + \emph{interpreted} by some software in the middle (Python) + \end{itemize} +\end{frame} + + +\begin{frame}{Python} + \begin{columns} + \column{0.7\textwidth} + \url{https://www.python.org} + + \vspace{0.3cm} + \begin{itemize} + \item Interpreted: slower than C, usable interactively + \item Simple syntax, easy to learn + \item Very popular + \item Sage is based on Python + \end{itemize} + \column{0.25\textwidth} + \includegraphics[scale=0.16]{img/python.png} + \end{columns} +\end{frame} + +\begin{frame}{The interpreter - Python as a calculator} + \begin{center} + \includegraphics[scale=0.3]{img/term.png} + \end{center} +\end{frame} + +\begin{frame}{The interpreter - Python as a calculator} + \url{https://www.python.org/shell} + + \vspace{0.3cm} + \begin{itemize} + \item Each line executed as you enter it, result is printed + \item Usual math operations work: try them! + \begin{center} + \texttt{a+b, a-b, a*b, a/b}\\ + \texttt{a**b (power), a//b (integer division), a\%b (remainder)} + \end{center} + \item More math functions: + \begin{center} \begin{tabular}{l} + \texttt{import math} \\ + \texttt{math.sqrt(3)} + \end{tabular} \end{center} + \end{itemize} +\end{frame} + + +\begin{frame}{Help!} + \begin{itemize} + \item Type \texttt{help()} for interactive help + \item Try \texttt{help("math")} and \texttt{help("import")} + \item What does + \begin{center} \texttt{from math import *} \end{center} + do? + \end{itemize} +\end{frame} + +\begin{frame}{Variables} + \texttt{variable\_name = value \qquad \# This is an assignment} + + \vspace{0.3cm} + \begin{itemize} + \item Save results, use them later + \item \texttt{variable\_name}: combination of letters, numbers, underscores + \item \texttt{=} always means \emph{assignment}, never \emph{equality} + \end{itemize} +\end{frame} + +\begin{frame}{Types} + \texttt{type(variable\_name) \qquad \# Get the type of a variable} + + \vspace{0.3cm} + \begin{itemize} + %\item Tells the computer how to read a variable + \item In other languages you must specify the type of a variable + \item Python figures out automatically (\emph{dynamic typing}) + \item Each type allows different operations + \end{itemize} +\end{frame} + + +\begin{frame}{Other types: Boolean and String} + \texttt{my\_bool = True} + + \texttt{s1 = "hello!" \qquad \# Same as 'hello!'} + + \vspace{0.3cm} + \begin{itemize} + \item \texttt{bool}: \texttt{True} or \texttt{False} + \begin{itemize} + \item Operations on \texttt{bool}: + \texttt{and}, \texttt{or}, \texttt{not} + \item Operations with boolean result: \texttt{==}, \texttt{!=}, + \texttt{>}, \texttt{<}, \texttt{>=}, \texttt{<=} + \end{itemize} + \item \texttt{str}: a string of characters + \begin{itemize} + \item Useful operations: + + \begin{tabular}{ll} + \texttt{len({\bf str})} & \texttt{\# Length, integer value} \\ + \texttt{{\bf str} + {\bf str}} & \texttt{\# Concatenation} \\ + \texttt{{\bf int} * {\bf str}} & \texttt{\# Repetition} + \end{tabular} + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame}{Lists and sets} + %\texttt{(2.5, True, "hello") \qquad \# Tuple} + + \texttt{[2.5, True, "hello"] \qquad \# List} + + \texttt{\{2.5, True, "hello"\} \qquad \# Set} + + \vspace{0.3cm} + \begin{itemize} + %\item Different collections of objects + %\item Tuple: immutable + \item Lists: keep order and duplicates + \item Sets: disregard order and duplicates, allow set operations + \end{itemize} +\end{frame} + + +\begin{frame}{Lists and sets} + Things in common (\emph{\texttt{A} is a list or a set}): + + \vspace{0.3cm} + \begin{itemize} + \item \texttt{len(A)}: number of elements (\texttt{\bf int}) + \item \texttt{x in A}: check if \texttt{x} is in \texttt{A} + (\texttt{\bf bool}) + \item If \texttt{A} contains numbers: \texttt{max(A)}, \texttt{min(A)}, + \texttt{sum(A)} + \end{itemize} + + \vspace{0.3cm} + Pass from one type to the other: \texttt{set(A)} and \texttt{list(A)} +\end{frame} + +\begin{frame}{List (and set) comprehension} + \texttt{[x**2 {\bf for} x {\bf in} [-1,4,1,0] {\bf if} x < 3] + \quad\# Result: [1,1,0]} + + \texttt{\{x**2 {\bf for} x {\bf in} [-1,4,1,0] {\bf if} x < 3\} + \quad\# Result: \{0,1\}} + + \vspace{0.3cm} + \begin{itemize} + \item Mathematical way to define lists and sets + \item Complete syntax: + + \vspace{0.2cm} + \texttt{[f(x,y,\dots) {\bf for} x {\bf in} L {\bf for} y {\bf in} M + \dots \quad {\bf if} cond(x,y,\dots)]} + + \vspace{0.2cm} + \begin{itemize} + \item Use as many variables \texttt{x, y, \dots} as you want + \item \texttt{L, M, \dots} are lists or sets or other collections + \item \texttt{f(x,y,\dots)} is any expression depending on the + variables + \item \texttt{cond(x,y,\dots)} has Boolean value + \end{itemize} + \end{itemize} +\end{frame} + +\begin{frame}{Lists: access elements and sublists} + \begin{tabular}{ll} + \texttt{A[i]} & + \texttt{\# i-th element of A ($i\in \{0,\dots,\texttt{len(A)}-1\}$)} \\ + \texttt{A[i] = value} & \texttt{\# Change i-th element of A} \\ + \texttt{A[i:j:k]} & \texttt{\# Sublist from A[i] to A[j] with step k} \\ + \texttt{A[i:j]} & \texttt{\# Same as A[i:j:1]} \\ + \texttt{A[i:]} & \texttt{\# Same as A[i:len(A):1]} \\ + \texttt{A[:j]} & \texttt{\# Same as A[0:j:1]} + \end{tabular} +\end{frame} + +\begin{frame}{List operations} + \begin{tabular}{ll} + \texttt{A.append(x)} & \texttt{\# Append x to A ({\bf change A})} \\ + \texttt{A.insert(i,x)} & + \texttt{\# Insert x in position i ({\bf change A})} \\ + \texttt{del A[i]} & \texttt{\# Remove i-th element of A ({\bf change A})}\\ + \end{tabular} + + \vspace{1cm} + \begin{tabular}{ll} + \texttt{A+B} & \texttt{\# Concatenation of A and B ({\bf list})} \\ + \texttt{A*n} & \texttt{\# Repetition of A ({\bf list})} \\ + \end{tabular} +\end{frame} + +\begin{frame}{Set operations} + \begin{tabular}{ll} + \texttt{A.add(x)} & \texttt{\# Add x to A ({\bf change A})} \\ + \texttt{A.remove(x)} & \texttt{\# Remove x from A ({\bf change A})}\\ + \end{tabular} + + \vspace{0.5cm} + \begin{tabular}{ll} + \texttt{A < B} (or \texttt{A <= B}) & + \texttt{\# A contained in (or equal to) B ({\bf bool})} \\ + \texttt{A > B} (or \texttt{A >= B}) & + \texttt{\# A containes (or is equal to) B ({\bf bool})} \\ + \end{tabular} + + \vspace{0.5cm} + \begin{tabular}{ll} + \texttt{A | B} & \texttt{\# Union ({\bf set})} \\ + \texttt{A \& B} & \texttt{\# Intersection ({\bf set})}\\ + \texttt{A - B} & \texttt{\# Set difference ({\bf set})} \\ + \end{tabular} +\end{frame} + +\begin{frame}{Writing more complex programs} + \begin{center}\includegraphics[scale=0.25]{img/geany.png}\end{center} +\end{frame} + +\begin{frame}{Non-interactive Python} + \begin{itemize} + \item You can write a file (for example with \url{https://www.geany.org}) + \item Output results with \texttt{print("string", or, other, values)} + \item Get input (\texttt{str}) with \texttt{x = input("Prompt: ")}, + convert with \texttt{int(x)} or \texttt{float(x)}\dots + \item Blocks of code: use \emph{indentation} (see next slides) + \end{itemize} +\end{frame} + +\begin{frame}[fragile]{\texttt{if} statement} + \begin{columns} + \column{0.45\textwidth} + \texttt{{\bf if} \emph{condition}:} + + \texttt{\qquad instruction1} + + \texttt{\qquad instruction2} + + \texttt{\qquad \dots} + + \texttt{{\bf else}: \# This is optional} + + \texttt{\qquad other inst} + \column{0.55\textwidth} + \begin{tikzpicture} + \tikzstyle{s} = [rectangle, rounded corners, text centered, + draw=black, fill=red!30] + \tikzstyle{p} = [rectangle, text centered, draw=black, fill=orange!30] + \tikzstyle{d} = [rectangle, text centered, draw=black, fill=green!30] + + \node(start) [s] {Start}; + \node(cond) [d, below of=start] {\texttt{\emph{condition}}?}; + \node(inst1) [p, right of=cond, xshift=2.7cm] {\texttt{instruction1}}; + \node(inst2) [p, below of=inst1] {\texttt{instruction2}}; + \node(dots) [p, below of=inst2] {\texttt{\dots}}; + \node(other) [p, below of=cond, yshift=-0.5cm] {\texttt{other inst}}; + \node(end) [s, below of=other, yshift=-0.5cm] {End}; + + \draw[->] (start) -- (cond); + \draw[->] (cond) -- node[anchor=south] {\texttt{True}} (inst1); + \draw[->] (inst1) -- (inst2); + \draw[->] (inst2) -- (dots); + \draw[->] (cond) -- node[anchor=east] {\texttt{False}} (other); + \draw[->] (dots) |- (end); + \draw[->] (other) -- (end); + \end{tikzpicture} + \end{columns} +\end{frame} + + +\begin{frame}[fragile]{\texttt{while} loop} + \begin{columns} + \column{0.45\textwidth} + \texttt{{\bf while} \emph{condition}:} + + \texttt{\qquad instruction1} + + \texttt{\qquad instruction2} + + \texttt{\qquad \dots} + \column{0.55\textwidth} + \begin{tikzpicture} + \tikzstyle{s} = [rectangle, rounded corners, text centered, + draw=black, fill=red!30] + \tikzstyle{p} = [rectangle, text centered, draw=black, fill=orange!30] + \tikzstyle{d} = [rectangle, text centered, draw=black, fill=green!30] + + \node(start) [s] {Start}; + \node(cond) [d, below of=start] {\texttt{\emph{condition}}?}; + \node(inst1) [p, right of=cond, xshift=2.7cm] {\texttt{instruction1}}; + \node(inst2) [p, below of=inst1] {\texttt{instruction2}}; + \node(dots) [p, below of=inst2] {\texttt{\dots}}; + \node(end) [s, below of=other, yshift=-0.5cm] {End}; + + \draw[->] (start) -- (cond); + \draw[->] (cond) -- node[anchor=south] {\texttt{True}} (inst1); + \draw[->] (inst1) -- (inst2); + \draw[->] (inst2) -- (dots); + \draw[->] (cond) -- node[anchor=east] {\texttt{False}} (end); + \draw[->] (dots) -| ($(cond.south)+(0.4,0)$); + \end{tikzpicture} + \end{columns} +\end{frame} + +\begin{frame}{\texttt{for} loop} + \texttt{{\bf for} i {\bf in} A:} + + \texttt{\qquad instruction1} + + \texttt{\qquad instruction2} + + \texttt{\qquad \dots} + + \vspace{0.3cm} + \begin{itemize} + \item Repeats instructions as \texttt{i} varies in \texttt{A} + \item \texttt{A} can be list, set or other collection + \item Example: \texttt{A} can be \texttt{range(\emph{a,b,step})} + \end{itemize} +\end{frame} + + +\begin{frame}{Functions} + \texttt{{\bf def} f(x, y, \dots): } + + \texttt{\qquad instruction1} + + \texttt{\qquad instruction2} + + \texttt{\qquad \dots} + + \texttt{\qquad {\bf return} some\_value} + + \vspace{0.3cm} + \begin{itemize} + \item Useful to divide programs into ``pieces'' + \item The result of \texttt{f(x,y,\dots)} is given by \texttt{return \dots} + \end{itemize} +\end{frame} + +\begin{frame}{An example of function (with recursion)} + \texttt{def fibonacci(n):} + + \texttt{\qquad if n == 0:} + + \texttt{\qquad \qquad return 0} + + \texttt{\qquad if n == 1:} + + \texttt{\qquad \qquad return 1} + + \texttt{\qquad return fibonacci(n-1) + fibonacci(n-2)} + + \vspace{0.3cm} + \begin{itemize} + \item Elegant, but slow (in this case) + \item Can get stuck in infinite loop: when? + \end{itemize} +\end{frame} + +\begin{frame}{Sage} + \begin{center} + \includesvg[scale=0.5]{img/sage} + + \url{https://www.sagemath.org} + \end{center} + + \vspace{0.3cm} + \begin{itemize} + \item Mathematical software, uses Python as a language + \item Use it interactively or with Jupyter notebook + \item Try it online: \url{https://sagecell.sagemath.org} or + \url{https://cocalc.com/app} + \end{itemize} +\end{frame} + +\begin{frame}{Differences with Python} + \begin{tabular}{l|l} + \textbf{Python} & \textbf{Sage} \\ + \texttt{{\color{gray}>>>} {\color{blue}type(5)}} & + \texttt{{\color{gray}sage:} {\color{blue}type(5)}} \\ + \texttt{} & \texttt{} \\ + \texttt{{\color{gray}>>>} {\color{blue}5/2}} & + \texttt{{\color{gray}sage:} {\color{blue}5/2}} \\ + \texttt{2.5} & \texttt{5/2} \\ + \texttt{{\color{gray}>>>} {\color{blue}type(5/2)}} & + \texttt{{\color{gray}sage:} {\color{blue}type(5/2)}} \\ + \texttt{} & + \texttt{} \\ + \texttt{{\color{gray}>>>} {\color{blue}type(2.5)}} & + \texttt{{\color{gray}sage:} {\color{blue}type(2.5)}} \\ + \texttt{} & + \texttt{} \\ + \texttt{{\color{gray}>>>} {\color{blue}5**3}} & + \texttt{{\color{gray}sage:} {\color{blue}5\^{}3}} \\ + \texttt{125} & \texttt{125} + \end{tabular} +\end{frame} + +\begin{frame}{Sage Documentation} + \begin{itemize} + \item Tutorial (guided examples): type \texttt{tutorial()} or visit + \url{https://doc.sagemath.org/html/en/tutorial} + \item \texttt{help()}: works as in Python + \item Reference manual (detailed technical information): + \url{https://doc.sagemath.org/html/en/reference} + \end{itemize} +\end{frame} + + +\end{document} + diff --git a/src/Lecture4/slides/6-PythonIntroduction.toc b/src/Lecture4/slides/6-PythonIntroduction.toc new file mode 100644 index 0000000..e69de29 diff --git a/src/Lecture4/slides/6-PythonIntroduction.vrb b/src/Lecture4/slides/6-PythonIntroduction.vrb new file mode 100644 index 0000000..401cc07 --- /dev/null +++ b/src/Lecture4/slides/6-PythonIntroduction.vrb @@ -0,0 +1,32 @@ +\frametitle{\texttt {while} loop} +\begin{columns} + \column{0.45\textwidth} + \texttt{{\bf while} \emph{condition}:} + + \texttt{\qquad instruction1} + + \texttt{\qquad instruction2} + + \texttt{\qquad \dots} + \column{0.55\textwidth} + \begin{tikzpicture} + \tikzstyle{s} = [rectangle, rounded corners, text centered, + draw=black, fill=red!30] + \tikzstyle{p} = [rectangle, text centered, draw=black, fill=orange!30] + \tikzstyle{d} = [rectangle, text centered, draw=black, fill=green!30] + + \node(start) [s] {Start}; + \node(cond) [d, below of=start] {\texttt{\emph{condition}}?}; + \node(inst1) [p, right of=cond, xshift=2.7cm] {\texttt{instruction1}}; + \node(inst2) [p, below of=inst1] {\texttt{instruction2}}; + \node(dots) [p, below of=inst2] {\texttt{\dots}}; + \node(end) [s, below of=other, yshift=-0.5cm] {End}; + + \draw[->] (start) -- (cond); + \draw[->] (cond) -- node[anchor=south] {\texttt{True}} (inst1); + \draw[->] (inst1) -- (inst2); + \draw[->] (inst2) -- (dots); + \draw[->] (cond) -- node[anchor=east] {\texttt{False}} (end); + \draw[->] (dots) -| ($(cond.south)+(0.4,0)$); + \end{tikzpicture} + \end{columns} diff --git a/src/Lecture4/slides/img/calc.jpg b/src/Lecture4/slides/img/calc.jpg new file mode 100644 index 0000000..09438d1 Binary files /dev/null and b/src/Lecture4/slides/img/calc.jpg differ diff --git a/src/Lecture4/slides/img/equal.png b/src/Lecture4/slides/img/equal.png new file mode 100644 index 0000000..39948a6 Binary files /dev/null and b/src/Lecture4/slides/img/equal.png differ diff --git a/src/Lecture4/slides/img/geany.png b/src/Lecture4/slides/img/geany.png new file mode 100644 index 0000000..7910546 Binary files /dev/null and b/src/Lecture4/slides/img/geany.png differ diff --git a/src/Lecture4/slides/img/laptop.png b/src/Lecture4/slides/img/laptop.png new file mode 100644 index 0000000..0f9eaf5 Binary files /dev/null and b/src/Lecture4/slides/img/laptop.png differ diff --git a/src/Lecture4/slides/img/python.png b/src/Lecture4/slides/img/python.png new file mode 100644 index 0000000..d775a99 Binary files /dev/null and b/src/Lecture4/slides/img/python.png differ diff --git a/src/Lecture4/slides/img/sage.svg b/src/Lecture4/slides/img/sage.svg new file mode 100644 index 0000000..642e67b --- /dev/null +++ b/src/Lecture4/slides/img/sage.svg @@ -0,0 +1,72 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Lecture4/slides/img/term.png b/src/Lecture4/slides/img/term.png new file mode 100644 index 0000000..fb0519a Binary files /dev/null and b/src/Lecture4/slides/img/term.png differ diff --git a/src/Lecture4/slides/img/unilu.jpg b/src/Lecture4/slides/img/unilu.jpg new file mode 100644 index 0000000..5265563 Binary files /dev/null and b/src/Lecture4/slides/img/unilu.jpg differ diff --git a/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf new file mode 100644 index 0000000..5f75b82 Binary files /dev/null and b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf differ diff --git a/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex new file mode 100644 index 0000000..348dc56 --- /dev/null +++ b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex @@ -0,0 +1,58 @@ +%% Creator: Inkscape 1.0.2 (e86c870879, 2021-01-15), www.inkscape.org +%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 +%% Accompanies image file 'sage_svg-tex.pdf' (pdf, eps, ps) +%% +%% To include the image in your LaTeX document, write +%% \input{.pdf_tex} +%% instead of +%% \includegraphics{.pdf} +%% To scale the image, write +%% \def\svgwidth{} +%% \input{.pdf_tex} +%% instead of +%% \includegraphics[width=]{.pdf} +%% +%% Images with a different path to the parent latex file can +%% be accessed with the `import' package (which may need to be +%% installed) using +%% \usepackage{import} +%% in the preamble, and then including the image with +%% \import{}{.pdf_tex} +%% Alternatively, one can specify +%% \graphicspath{{/}} +%% +%% For more information, please see info/svg-inkscape on CTAN: +%% http://tug.ctan.org/tex-archive/info/svg-inkscape +%% +\begingroup% + \makeatletter% + \providecommand\color[2][]{% + \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% + \renewcommand\color[2][]{}% + }% + \providecommand\transparent[1]{% + \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% + \renewcommand\transparent[1]{}% + }% + \providecommand\rotatebox[2]{#2}% + \newcommand*\fsize{\dimexpr\f@size pt\relax}% + \newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% + \ifx\svgwidth\undefined% + \setlength{\unitlength}{375bp}% + \ifx\svgscale\undefined% + \relax% + \else% + \setlength{\unitlength}{\unitlength * \real{\svgscale}}% + \fi% + \else% + \setlength{\unitlength}{\svgwidth}% + \fi% + \global\let\svgwidth\undefined% + \global\let\svgscale\undefined% + \makeatother% + \begin{picture}(1,0.26172667)% + \lineheight{1}% + \setlength\tabcolsep{0pt}% + \put(0,0){\includegraphics[width=\unitlength,page=1]{sage_svg-tex.pdf}}% + \end{picture}% +\endgroup% -- cgit v1.3