Files
PSIpresentation/ppexample.tex
2024-05-31 13:15:56 +02:00

215 lines
4.0 KiB
TeX

\documentclass{psipresentation}
\usepackage{ragged2e}
\usepackage{blindtext}
\title{Title}
\subtitle{Subtitle}
\author{Author}
%\institute{Paul Scherrer Institut PSI} % default
\location{Location}
\date{DD Month YYYY}
%% uncomment to add "Center for ..." on the title page and in the footer
%\centerfor{Accelerator Science and Engineering}
%\centerfor{Corporate Services}
%\centerfor{Energy and Environmental Sciences}
%\centerfor{Life Sciences}
%\centerfor{Neutron and Muon Sciences}
%\centerfor{Nuclear Engineering and Sciences}
%\centerfor{Photon Science}
%\centerfor{Scientific Computing, Theory and Data}
%% uncomment to switch to image mode
%\titleimage{psipresentation/imgs/example}
%% available in background and image mode
%\titlecolor{blue} % default
%\titlecolor{red}
%% only in background mode
%\titlecolor{darkblue}
%% only in image mode
%\titlecolor{green}
%\titlecolor{pink}
%\titlecolor{purple}
%\titlecolor{yellow}
\begin{document}
\maketitle
\begin{frame}[t]{Frametitle}
\justifying
\blindmathtrue
\blindtext
\texttt{And a mono spaced font example. \\ Another mono spaced font example}.
\end{frame}
\newcommand{\colortest}[1]{\textcolor{#1}{$\blacksquare$ #1}\\}
\begin{frame}{PSI Colors}
\colortest{dark}
\colortest{light}
\colortest{accent1}
\colortest{accent2}
\colortest{accent3}
\colortest{accent4}
\colortest{accent5}
\colortest{accent6}
\colortest{blue}
\colortest{green}
\colortest{red}
\colortest{purple}
\colortest{yellow}
\colortest{pink}
\end{frame}
\begin{frame}{Lists}
\begin{columns}[onlytextwidth]
\begin{column}{0.5\textwidth}
\begin{itemize}
\item test
\begin{itemize}
\item test
\begin{itemize}
\item test
\item test
\end{itemize}
\item test
\end{itemize}
\item test
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\begin{enumerate}
\item test
\begin{enumerate}
\item test
\begin{enumerate}
\item test
\item test
\end{enumerate}
\item test
\end{enumerate}
\item test
\end{enumerate}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[t]{Sample Slide \enquote{Wide Content}}
\begin{block}{Heading (formatted bold)}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor
congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus
malesuada libero, sit amet commodo magna eros quis urna.
\end{block}
~\\
\begin{block}{Heading (formatted bold)}
Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.
\end{block}
~\\
\begin{itemize}
\item Bullet List
\item Bullet List
\end{itemize}
\end{frame}
\begin{frame}[t]{Typeface}
\begin{columns}[onlytextwidth]
\begin{column}{0.4\textwidth}
{\tiny Font}
\begin{center}
{\Huge Aptos}
\end{center}
{\tiny Control image (how the font should look like)}
\begin{center}
\includegraphics[scale=0.44]{psipresentation/imgs/fonts/aptos}
\end{center}
\end{column}
\begin{column}{0.4\textwidth}
{\tiny Font}
\begin{center}
{\Huge \textbf{Aptos Bold}}
\end{center}
{\tiny Control image (how the font should look like)}
\begin{center}
\includegraphics[scale=0.44]{psipresentation/imgs/fonts/aptos-bold}
\end{center}
\end{column}
\begin{column}{0.2\textwidth}
\end{column}
\end{columns}
~\\~\\~\\
\begin{itemize}
\item If one of the font names above is not identical to the screenshot counterpart below, the
corresponding font is not installed on the system.
\end{itemize}
\end{frame}
\begin{divider}{red}{white}
Section Heading. Lorem ipsum dolor\\
sit amet, consectetuer adipiscing elit.\\
Aenean commodo ligula eget dolor.\\
Aenean massa.
\end{divider}
\begin{divider}{green}{black}
Section Heading. Lorem ipsum dolor\\
sit amet, consectetuer adipiscing elit.\\
Aenean commodo ligula eget dolor.\\
Aenean massa.
\end{divider}
\begin{frame}{Tables}
% ctabular expects three arguments:
% column specifiers (LCR), row background color (purple), header text color (white).
% the new specifiers (LCR) replace the default specifiers (lcr) in order to apply the header text color.
\begin{ctabular}{LCR}{purple}{white}
Title L & Title C & Title R\\
Text & Text & Text\\
Text & Text & Text\\
Text & Text & Text\\
Text & Text & Text\\
\end{ctabular}
\end{frame}
\end{document}