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
Raw Normal View History

2020-06-05 04:00:30 +02:00
\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Darmstadt}
\usepackage{verbatim}
2020-06-07 06:01:30 +02:00
\usepackage{amsmath}
2020-06-05 04:00:30 +02:00
\setbeamercovered{transparent}
\title{\LaTeX 3}
\author{trololol}
\institute{UTB ve Zlíně}
\date{\today}
\begin{document}
\frame{\titlepage}
2020-06-05 04:21:32 +02:00
2020-06-05 04:00:30 +02:00
\section{Možnosti horizontálnych a vertikálnych medzier}
2020-06-05 23:00:38 +02:00
\subsection{Horizont. medzery}
2020-06-05 04:00:30 +02:00
2020-06-07 06:01:30 +02:00
\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}
2020-06-05 23:00:38 +02:00
\begin{frame}
\frametitle{Infinite}
\begin{block}{Horizont. medzery}
\begin{itemize}
2020-06-07 06:01:30 +02:00
\item \texttt{\textbackslash hfil} \\
2020-06-05 23:00:38 +02:00
Nekonecna horizontalna \hfil vypln \textit{prazdnom}.
2020-06-07 06:01:30 +02:00
\item \texttt{\textbackslash dotfill} \\
2020-06-05 23:00:38 +02:00
Nekonecna horizontalna \dotfill vypln bodkami.
2020-06-07 06:01:30 +02:00
\item \texttt{\textbackslash hrulefill} \\
2020-06-05 23:00:38 +02:00
Nekonecna horizontalna \hrulefill \ spojitou ciarou.
\end{itemize}
2020-06-05 04:00:30 +02:00
\end{block}
\end{frame}
2020-06-05 23:00:38 +02:00
\subsection{Vert. medzery}
2020-06-05 04:00:30 +02:00
\begin{frame}
2020-06-07 06:01:30 +02:00
\frametitle{Základné}
2020-06-05 23:00:38 +02:00
\begin{block}{Vert. medzery}
\begin{itemize}
2020-06-07 06:01:30 +02:00
\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.
2020-06-05 23:00:38 +02:00
\end{itemize}
\end{block}
2020-06-05 04:00:30 +02:00
\end{frame}
\begin{frame}
2020-06-05 23:00:38 +02:00
\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}
2020-06-05 04:00:30 +02:00
\end{frame}
2020-06-05 04:21:32 +02:00
2020-06-05 23:00:38 +02:00
\section{Možnosti poznámok v \LaTeX-u}
2020-06-07 06:01:30 +02:00
\subsection{footnotes}
2020-06-05 04:00:30 +02:00
\begin{frame}
2020-06-05 04:21:32 +02:00
\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}}
2020-06-05 04:00:30 +02:00
\end{frame}
2020-06-07 06:01:30 +02:00
\subsection{quotes}
\begin{frame}
\frametitle{Citácie}
\begin{exampleblock}{quote}
``This should show as quoted.'' \\
\`\`\ použitie backtickov a apostrofov `\ `
\end{exampleblock}
\end{frame}
2020-06-05 04:21:32 +02:00
2020-06-05 04:00:30 +02:00
\section{Možnosti odkrývania obsahu slajdov}
2020-06-07 06:01:30 +02:00
\begin{frame}
\frametitle{Odkrývanie položiek zoznamu}
\textbf{Viditeľné stále.}
2020-06-05 04:00:30 +02:00
2020-06-07 06:01:30 +02:00
\uncover<2->{2. a nasledovné\\}
\uncover<2,4>{2. a 4.\\}
\uncover<3>{len 3.\\}
2020-06-05 04:00:30 +02:00
\end{frame}
\begin{frame}
2020-06-07 06:01:30 +02:00
\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}
2020-06-05 04:00:30 +02:00
\end{frame}
2020-06-07 06:01:30 +02:00
2020-06-05 04:00:30 +02:00
\begin{frame}
2020-06-07 06:01:30 +02:00
\begin{columns}[c]
\begin{column}{0.4\textwidth}
\frametitle{Odrážky + obrázok}
2020-06-05 04:00:30 +02:00
\begin{itemize}
2020-06-07 06:01:30 +02:00
\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!}}}}
2020-06-05 04:00:30 +02:00
\end{itemize}
2020-06-07 06:01:30 +02:00
\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}
2020-06-05 04:00:30 +02:00
2020-06-07 06:01:30 +02:00
\begin{frame}[plain]
\includegraphics[height=4.75cm]{./pics/message_in_a_bottle.png}
2020-06-05 04:00:30 +02:00
\end{frame}
2020-06-07 06:01:30 +02:00
\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}
2020-06-05 04:00:30 +02:00
\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}}
2020-06-07 06:01:30 +02:00
\begin{columns}[c]
\begin{column}{0.5\textwidth}
\begin{itemize}
2020-06-05 04:00:30 +02:00
\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.}
2020-06-07 06:01:30 +02:00
%\item % this is here on purpose --> issue with rendering, should it be removed
\end{itemize}
2020-06-05 04:00:30 +02:00
\end{column}
\begin{column}{0.5\textwidth}
\includegraphics<1>[height=7cm]{./pics/confidence_interval.png}
2020-06-07 06:01:30 +02:00
\includegraphics<2>[height=6cm]{./pics/mount_st_helens.png}
2020-06-05 04:00:30 +02:00
\includegraphics<3>[height=7cm]{./pics/preprint.png}
\end{column}
\end{columns}
\end{frame}
2020-06-07 06:01:30 +02:00
\subsection{}
\begin{frame}
\frametitle{Koniec}
\textbf{Vďaka za pozornosť!}
\end{frame}
2020-06-05 04:00:30 +02:00
\end{document}