demo_tuhh_presentation.tex 4.53 KB
Newer Older
1
\documentclass[17pt,institute=none]{tuhh_presentation}
2

Leonard Fisser's avatar
Leonard Fisser committed
3 4
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
5
\usepackage[backend=biber,style=ieee]{biblatex}
Leonard Fisser's avatar
Leonard Fisser committed
6

7

Leonard Fisser's avatar
Leonard Fisser committed
8
\title{Title/Headline of Hamburg University of Technology Presentation}
Leonard Fisser's avatar
Leonard Fisser committed
9
\date{\today} % or \date{dd}{mm}{yyyy} or \date{Text}
10
\author[Corresponding Author]{First Author, Second Author}
11
\email{corresponding.author@tuhh.de}
12
%\institute{Corresponding Author's Institute} % Optional: Please refer to https://collaborating.tuhh.de/e-4/tuhh_latex_presentation/-/wikis/Slides-with-Institute-Logos .
13 14 15
\street{Am Schwarzenberg-Campus 1}
\city{21073 Hamburg}
\website{www.tuhh.de}
16
\telephonenumber{+49 40 42878-3330}
Leonard Fisser's avatar
Leonard Fisser committed
17

18
%\autofontdecrement % This commands will automatically reduce font size for itemize/enumerate environments
Leonard Fisser's avatar
Leonard Fisser committed
19

20 21
\addbibresource{demo_tuhh_presentation.bib}

Leonard Fisser's avatar
Leonard Fisser committed
22
\begin{document}
Leonard Fisser's avatar
Leonard Fisser committed
23

Leonard Fisser's avatar
Leonard Fisser committed
24
\titlepage
25
\agenda
Leonard Fisser's avatar
Leonard Fisser committed
26

27 28
\section{Environments}\label{se:environments}
\begin{frame}{List Environments}
Leonard Fisser's avatar
Leonard Fisser committed
29 30
    \begin{minipage}{0.49\textwidth}
        \begin{itemize}
31 32
            \item This is an item.
            \item This is a second item.
Leonard Fisser's avatar
Leonard Fisser committed
33
            \begin{itemize}
34 35
                \item This is a sub item.
                \item This is a second sub item.
Leonard Fisser's avatar
Leonard Fisser committed
36
            \end{itemize}
37
            \item This is a third item.
Leonard Fisser's avatar
Leonard Fisser committed
38 39 40
        \end{itemize}
    \end{minipage}
    \begin{minipage}{0.49\textwidth}
41 42 43 44 45
        \begin{enumerate}
            \item This is an item in an enumeration.
            \item This is a second item in an enumeration.
            \item This is a third item in an enumeration.
        \end{enumerate}
Leonard Fisser's avatar
Leonard Fisser committed
46 47 48
    \end{minipage}
\end{frame}

49 50 51 52
\begin{frame}{Block Environments}
    \begin{block}{My Block}
      This is a block with a title.
    \end{block}
Leonard Fisser's avatar
Leonard Fisser committed
53

54 55 56 57 58 59 60 61 62 63 64 65 66
    \begin{definition}
      A \emph{sequence} is a mapping from $\mathbb{N}$ to a field of numbers.
    \end{definition}

    \begin{theorem}[Bolzano--Weierstrass]
      Every bounded sequence of real numbers has a convergent subsequence.
    \end{theorem}

    \begin{proof}
      Here comes the proof.
    \end{proof}
\end{frame}

Leonard Fisser's avatar
Leonard Fisser committed
67 68 69 70 71 72 73
\begin{frame}{Figure Environment}
    \begin{figure}
        \centering
        \includegraphics[width=0.8\textwidth]{.theme_imgs/TUHH_building-a.pdf}
        \caption{Figures work as usual and support JPG, PNG or PDF files.\label{fig:test_image}}
    \end{figure}
\end{frame}
Leonard Fisser's avatar
Leonard Fisser committed
74

75 76
\section{Fonts}
\begin{frame}{Font Sizes}
Leonard Fisser's avatar
Leonard Fisser committed
77 78 79 80 81 82 83 84
    \centering{\textbf{This is the place where you can write your content in bold.}}

    \centering{\textit{This is the place where you can write your content in italic.}}

    \centering{\textbf{\textit{This is the place where you can write your content in bold and italic.}}}

    \centering{\LARGE This is the place where content is LARGE.}

Leonard Fisser's avatar
Leonard Fisser committed
85 86 87
    \centering{But if your sentences get too long, you cannot be sure that the whole sentence will fit into the same line - You might get a linebreak!}
\end{frame}

88
\begin{frame}{Footnotes}
Leonard Fisser's avatar
Leonard Fisser committed
89 90 91 92 93 94 95
    You can use footnotes\footnote{Hello from down here!}!

    You can even have multiple footnotes\footnote{Hello again!}!

    What about really long footnotes\footnote{Let's see how long we can make this footnote, just to make sure you can put everything you want here!}?
\end{frame}

96

97
\section{Tables}
98
\begin{frame}{Tables}
Leonard Fisser's avatar
Leonard Fisser committed
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
    \begin{table}
        \begin{tuhhtabular}{|l|l|}
            \multicolumn{2}{c}{\tuhhHead{TU Table for Presentations}} \\
            Row 1 & 1 \\
            \hline
            Row 2 & 2 \\
            \hline
            Row 3 & 3 \\
            \hline
            Row 4 & 4 \\
            \hline
            Row 5 & 5 \\
            \hline
            Row 6 & 6 \\
            \hline
        \end{tuhhtabular}\quad\quad
        \begin{tuhhtabular}{|l|l|}
            \tuhhHead{Column 1} & \tuhhHead{Column 2} \\
            Row 1 & 1 \\
            \hline
            Row 2 & 2 \\
            \hline
            Row 3 & 3 \\
            \hline
            Row 4 & 4 \\
            \hline
            Row 5 & 5 \\
            \hline
            Row 6 & 6 \\
            \hline
        \end{tuhhtabular}
    \end{table}
\end{frame}

133
\section{Miscellaneous}
134 135 136
\begin{frame}{Miscellaneous}
    Collection of \LaTeX~commands and their appearance in this template:
    \begin{itemize}
137 138 139
        \item Citations using \textit{cite}: \cite{tuhh2022demo}
        \item Hyperlinks using \textit{href}: \href{https://www.tuhh.de}{https://www.tuhh.de}
        \item Hyperlinks using \textit{url}: \url{https://www.tuhh.de}
140
        \item Document references using \textit{ref}: Section \ref{se:environments}
141 142 143
    \end{itemize}
\end{frame}

Leonard Fisser's avatar
Leonard Fisser committed
144 145
\finalpage

146 147 148 149
\begin{frame}{References}
    \printbibliography
\end{frame}

150
\end{document}