mathsoftware

A course about LaTeX and SageMath
git clone https://git.tronto.net/mathsoftware
Download | Log | Files | Refs | README | LICENSE

beamer.tex (1341B)


      1 \documentclass[11pt]{beamer}
      2 \usetheme{Madrid}
      3 \usepackage[utf8]{inputenc}
      4 \usepackage{amsmath}
      5 \usepackage{amsfonts}
      6 \usepackage{amssymb}
      7 
      8 \author[Tronto]{Sebastiano Tronto}
      9 \title[Example]{Example presentation}
     10 
     11 \newtheorem{prop}{Proposition}
     12 
     13 \setbeamercovered{transparent} 
     14 \setbeamertemplate{navigation symbols}{} 
     15 \logo{\includegraphics[scale=0.05]{unilu.jpg}} 
     16 
     17 %\date{} 
     18 
     19 
     20 \begin{document}
     21 
     22 \begin{frame}
     23 \titlepage
     24 \end{frame}
     25 
     26 %\begin{frame}
     27 %\tableofcontents
     28 %\end{frame}
     29 
     30 \section[this]{This is the first section}
     31 
     32 \begin{frame}{Frame number one}
     33 \uncover<2->{
     34 \begin{align*}
     35 	\sum_{i=1}^n\frac{i}{2}
     36 \end{align*}
     37 }
     38 
     39 \begin{itemize}[<+->]
     40 \item One item
     41 \item another random things
     42 \item third line
     43 \item fourth element
     44 \end{itemize}
     45 \end{frame}
     46 
     47 \begin{frame}{A second frame}
     48 \begin{theorem}
     49 A theorem
     50 \end{theorem}
     51 
     52 {
     53 
     54 \setbeamercolor{block body}{fg=red,bg=gray}
     55 \begin{prop}
     56 My proposition
     57 \end{prop}
     58 }
     59 
     60 \begin{block}{Title of the block}
     61 this is my custom block
     62 \end{block}
     63 
     64 \end{frame}
     65 
     66 \begin{frame}{Columns}
     67 \begin{columns}
     68 	\column{0.5\textwidth}
     69 		\begin{itemize}[<+->]
     70 			\item One item
     71 			\item another random things
     72 			\item third line
     73 			\item fourth element
     74 		\end{itemize}
     75 	
     76 	\column{0.2\textwidth}
     77 		hello
     78 	
     79 	\column{0.3\textwidth}
     80 		\includegraphics[scale=0.1]{unilu.jpg}
     81 \end{columns}
     82 \end{frame}
     83 
     84 \end{document}