This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
tdp_0x07/task0x07.tex

304 lines
7.4 KiB
TeX

\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Darmstadt}
\usepackage{verbatim}
\usepackage{amsmath}
\setbeamercovered{transparent}
\title{\LaTeX 3}
\author{trololol}
\institute{UTB ve Zlíně}
\date{\today}
\begin{document}
\frame{\titlepage}
\section{Možnosti horizontálnych a vertikálnych medzier}
\subsection{Horizont. medzery}
\begin{frame}
\frametitle{Základné}
\begin{block}{Horizont. medzery}
\begin{itemize}
\item \textbackslash \\
Obyčajná\ medzera.
\item \texttt{\~} \\
Medzera, ktorá nebude sama na konci riadku - v prípade dlhej vety dôjde k~zalomeniu ('k zalomeniu' sa nerozdelí) celého spojenia na druhy riadok.
\item \textt{\textbackslash hspace\{15\}} \\
Horizontálna \hspace{15} s parametrom veľkosti, v tomto prípade 15.
\item \texttt{\textbackslash qquad} \\
Dvojštvorčeková \qquad medzera.
\end{itemize}
\end{block}
\end{frame}
\begin{frame}
\frametitle{Infinite}
\begin{block}{Horizont. medzery}
\begin{itemize}
\item \texttt{\textbackslash hfil} \\
Nekonecna horizontalna \hfil vypln \textit{prazdnom}.
\item \texttt{\textbackslash dotfill} \\
Nekonecna horizontalna \dotfill vypln bodkami.
\item \texttt{\textbackslash hrulefill} \\
Nekonecna horizontalna \hrulefill \ spojitou ciarou.
\end{itemize}
\end{block}
\end{frame}
\subsection{Vert. medzery}
\begin{frame}
\frametitle{Základné}
\begin{block}{Vert. medzery}
\begin{itemize}
\item \texttt{\textbackslash smallskip} \\
Malá vertikálna \smallskip medzera.
\item \texttt{\textbackslash medskip} \\
Stredná vertikálna \medskip medzera.
\item \texttt{\textbackslash bigskip} \\
Veľká vertikálna \bigskip medzera.
\end{itemize}
\end{block}
\end{frame}
\begin{frame}
\frametitle{Vert. medzery}
\begin{block}{Flexibilna vert. medzera a nekonecna vertikalna medzera}
\begin{itemize}
\item \textbackslash vspace\{5\} \\
Vert. medzera \vspace{5} velkosti 5.
\item \textbackslash vfil \\
Nekonecna vertikalna \vfil medzera.
\end{itemize}
\end{block}
\end{frame}
\section{Možnosti poznámok v \LaTeX-u}
\subsection{footnotes}
\begin{frame}
\frametitle{Možnosti poznámok v \LaTeX-u}
\framesubtitle{footnote}
\begin{exampleblock}{footnote}
This is a nice\footnote{nice footnote right there} footnote.
\end{exampleblock}
\end{frame}
\begin{frame}
\frametitle{Možnosti poznámok v \LaTeX-u}
\framesubtitle{footnotemark + footnotetext}
This should be footnotemark.\footnotemark
\begin{exampleblock}{footnotemark}
This is a nice\footnotemark footnotemark.
\footnotetext[1]{in-block \ttt{footnote}}
\end{exampleblock}
\footnotetext{page-bottom footnote using \ttt{footmark}}
\end{frame}
\subsection{quotes}
\begin{frame}
\frametitle{Citácie}
\begin{exampleblock}{quote}
``This should show as quoted.'' \\
\`\`\ použitie backtickov a apostrofov `\ `
\end{exampleblock}
\end{frame}
\section{Možnosti odkrývania obsahu slajdov}
\begin{frame}
\frametitle{Odkrývanie položiek zoznamu}
\textbf{Viditeľné stále.}
\uncover<2->{2. a nasledovné\\}
\uncover<2,4>{2. a 4.\\}
\uncover<3>{len 3.\\}
\end{frame}
\begin{frame}
\begin{columns}[c]
\begin{column}{0.5\textwidth}
\frametitle{Odrážky + zoznam}
\framesubtitle{\href{https://www.youtube.com/watch?v=IO0rjspjhNA}{Dual Core - Light Prototype}}
\begin{itemize}
\item<1> {Shout outs to my robot homies}
\item<2,3> {Quickman, Geminiman, Brightman, anyone I forgot,}
\item<3-5> {basically}
\item<4> {Dot-plus-MAN}
\item<5> {for all you}
\item<6> {robots}
\item<7-> {with greedy}
\item<8> {regular expressions}
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\begin{enumerate}
\item<1> {one}
\item<2> {two}
\item<3> {three}
\item<4> {four}
\item<5> {five}
\item<6> {six}
\item<7> {seven}
\item<8> {eight}
\item<9> {nine}
\item<10> {ten}
\end{enumerate}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\begin{columns}[c]
\begin{column}{0.4\textwidth}
\frametitle{Odrážky + obrázok}
\begin{itemize}
\item<1>{one}
\framesubtitle<1>{one}
\item<2>{two}
\framesubtitle<2>{two}
\item<3>{three}
\framesubtitle<3>{three}
\item<4>{four}
\framesubtitle<4>{four}
\item<5>{five}
\framesubtitle<5>{five}
\item<6>{six}
\framesubtitle<6>{six}
\item<7>{seven}
\framesubtitle<7>{seven}
\item<8>{eight}
\framesubtitle<8>{eight}
\item<9> {nine...}
\framesubtitle<9>{nine...}
\item<10> {It's \texttt{{\href{https://www.youtube.com/watch?v=Sr8ILq1a_yw}{the 0x10 hack commandments!}}}}
\framesubtitle<10> {It's \texttt{{\href{https://www.youtube.com/watch?v=Sr8ILq1a_yw}{the 0x10 hack commandments!}}}}
\end{itemize}
\end{column}
\begin{column}{0.6\textwidth}
\includegraphics[height=6.5cm]{./pics/how_hacking_works.png}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\begin{columns}[c]
\begin{column}{0.5\textwidth}
\frametitle{Tabuľka + zoznam}
\begin{tabular}{ l | c | r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tabular}
\end{column}
\begin{column}{0.5\textwidth}
\begin{enumerate}
\item<1>{one}
\item<2>{two}
\item<3>{three}
\item<4>{four}
\item<5>{five}
\item<6>{six}
\item<7>{seven}
\item<8>{eight}
\item<9> {nine}
\item<10> {ten}
\end{enumerate}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[plain]
\includegraphics[height=4.75cm]{./pics/message_in_a_bottle.png}
\end{frame}
\begin{frame}
\frametitle{Rovnice}
\begin{equation}
\varphi(k)=\Bigg\{1+(1+\rho)\Big[\ln(1+\xi(k-1))\Big]+\Bigg[\frac{(v(k-1)+1)\eta(k-1)}{1+\xi(k-1)+\eta(k-1)}-1\Bigg]\frac{\xi(k-1)}{1+\xi(k-1)} \Bigg\}^{-1}
\end{equation}
\begin{equation}
u_{I} (k)=K_{P}\frac{T_{0}}{T_{I}}\sum_{i=1}^{k} e(i)=u_{I}(k-1)+K_{P}\frac{T_{0}}{T_{I}}e(k)
\end{equation}
\begin{equation}
\begin{bmatrix}
\beta_{1} & 0 & 0 & 1 \\
\beta_{2} & \beta_{1} & 0 & \alpha_{1} \\
0 & \beta_{2} & \beta_{1} & \alpha_{2} \\
0 & 0 & \beta_{2} & 0
\end{bmatrix}
\end{equation}
\end{frame}
\begin{frame}[fragile]
\frametitle{Použitie \ttt{verbatim}}
\framesubtitle{evil stuff}
\begin{verbatim}
#!/bin/bash
# evil script
while true; do
echo "[*] Doing evil stuff"
sleep 1
done
\end{verbatim}
\end{frame}
\section{3-phase}
\subsection{xkcd}
\begin{frame}
\frametitle{\href{https://xkcd.com}{xkcd}}
\framesubtitle{\href{https://xkcd.com/2311/}{Confidence Interval}}
\begin{columns}[c]
\begin{column}{0.5\textwidth}
\begin{itemize}
\item<1>{Confidence Interval: The worst part is that's the millisigma interval.}
\framesubtitle<2>{\href{https://xkcd.com/2308/}{Mount St. Helens}}
\item<2> {It's a good mountain but it really peaked in the 80s.}
\framesubtitle<3>{\href{https://xkcd.com/2304/}{Preprint}}
\item<3> {DOWNSIDES: Adobe people may periodically email your newsroom to ask you to call it an 'Adobe® PDF document,' but they'll reverse course once they learn how sarcastically you can pronounce the registered trademark symbol.}
%\item % this is here on purpose --> issue with rendering, should it be removed
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\includegraphics<1>[height=7cm]{./pics/confidence_interval.png}
\includegraphics<2>[height=6cm]{./pics/mount_st_helens.png}
\includegraphics<3>[height=7cm]{./pics/preprint.png}
\end{column}
\end{columns}
\end{frame}
\subsection{}
\begin{frame}
\frametitle{Koniec}
\textbf{Vďaka za pozornosť!}
\end{frame}
\end{document}