University of Oslo presentation (Beamer theme UiO)
The University of Oslo's Beamer theme for the 2022 UiO graphic profile, by Dag Langmyhr and Karoline Moe (Department of Informatics); the sample is the theme's own user guide, with UiO front pages, image frames, section separators and summaries.
- Category
- Presentation
- Document class
beamer(beamer.cls) — ships with TeX Live- Workflow
- Presentation — no revision rounds
- Author
- University of Oslo
- Source
- University of Oslo
- Licence
- beamer.cls: LaTeX Project Public License (installed with TeX). The sample text is University of Oslo's, provided for authors preparing a submission.
These are the publisher’s own files. This project starts from University of Oslo’s package for this publication — their manuscript, their beamer.cls, their bibliography style — so what compiles here is what they would have given you.
University of Oslo serves this exact file to University of Oslo. Check University of Oslo’s author pages for the current instructions.
What you get
OJDs_hus.jpg· 192 KBSRs_hus.jpg· 321 KBUiO_sentrum.jpg· 211 KBVilla_Eika.jpg· 330 KBbeamerthemeUiO.sty· 11 KBrosselands-hus.tex· 318 Buio-beamer-segl-neg.png· 121 KBuio-beamer-segl-pos.png· 114 KBuio-fp-navn-bm.png· 70 KBuio-fp-navn-eng.pdf· 10 KBuio-fp-navn-nn.png· 70 KBuiobeamer-guide.tex— the file that is compiled · 10 KB
These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.
Source
OJDs_hus.jpg — binary, 192 KB
SRs_hus.jpg — binary, 321 KB
UiO_sentrum.jpg — binary, 211 KB
Villa_Eika.jpg — binary, 330 KB
beamerthemeUiO.sty · 11 KB
%% Identification
\wlog{Loaded beamerthemeUiO version 2024-05-31}
%% Required packages
\RequirePackage[T1]{fontenc}
\RequirePackage[absolute,overlay]{textpos}
\RequirePackage{xifthen}
\RequirePackage{xkeyval}
%% Options
% Languages:
\DeclareOptionBeamer{norsk}{\def \uio@lang {bm}}
\DeclareOptionBeamer{nynorsk}{\def \uio@lang {nn}}
\DeclareOptionBeamer{american}{\def \uio@lang {eng}}
\DeclareOptionBeamer{english}{\def \uio@lang {eng}}
\DeclareOptionBeamer{UKenglish}{\def \uio@lang {eng}}
\DeclareOptionBeamer{USenglish}{\def \uio@lang {eng}}
\newcommand{\uio@beamer@email@name@bm}{E-post}
\newcommand{\uio@beamer@email@name@nn}{E-post}
\newcommand{\uio@beamer@email@name@eng}{E-mail}
% Fonts:
\DeclareOptionBeamer{font}{%
\ifthenelse{\equal{#1}{none}}{\def \uio@font {0}}{}
\ifthenelse{\equal{#1}{arial}}{\def \uio@font {1}}{}
\ifthenelse{\equal{#1}{arev}}{\def \uio@font {2}}{}
\ifthenelse{\equal{#1}{noto}}{\def \uio@font {3}}{}
}
% UiO standard:
\newboolean{uio@standard} %% \setboolean{uio@standard}{false}
\DeclareOptionBeamer{uiobullets}[true]{\setboolean{uio@standard}{#1}}
\DeclareOptionBeamer{uiostandard}[true]{\setboolean{uio@standard}{#1}}
% Section headers
\newboolean{uio@sechead}
\DeclareOptionBeamer{sectionheaders}[true]{\setboolean{uio@sechead}{#1}}
% Section separator frames
\newboolean{uio@secsep} \setboolean{uio@secsep}{false}
\DeclareOptionBeamer{sectionsep}[white]{\setboolean{uio@secsep}{true}%
\def \uio@secsep@colour{#1}}
% Automatic tables og contents
\newboolean{uio@summary}
\DeclareOptionBeamer{summary}[true]{\setboolean{uio@summary}{#1}}
\newboolean{uio@toc}
\DeclareOptionBeamer{toc}[true]{\setboolean{uio@toc}{#1}}
\DeclareOptionBeamer{no-toc}{\setboolean{uio@toc}{false}}
% Process options
\ExecuteOptionsBeamer{norsk, sectionheaders=true, summary=false, toc=false,
uiostandard=false, font=noto}
\ProcessOptionsBeamer \relax
\ifcase \uio@font
\or % 0: none
\IfFileExists{t1ua1.fd}{\renewcommand{\sfdefault}{ua1}}{}\or % 1: Arial (if available)
\RequirePackage{arevtext, arevmath}%
\renewcommand{\ttdefault}{ul9}\or % 2: Arev with Luxi as tt
\RequirePackage[scale=1.111]{notomath}\fi % 3: Noto
%% Colours
% Most structure information is black:
\setbeamercolor{structure}{fg=black}
%% Colours used at UiO:
\definecolor{uioblue1}{RGB}{62, 49, 214}
\definecolor{uioblue2}{RGB}{134, 164, 247}
\definecolor{uioblue3}{RGB}{230, 236, 255}
\definecolor{uiogreen1}{RGB}{46, 196, 131}
\definecolor{uiogreen2}{RGB}{108, 225, 171}
\definecolor{uiogreen3}{RGB}{206, 255, 223}
\definecolor{uioorange1}{RGB}{254, 161, 27}
\definecolor{uioorange2}{RGB}{253, 203, 135}
\definecolor{uioorange3}{RGB}{255, 232, 212}
\definecolor{uiopink1}{RGB}{222, 0, 0}
\definecolor{uiopink2}{RGB}{251, 102, 102}
\definecolor{uiopink3}{RGB}{254, 224, 224}
\definecolor{uioyellow}{RGB}{255, 254, 167}
\definecolor{uiogray}{RGB}{178, 179, 183}
\definecolor{uiogrey}{RGB}{178, 179, 183}
%% Alternative UiO itemize bullets:
\newcommand{\uio@bullet@i}{\rule[0.3ex]{0.7ex}{0.7ex}}
\newcommand{\uio@bullet@ii}{\raisebox{0.65ex}{%
\setlength{\fboxsep}{0.25ex}\setlength{\fboxrule}{0.1ex}\fbox{\phantom{}}}}
\newcommand{\uio@bullet@iii}{\raisebox{0.7ex}{\rotatebox[origin=c]{45}{%
\setlength{\fboxsep}{0.25ex}\setlength{\fboxrule}{0.1ex}\fbox{\phantom{}}}}}
\ifthenelse{\boolean{uio@standard}}
{% UiO wants square bullets:
\setbeamertemplate{itemize item}{\uio@bullet@i}
\setbeamertemplate{itemize subitem}{\uio@bullet@ii}
\setbeamertemplate{itemize subsubitem}{\uio@bullet@iii}
\setbeamercolor{itemize item}{fg=black}
\setbeamercolor{itemize subitem}{fg=black}
\setbeamercolor{itemize subsubitem}{fg=black}}
{% We prefer grey circles in itemize lists:
\setbeamertemplate{itemize items}[circle]
\setbeamercolor{itemize item}{fg=uiogrey}
\setbeamercolor{itemize subitem}{fg=uiogrey}
\setbeamercolor{itemize subsubitem}{fg=uiogrey}}
%% Section headers
\ifthenelse{\boolean{uio@sechead}}
{\setbeamertemplate{headline}{%
\raisebox{-0.45cm}[0pt][0pt]{%
\makebox[\textwidth]{\hfill \insertsectionhead
\ifthenelse{\arabic{subsection}=0}{}%
{$\quad\mid\quad$\insertsubsectionhead}%
\hspace*{0.3cm}}}}}
{}
%% Front page
% Front page options
\newboolean{uio@beamer@inverted}
\define@key{uio@beamer@keys}{academictitle}{\def \uio@beamer@academic{#1}}
\define@key{uio@beamer@keys}{author}{\def \uio@beamer@author{#1}}
\define@key{uio@beamer@keys}{date}{\def \uio@beamer@date{#1}}
\define@key{uio@beamer@keys}{dept}{\def \uio@beamer@dept{#1}}
\define@key{uio@beamer@keys}{email}{\def \uio@beamer@email{#1}}
\define@key{uio@beamer@keys}{image}{\def \uio@beamer@image{#1}}
\define@key{uio@beamer@keys}{info}{\def \uio@beamer@info{#1}}
\define@key{uio@beamer@keys}{inverted}[true]{\setboolean{uio@beamer@inverted}{#1}}
\define@key{uio@beamer@keys}{smaller}[\small]{%
\def \uio@beamer@font@size@head{\large}\def \uio@beamer@font@size{#1}}
\define@key{uio@beamer@keys}{subtitle}{\def \uio@beamer@subtitle{#1}}
\define@key{uio@beamer@keys}{title}{\def \uio@beamer@title{#1}}
\newcommand{\uioemail}[1]{\def \uio@email{#1}}
\uioemail{}
% The front page
\newcommand{\uiofrontpage}[1][]{%
\def \uio@beamer@academic {}%
\def \uio@beamer@author {\insertauthor}%
\def \uio@beamer@date {\insertdate}%
\def \uio@beamer@dept {}%
\def \uio@beamer@email {\uio@email}%
\def \uio@beamer@font@size {\normalsize}%
\def \uio@beamer@font@size@head {\Large}%
\def \uio@beamer@image {}%
\def \uio@beamer@info {}%
\setboolean{uio@beamer@inverted}{false}%
\def \uio@beamer@title {\inserttitle}%
\def \uio@beamer@subtitle {\insertsubtitle}%
\setkeys{uio@beamer@keys}{#1}%
\begin{frame}[plain,noframenumbering]
\begin{textblock*}{0.5\paperwidth}(0pt,0pt)
\uio@beamer@fp
\end{textblock*}%
\begin{textblock*}{0.5\paperwidth}(0.5\paperwidth,0pt)
\vbox to \paperheight{%
\vss
\leavevmode\hfill
\ifthenelse{\equal{\uio@beamer@image}{}}{}
{\includegraphics[keepaspectratio,
width=\textwidth,height=1.02\paperheight]{\uio@beamer@image}}\par
\vss}
\end{textblock*}
%
\def \uio@pos {pos}
\ifthenelse{\boolean{uio@beamer@inverted}}
{\def \uio@pos{neg}}{}
\begin{textblock*}{1.5cm}(\paperwidth-2cm,\paperheight-2cm)
\includegraphics[width=\textwidth]{uio-beamer-segl-\uio@pos}
\end{textblock*}
\end{frame}}
\newcommand{\uio@beamer@fp}{\vbox to \paperheight{%
\vspace*{6mm}
\hspace*{6mm}\includegraphics[height=1.4cm]
{uio-fp-navn-\uio@lang}\par
\uio@beamer@font@size
\vspace*{1cm plus 1fill}
\hspace{6mm}\begin{minipage}{0.5\paperwidth-10mm}
\raggedright
{\uio@beamer@font@size@head \uio@beamer@title \par}
\uio@beamer@subtitle
\end{minipage}\par
\vspace*{0cm plus 1 fill}
\hspace{6mm}\begin{minipage}{0.5\paperwidth-10mm}
\raggedright
\uio@beamer@author\par
\ifthenelse{\isempty{\uio@beamer@email}}{}{\url{\uio@beamer@email}\par}
\ifthenelse{\isempty{\uio@beamer@academic}}{}
{\uio@beamer@academic\par}
\ifthenelse{\isempty{\uio@beamer@dept}}{}
{\uio@beamer@dept\par}
\end{minipage}\par
\vspace{5mm}
\hspace{6mm}\begin{minipage}{\columnwidth-12mm}
\noindent\raggedright \uio@beamer@info
\end{minipage}\par
\vspace{5mm}
\hspace{6mm}\uio@beamer@date\par
\vspace{5mm}}}
%% Full page, nearly full page and half page image
\newcommand{\uiofullpageimage}[2][]{{%
\setbeamertemplate{background canvas}{%
\vbox to \paperheight{\vss
\hbox to \paperwidth{\hss
\includegraphics[keepaspectratio,
height=1.02\paperheight, width=1.02\paperwidth, #1]{#2}\hss}%
\vss}}
\begin{frame}[plain]
\end{frame}
}}
\newcommand{\uiobigimage}[4][]{%
\begin{frame}[plain]
\vspace*{-2mm}
#2\par
\vspace{1.8mm}
\includegraphics[keepaspectratio,
width=\textwidth,height=\textheight,#1]{#3}%
\rlap{\hspace*{1mm}\rotatebox{90}{\scriptsize #4}}\par
\vspace*{-2ex}
\end{frame}}
\newcommand{\uiostartcolumns}{\begin{columns}%
\def \frametitle ##1{{\large ##1\par}\medskip}}
\newcommand{\uioendcolumns}{\end{columns}}
\newcommand{\uiostartonecolumn}{\begin{column}{0.5\textwidth}\small}
\newcommand{\uioendonecolumn}{\end{column}}
\define@key{uio@beamer@image@keys}{info}{\def \uio@beamer@image@info{#1}}
\newenvironment{uioimageframe}[2][]
{\def \uio@beamer@image@info {}%
\setkeys{uio@beamer@image@keys}{#1}%
\begin{frame}[fragile,plain,environment=uioimageframe]
\def\uioimagefile{#2}\uiostartcolumns\uiostartonecolumn}
{\uioendonecolumn\uiostartonecolumn
\centering
\vspace*{-3mm}%
\includegraphics[keepaspectratio,width=\columnwidth,
height=\textheight]{\uioimagefile}%
\rlap{\hspace*{1mm}\rotatebox{90}{\scriptsize \uio@beamer@image@info}}\par
\uioendonecolumn\uioendcolumns}
%% Final page with summary
\AtEndDocument{%
\ifthenelse{\boolean{uio@summary}}{\uiosummary}{}}
\newcommand{\uiosummary}{
\begin{frame}[plain]
\insertauthor\par
\ifthenelse{\equal{\uio@email}{}}{}{\csname
uio@beamer@email@name@\uio@lang \endcsname: \url{\uio@email}\par}
\textbf{\inserttitle}\par
\insertsubtitle\par\bigskip
%% Using \tiny is a small hack since Beamer uses 1.5em between
%% the entries, and that is too much:
\tiny
\setbeamerfont{section in toc}{size=\large}
\tableofcontents[hideallsubsections]
\end{frame}}
%% Page layout
% The frame title:
\setbeamertemplate{frametitle}{%
\rule{0cm}{1.2cm}\insertframetitle}
% The footline:
\setbeamertemplate{page number in head/foot}[framenumber]
\setbeamertemplate{footline}{%
\raisebox{0.3cm}{%
\makebox[\textwidth]{%
\hspace*{0.3cm}%
\includegraphics[height=0.5cm]{uio-fp-navn-\uio@lang}\hfill
\usebeamertemplate{page number in head/foot}%
\hspace*{0.3cm}}}}
% No navigation symbols:
\setbeamertemplate{navigation symbols}{}
% Add table of contents and a separator page for every \section (if requsted)
\AtBeginSection[]{
% Section separator frames
\ifthenelse{\boolean{uio@secsep}}
{{\setbeamercolor{background canvas}{bg=\uio@secsep@colour}
\begin{frame}[plain,noframenumbering]
\centering
\setlength{\fboxsep}{10pt}
\colorbox{white}{\usebeamerfont{section title}{\insertsection}\par}
\end{frame}}}
{}
% Table of contents
\ifthenelse{\boolean{uio@toc}}
{\begin{frame}[plain,noframenumbering]
\frametitle{\contentsname}
\tableofcontents[currentsection, hideothersubsections]
\end{frame}}
{}}
\setbeamertemplate{section in toc}[circle]
\setbeamertemplate{section in toc shaded}[default][50]
\setbeamertemplate{subsection in toc}{%
\leavevmode \leftskip=1.5em \textbullet~\inserttocsubsection\par}
\endinput
rosselands-hus.tex · 318 B
\begin{uioimageframe}[info={© Universitetet i Oslo}]{SRs_hus}
\frametitle{Svein Rosselands hus}
Svein Rosselands hus er oppkalt etter astrofysikeren \emph{Svein
Rosseland}. Arkitektene bak bygningen er Finn Bryn og Johan
Ellefsen. Bygningen har høy arkitektur- og kulturhistorisk verdi.
\end{uioimageframe}
uio-beamer-segl-neg.png — binary, 121 KB
uio-beamer-segl-pos.png — binary, 114 KB
uio-fp-navn-bm.png — binary, 70 KB
uio-fp-navn-eng.pdf — binary, 10 KB
uio-fp-navn-nn.png — binary, 70 KB
uiobeamer-guide.tex — the file that is compiled · 10 KB
\documentclass[UKenglish,aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{babel, fancyvrb, textcomp}
\usetheme[toc, sectionsep=uioyellow, summary, uiostandard]{UiO}
\newcommand{\Dots}{\ensuremath{\ldots}}
\newcommand{\p}[1]{\texttt{#1}}
\newcommand{\pb}[1]{\textbf{\p{#1}}}
\newcommand{\pcmd}[1]{\p{\textbackslash #1}}
\newcommand{\penv}[1]{\pcmd{begin}\ppar{#1} \Dots{} \pcmd{end}\ppar{#1}}
\newcommand{\ppar}[1]{\p{\{#1\}}}
\newcommand{\zip}{\textsc{zip}}
\author{Dag Langmyhr}
\uioemail{[email protected]}
\title{Your paper}
\subtitle{according to the UiO graphics standard of~2022}
\begin{document}
\uiofrontpage[dept={Department of Informatics},
info={Combined user guide and doc},
image={Villa_Eika}, inverted, smaller]
\section{Introduction}
\subsection{Background}
\begin{frame}{Background}
\textbf{Beamer} is a \LaTeX{} document class for making presentations.
\medskip
This presentation describes a Beamer theme called \textbf{UiO}
designed according to the Oslo University
specifications (see
{\small\url{https://www.uio.no/om/designmanual/}})
and is itself an example of the UiO theme.
\medskip
This Beamer theme was implemented by \emph{Dag Langmyhr} at the
Department of Informatics and \emph{Karoline Moe} from the Oslo
University Library.
\bigskip
\scriptsize
All photos are from the University of Oslo image archive.
\end{frame}
\subsection{Installation}
\begin{frame}{Installation}
If you are processing your \LaTeX{} document on a stationary Linux
computer at the University of Oslo, you need not worry about
installing the UiO Beamer theme; it is already there.
\medskip
\textbf{On your personal computer}\\
To use this package on your own computer you must do the following:
\begin{enumerate}
\item Download
{\footnotesize\url{https://www.mn.uio.no/ifi/tjenester/it/hjelp/latex/uiobeamer.zip}}.
\item Unpack the \zip{} file.
\item You may then place all the
unzipped files in the same folder
as your \LaTeX{} source files. (If you know where \LaTeX{}
packages are kept on your computer, you
can save them there to make them generally available. Remember to
refresh your file name database afterwards.)
\end{enumerate}
And that should be all.
\end{frame}
\section{User guide}
\subsection{Starting a Beamer file}
\begin{frame}{Starting a Beamer file}
All \LaTeX{} Beamer files should start like this:
\medskip
~~~~\pcmd{documentclass}\p{[aspectratio=169,}\textit{class
options}\p{]}\ppar{beamer}
\bigskip
\begin{alert}{\textbf{Important!} }
We recommend always using the 16:9 aspect ratio since most
projectors at UiO use that format.
\end{alert}
\end{frame}
\begin{frame}[fragile,label=author+title]{Author and title}
You specify
\begin{itemize}
\item your name,
\item the title and
\item the subtitle (if any)
\end{itemize}
of your presentation using the standard \LaTeX{} commands
\medskip
\begin{Verbatim}[fontsize=\footnotesize]
\title{Title of my talk}
\subtitle{My chosen subtitle}
\author{My name}
\end{Verbatim}
\bigskip
Additionally, you can specify your e-mail address with a command
provided by the UiO theme:
\medskip
\begin{Verbatim}[fontsize=\footnotesize]
\uioemail{[email protected]}
\end{Verbatim}
\end{frame}
\subsection{Loading the UiO Beamer theme}
\newcommand{\falseTRUE}{=false|\underline{true}}
\newcommand{\FALSEtrue}{=\underline{false}|true}
\begin{frame}{Loading the UiO Beamer theme}
You load the UiO theme like this:
\medskip
~~~~\pcmd{usetheme}\p{[}\textit{theme options}\p{]}\ppar{UiO}
\medskip
The main theme options are:
\begin{description}[\pb{toc}]
\item[\pb{sectionheaders\falseTRUE} ] lists the section and
subsection names in the upper right-hand corner, as shown in this
user guide.
\item[\pb{summary\FALSEtrue} ] adds a summary page at the end, as shown in this
user guide.
\item[\pb{toc\FALSEtrue} ] automatically inserts a table of content for every
section; you can see two examples in this guide.
\item[\pb{uiostandard\FALSEtrue} ] follows the UiO standard more
strictly, for instance using square bullets in the
\penv{itemize} environment, as shown in frame~\ref{author+title}.
\end{description}
\medskip
\footnotesize (The default choice is underlined.)
\end{frame}
\newcommand{\colordemo}[1]{\small \p{#1}& \color{#1}\rule{2em}{1ex}}
\begin{frame}{Section separation frames}
You may ask Beamer to add very distinct separation frames between
the sections, as has been done in this document. This is achieved by
using this theme option:
\begin{description}[\pb{toc}]
\item[\pb{sectionsep=\emph{colour}}] adds section separation sheets
in the specified colour.
\end{description}
\smallskip
You may choose any of the official UiO colours:
\begin{tabular}{@{}lclclclc@{}}
\colordemo{uioblue1}& \colordemo{uiogreen1}&
\colordemo{uioorange1}& \colordemo{uiopink1}\\
\colordemo{uioblue2}& \colordemo{uiogreen2}&
\colordemo{uioorange2}& \colordemo{uiopink2}\\
\colordemo{uioblue3}& \colordemo{uiogreen3}&
\colordemo{uioorange3}& \colordemo{uiopink3}\\
\colordemo{uioyellow}& \colordemo{uiogrey}\\
\end{tabular}
\medskip
or any colour you have defined yourself (using \pcmd{definecolor}).
\end{frame}
\begin{frame}[label=fonts]{UiO Beamer theme fonts}
You may specify which font to use by giving one of the following
theme options:
\begin{description}[\pb{font=arial}]
\item[\pb{font=arial}] selects Arial which the University recommends
as the standard font.
\item[\pb{font=noto}] selects Noto. Use this font if you need
Unicode characters other than the basic ones. This font is the
default choice.
\item[\pb{font=arev}] selects Arev. Use this font if you need advanced
mathematics in your presentation.
\item[\pb{font=none}] does not select any particular font. Use this
option only if you intend to specify the font selection yourself.
\end{description}
\end{frame}
\begin{frame}[fragile,label=ex]{An example}
A \LaTeX{} file using the UiO Beamer theme typically starts like
this:
\medskip
\begin{Verbatim}[fontsize=\scriptsize]
\documentclass[norsk,aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{babel, textcomp}
\usetheme[toc, summary]{UiO}
\title{Title of my talk}
\subtitle{A suitable subtitle}
\author{My name} \uioemail{[email protected]}
\begin{document}
\uiofrontpage[...]
\section{...}
\subsection{...}
\begin{frame}
\frametitle{...}
:
\end{Verbatim}
\end{frame}
\subsection{The front page}
\begin{frame}{The front page}
A front page is created using the \pcmd{uiofrontpage} command:
\medskip
~~~~\pcmd{uiofrontpage}\p{[}\emph{front page options}\p{]}
\bigskip
\begin{alert}{\textbf{Important!} }
This command should \textbf{\emph{not}} be used inside a
\penv{frame} environment!
\end{alert}
\medskip
See the \LaTeX{} code on frame~\ref{ex} for an example of proper
use.
\end{frame}
\begin{frame}[label=fp-options]
The front page options are:
\medskip
\begin{description}[\pb{academictitle=\ppar{\Dots}}]
\item[\pb{academictitle=\ppar{\Dots}}] gives your academic title.
%% \item[\pb{author=\ppar{\Dots}}] provides your name (if other than in
%% \pcmd{author}).
\item[\pb{date=\ppar{\Dots}}] supplies the date (if other than
today).
\item[\pb{dept=\ppar{\Dots}}] names your department.
%% \item[\pb{email=\ppar{\Dots}}] gives your e-mail address
%% (if no \pcmd{uioemail} used).
\item[\pb{image=\ppar{\Dots}}] is the file name of the image to
use. (Ideally, this image should be almost quadratic, or 8:9 to be
precise.)
\item[\pb{info=\ppar{\Dots}}] provides an additional info line for
the supervisor's name, grant support or whatever.
\item[\pb{inverted}] will use a white seal rather than the black
one. (This choice depends, of course, on the image.)
\item[\pb{smaller}] will use a smaller font than the standard one.
%% \item[\pb{subtitle=\ppar{\Dots}}] gives the subtitle.
%% \item[\pb{title=\ppar{\Dots}}] gives the title of your presentation.
\end{description}
\end{frame}
\begin{frame}[fragile]{An example}
The front page of this user guide was made using the following commands:
\medskip
\VerbatimInput[fontsize=\footnotesize, firstline=15, lastline=18]{uiobeamer-guide.tex}
~~~~$\vdots$
\VerbatimInput[fontsize=\footnotesize, firstline=20, lastline=23]{uiobeamer-guide.tex}
\end{frame}
\subsection{Text and image frames}
\begin{frame}{Making frames with both text and image}
If you want a frame with half-and-half of text and image, you can use the
\p{uioimageframe} environment as demonstrated below. The image
(\emph{SRs\_hus} in this example) should have an aspect ratio close
to~8:9. The result is shown in the next frame.
\medspace
\VerbatimInput[fontsize=\footnotesize]{rosselands-hus.tex}
\end{frame}
\input{rosselands-hus}
\subsection{Full-page images}
\begin{frame}{Full-page image}
If you want a full-page image, you can use either the
\pcmd{uiobigimage} (which has a thin frame for title and copyright
information)
or the \pcmd{uiofullpageimage} command:
\medskip
~~~~\pcmd{uiobigimage}\p{\{}\emph{title}\p{\}\{}\emph{file
name}\p{\}\{}\emph{copyright info}\p{\}}\\
~~~~\pcmd{uiofullpageimage}\p{\{}\emph{file name}{\}}
\medskip
Full page images should have an aspect ratio close to~16:9.
\bigskip
\begin{alert}{\textbf{Important!} }
These commands should \textbf{\emph{not}} be used inside a
\penv{frame} environment!
\end{alert}
\medskip
\textbf{Examples}\\
See the next two frames.
\end{frame}
\uiobigimage{Ole-Johan Dahl building}{OJDs_hus}{Foto: Francesco Saggio/UiO}
\uiofullpageimage{UiO_sentrum}
\end{document}
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗