You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
2.3 KiB
TeX
125 lines
2.3 KiB
TeX
\documentclass[20pt]{beamer}
|
|
|
|
%
|
|
% adjusting theme
|
|
%
|
|
|
|
\usetheme{default}
|
|
\useinnertheme{circles}
|
|
\beamertemplatenavigationsymbolsempty
|
|
\usepackage{fontspec}
|
|
\setsansfont{Qtpi} % <- change font here! pick whatever is installed and known to your system
|
|
\setbeamersize
|
|
{
|
|
text margin left=1.5cm,
|
|
text margin right=1.7cm
|
|
}
|
|
|
|
%
|
|
% define custom colors
|
|
%
|
|
|
|
\definecolor{fore}{HTML}{F9F2D7}
|
|
\definecolor{back}{HTML}{1E1124}
|
|
\definecolor{title}{HTML}{E36F99}
|
|
\definecolor{link}{HTML}{DFCC81}
|
|
|
|
%
|
|
% themeing of beamer colors and fonts
|
|
%
|
|
|
|
\setbeamercolor{titlelike}{fg=title}
|
|
\setbeamercolor{normal text}{fg=fore,bg=back}
|
|
\setbeamercolor{section in toc}{fg=fore}
|
|
\setbeamercolor{item}{fg=title}
|
|
\setbeamertemplate{frametitle}{%
|
|
\vskip0.5cm\hskip-0.5cm\insertframetitle}
|
|
|
|
%
|
|
% define listings
|
|
%
|
|
|
|
\usepackage{listings}
|
|
\definecolor{keywords}{RGB}{255,0,90}
|
|
\definecolor{comments}{RGB}{60,179,113}
|
|
\lstset{basicstyle=\footnotesize\ttfamily}
|
|
\lstset{language=[GNU]C++,
|
|
keywordstyle=\color{keywords},
|
|
commentstyle=\color{comments}\emph}
|
|
|
|
%
|
|
% hyper refs
|
|
%
|
|
|
|
\usepackage{hyperref}
|
|
\hypersetup{
|
|
colorlinks=true,
|
|
linkcolor=link,
|
|
filecolor=link,
|
|
citecolor=link,
|
|
urlcolor=link,
|
|
}
|
|
|
|
%
|
|
% document
|
|
%
|
|
\title{vewwy pawfessional \\ pawsentation >w<}
|
|
\subtitle{by Isabell Pflug}
|
|
|
|
\begin{document}
|
|
|
|
%
|
|
% title frame
|
|
%
|
|
|
|
\begin{frame}[plain]
|
|
\titlepage
|
|
\end{frame}
|
|
|
|
%
|
|
% frame toc
|
|
%
|
|
|
|
\begin{frame}{Outline}
|
|
\color{fore} \tableofcontents
|
|
\end{frame}
|
|
|
|
%
|
|
% frame 42
|
|
%
|
|
|
|
\section{Part 42}
|
|
\begin{frame}[fragile]{Part 42}
|
|
The answer to everything...
|
|
\end{frame}
|
|
|
|
%
|
|
% code frame
|
|
%
|
|
|
|
\section{C++ example Code}
|
|
\begin{frame}[fragile]{C++ example Code}
|
|
% code example
|
|
\begin{lstlisting}
|
|
# include <iostream>
|
|
int main() {
|
|
std::cout << "Hewwo Worwld!" \
|
|
<< std::endl;
|
|
return 0;
|
|
}
|
|
\end{lstlisting}
|
|
\end{frame}
|
|
|
|
%
|
|
% credits frame
|
|
%
|
|
|
|
\section{Credits}
|
|
\begin{frame}[fragile]{Credits}
|
|
\begin{itemize}
|
|
\item LaTeX beamer default theme customisation by \href{https://git.floating-in.space/isabell}{Isabell Pflug}
|
|
\item \href{https://github.com/zephyo/5fonts10hours/tree/master/qtpi}{font (qtpi)} by \href{https://github.com/zephyo}{Angela He}, \href{https://creativecommons.org/licenses/by/3.0/us/}{Creative Commons Attribution 3.0}
|
|
\end{itemize}
|
|
\end{frame}
|
|
\end{document}
|