162 lines
3.8 KiB
TeX
162 lines
3.8 KiB
TeX
\documentclass[aspectratio=169]{beamer}
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usetheme{Darmstadt}
|
|
\usepackage{verbatim}
|
|
\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{Infinite}
|
|
|
|
\begin{block}{Horizont. medzery}
|
|
\begin{itemize}
|
|
\item \textbackslash hfil \\
|
|
Nekonecna horizontalna \hfil vypln \textit{prazdnom}.
|
|
\item \textbackslash dotfill \\
|
|
Nekonecna horizontalna \dotfill vypln bodkami.
|
|
\item \textbackslash hrulefill \\
|
|
Nekonecna horizontalna \hrulefill \ spojitou ciarou.
|
|
\end{itemize}
|
|
\end{block}
|
|
|
|
\end{frame}
|
|
|
|
\subsection{Vert. medzery}
|
|
\begin{frame}
|
|
\frametitle{Vert. medzery}
|
|
|
|
\begin{block}{Vert. medzery}
|
|
\begin{itemize}
|
|
\item \textbackslash smallskip \\
|
|
Mala vertikalna \smallskip medzera.
|
|
\item \textbackslash medskip \\
|
|
Stredna vertikalna \medskip medzera .
|
|
\item \textbackslash bigskip \\
|
|
Velka vertikalna \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}
|
|
\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}
|
|
|
|
|
|
\section{Možnosti odkrývania obsahu slajdov}
|
|
\begin{frame}
|
|
\frametitle{Možnosti odkrývania obsahu slajdov}
|
|
|
|
\begin{block}{Horiz 1}
|
|
Obsah bloku
|
|
\end{block}
|
|
|
|
\end{frame}
|
|
|
|
\begin{frame}
|
|
Odkrývanie\\
|
|
\uncover<2->{2.-*\\}
|
|
\uncover<2,4>{2. a 4.\\}
|
|
\uncover<3>{3.\\}
|
|
\end{frame}
|
|
|
|
\begin{frame}
|
|
\begin{itemize}
|
|
\item 1. odrázka
|
|
\pause
|
|
\item 2. odrázka
|
|
\end{itemize}
|
|
|
|
\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}
|
|
|
|
\begin{itemize}
|
|
\begin{columns}[c]
|
|
\begin{column}{0.5\textwidth}
|
|
\frametitle{\href{https://xkcd.com}{xkcd}}
|
|
\framesubtitle{\href{https://xkcd.com/2311/}{Confidence Interval}}
|
|
\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{column}
|
|
\begin{column}{0.5\textwidth}
|
|
\includegraphics<1>[height=7cm]{./pics/confidence_interval.png}
|
|
\includegraphics<2>[height=7cm]{./pics/mount_st_helens.png}
|
|
\includegraphics<3>[height=7cm]{./pics/preprint.png}
|
|
\end{column}
|
|
\end{columns}
|
|
\end{itemize}
|
|
|
|
\end{frame}
|
|
|
|
|
|
\end{document}
|