Guest User

Untitled

a guest
Apr 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. documentclass{beamer}
  2.  
  3. % Note - to make this an article/handout we would use:
  4. % documentclass{article}
  5. % usepackage{beamerarticle}
  6.  
  7. usepackage{pgfpages}
  8. usepackage{blindtext}
  9. blindmathtrue
  10. usepackage{multicol}
  11. % setbeameroption{show notes on second screen}
  12. usetheme[progressbar=frametitle]{metropolis} % Use metropolis theme
  13. % setbeamertemplate{frame numbering}[none]
  14. metroset{block=fill}
  15. setbeamercovered{transparent=15}
  16.  
  17. usepackage{amsmath,amssymb,amsthm,mathrsfs,bbm,bm}
  18. usepackage{graphicx,subcaption,float,enumerate}
  19.  
  20.  
  21. title[short title]{Functions Testing}
  22. subtitle{Lecture 1}
  23. date{}
  24. author{}
  25. institute{School}
  26.  
  27.  
  28. begin{document}
  29. maketitle
  30. % setbeameroption{show notes on second screen}
  31.  
  32.  
  33.  
  34. begin{frame}[Tea]
  35.  
  36. begin{tikzpicture}[thick,help lines/.style={thin,draw=black!50}]
  37.  
  38. defA{textcolor{input}{$A$}} defC{textcolor{output}{$C$}} defE{$E$}
  39.  
  40. colorlet{input}{blue!80!black} colorlet{triangle}{orange}
  41.  
  42. defB{textcolor{input}{$B$}} defD{$D$}
  43.  
  44. colorlet{output}{red!70!black}
  45.  
  46. coordinate [label=left:A]
  47.  
  48. (A) at ($ (0,0) + .1*(rand,rand) $); coordinate [label=right:B] (B) at ($ (1.25,0.25) + .1*(rand,rand) $);
  49.  
  50. draw [input] (A) -- (B);
  51.  
  52. node [name path=D,help lines,draw,label=left:D]
  53.  
  54. node [name path=E,help lines,draw,label=right:E]
  55.  
  56. (D) at (A) [circle through=(B)] {};
  57.  
  58. (E) at (B) [circle through=(A)] {};
  59.  
  60. path [name intersections={of=D and E,by={[label=above:C]C}}];
  61.  
  62. draw [output] (A) -- (C) -- (B);
  63.  
  64. foreach point in {A,B,C} fill [black,opacity=.5] (point) circle (2pt);
  65.  
  66. begin{pgfonlayer}{background} fill[triangle!80] (A) -- (C) -- (B) -- cycle;
  67.  
  68. end{pgfonlayer}
  69.  
  70. node [below right, text width=10cm,align=justify] at (4,3) { smalltextbf{Proposition I}par emph{To construct an textcolor{triangle}{equilateral triangle} on a given textcolor{input}{finite straight line}.} parvskip1em Let AB be the given textcolor{input}{finite straight line}.
  71.  
  72. }; end{tikzpicture}
  73.  
  74. end{frame}
  75.  
  76. end{document}
Add Comment
Please, Sign In to add comment