improved ut theme and tocs styles
This commit is contained in:
parent
87a98457ec
commit
fe0c42e52c
529
UT_WBMW_Rot_RGB.pdf
Normal file
529
UT_WBMW_Rot_RGB.pdf
Normal file
File diff suppressed because one or more lines are too long
@ -123,6 +123,10 @@
|
||||
\setbeamercolor{subsection name separator}{parent=section name}
|
||||
\setbeamercolor{subsection title}{parent=titlelike}
|
||||
|
||||
% color of numbers in table of columns (sections get hyperref linkcolor):
|
||||
\setbeamercolor{section in toc}{parent=normal text}
|
||||
\setbeamercolor{subsection in toc}{parent=normal text}
|
||||
|
||||
% outer colors:
|
||||
|
||||
\setbeamercolor{background}{bg=}
|
||||
|
@ -113,6 +113,7 @@
|
||||
\setbeamercolor{institute}{parent=normal text}
|
||||
|
||||
\setbeamercolor{title page}{parent=normal text}
|
||||
\setbeamercolor{title page logo line}{fg=}
|
||||
\setbeamercolor{title page graphic line}{fg=utred}
|
||||
\setbeamercolor{title page title line}{fg=}
|
||||
|
||||
@ -124,11 +125,15 @@
|
||||
\setbeamercolor{subsection name separator}{fg=utgold}
|
||||
\setbeamercolor{subsection title}{parent=titlelike}
|
||||
|
||||
% color of numbers in table of columns (sections get hyperref linkcolor):
|
||||
\setbeamercolor{section in toc}{use=normal text, fg=normal text.fg!60}
|
||||
\setbeamercolor{subsection in toc}{use=normal text, fg=normal text.fg!60}
|
||||
|
||||
% outer colors:
|
||||
|
||||
\setbeamercolor{background}{bg=}
|
||||
|
||||
\setbeamercolor{footline}{fg=utgray, bg=}
|
||||
\setbeamercolor{footline}{fg=utgray!80!black, bg=}
|
||||
\setbeamercolor{footline line}{parent=footline}
|
||||
\setbeamercolor{footline separator}{parent=footline}
|
||||
|
||||
|
@ -789,6 +789,24 @@
|
||||
|
||||
%%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%%%%% title page logo line:
|
||||
|
||||
\defbeamertemplate{title page logo line}{text}[1][1pt]%
|
||||
{\beamer@horizontal@line@bottom{title page logo line}{#1}}
|
||||
\defbeamertemplate{title page logo line}{page}[1][1pt]%
|
||||
{
|
||||
\ifbeamercolorempty[fg]{title page logo line}{}{%
|
||||
\nointerlineskip%
|
||||
\begin{beamercolorbox}[wd=\paperwidth,dp=0pt,ht=#1,sep=0pt,%
|
||||
leftskip=0pt,rightskip=0pt]{title page logo line}%
|
||||
\rule{\paperwidth}{#1}%
|
||||
\end{beamercolorbox}%
|
||||
}%
|
||||
}
|
||||
|
||||
\setbeamertemplate{title page logo line}[text][0.5pt]
|
||||
|
||||
|
||||
%%%%% title page graphic line:
|
||||
|
||||
\defbeamertemplate{title page graphic line}{default}[1][1ex]%
|
||||
@ -836,8 +854,9 @@
|
||||
\inserttitlelogo%
|
||||
\end{beamercolorbox}%
|
||||
\vspace{1.2ex}
|
||||
\usebeamertemplate{frametitle line}%
|
||||
\vspace{1ex}
|
||||
\ifbeamercolorempty[fg]{title page logo line}{}{%
|
||||
\usebeamertemplate{title page logo line}%
|
||||
\vspace{1ex}}
|
||||
\fi
|
||||
% title graphic:
|
||||
\ifx\inserttitlegraphic\@empty\else%
|
||||
@ -888,7 +907,7 @@
|
||||
\inserttitlelogo%
|
||||
\end{beamercolorbox}%
|
||||
\vspace{1.2ex}
|
||||
\usebeamertemplate{frametitle line}%
|
||||
\usebeamertemplate{title page logo line}%
|
||||
\vspace{1ex}
|
||||
\fi
|
||||
% title graphic:
|
||||
@ -1012,6 +1031,12 @@
|
||||
\setbeamertemplate{subsection page}[left][0.3\textheight]
|
||||
|
||||
|
||||
%%%%% table of contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% default, (sub)sections numbered, circle, square, ball, ball unnumbered:
|
||||
\setbeamertemplate{section in toc}[sections numbered]
|
||||
\setbeamertemplate{subsection in toc}[sections numbered]
|
||||
|
||||
%%%%% fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\renewcommand{\familydefault}{\sfdefault}
|
||||
|
@ -5,7 +5,7 @@
|
||||
% 1. under the LaTeX Project Public License and/or
|
||||
% 2. under the GNU Public License.
|
||||
|
||||
\ProvidesPackage{beamerthemeut}[2021/03/02 beamer theme for the cooperate design of the University of Tuebingen]
|
||||
\ProvidesPackage{beamerthemeut}[2021/03/02 beamer theme for the corporate design of the University of Tuebingen]
|
||||
|
||||
\RequirePackage[scaled]{helvet}
|
||||
\RequirePackage{sfmath}
|
||||
@ -39,11 +39,11 @@
|
||||
%%%%% templates:
|
||||
|
||||
\setbeamertemplate{frametitle}[boxline] % boxline, boxlinelogo
|
||||
\setbeamertemplate{frametitle line}[page][0.75pt] % text, page
|
||||
\setbeamertemplate{frametitle line}[text][0.75pt] % text, page
|
||||
|
||||
\setbeamertemplate{page number in head/foot}[frames] % frames, framestotal, slides
|
||||
\setbeamertemplate{footline}[pageright] % default, pageleft, pageright
|
||||
\setbeamertemplate{footline line}[page][0.3pt] % text, page
|
||||
\setbeamertemplate{footline line}[text][0.3pt] % text, page
|
||||
\setbeamertemplate{footline separator}[text][0.3pt] % text, full, dash, space
|
||||
|
||||
% default, triangle, circle, square, ball, arrow, filledarrow, dash, check, uncheck:
|
||||
@ -65,7 +65,7 @@
|
||||
\setbeamertemplate{block example begin}[lines]{0.75pt}{0.75pt} % default, rounded, lines
|
||||
\setbeamertemplate{block example end}[lines]{0.75pt}
|
||||
|
||||
\setbeamertemplate{block theorem begin}[lines]{0.75pt}{0.75pt}
|
||||
\setbeamertemplate{block theorem begin}[lines]{0.75pt}{0.75pt} % default, rounded, lines
|
||||
\setbeamertemplate{block theorem end}[lines]{0.75pt}
|
||||
|
||||
\setbeamertemplate{verse begin}[lines][0.5pt] % default, lines
|
||||
@ -87,6 +87,7 @@
|
||||
\setbeamertemplate{quote end}[lines][0.5pt] % default, lines
|
||||
|
||||
\setbeamertemplate{title page}[leftlines] % leftlines, centerlines
|
||||
\setbeamertemplate{title page logo line}[text][0.75pt] % text, page
|
||||
\setbeamertemplate{title page graphic line}[default][1ex]
|
||||
\setbeamertemplate{title page title line}[default][0.75pt]
|
||||
\setbeamertemplate{title page author and}[line] % space, comma, line, and
|
||||
@ -98,6 +99,11 @@
|
||||
\setbeamertemplate{section name separator}[text][2pt] % space, text
|
||||
\setbeamertemplate{subsection name separator}[text][2pt] % space, text
|
||||
|
||||
% default, (sub)sections numbered, circle, square, ball, ball unnumbered:
|
||||
\setbeamertemplate{section in toc}[sections numbered]
|
||||
\setbeamertemplate{subsection in toc}[sections numbered]
|
||||
|
||||
|
||||
%%%%% fonts:
|
||||
|
||||
\setbeamerfont{footline}{size=\tiny}
|
||||
|
@ -34,6 +34,28 @@
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]{Content}
|
||||
\begin{minipage}[t]{0.3\textwidth}
|
||||
\hypersetup{linkcolor=blue} % color of section names
|
||||
\tableofcontents[hideallsubsections]
|
||||
\end{minipage}
|
||||
\hfill
|
||||
\begin{minipage}[t]{0.68\textwidth}
|
||||
\begin{block}{Table of contents}
|
||||
\verb!\begin{frame}{Content}!\\
|
||||
\verb! \hypersetup{linkcolor=blue} % color for section names!\\
|
||||
\verb! \tableofcontents[hideallsubsections]!\\
|
||||
\verb!\end{frame}!
|
||||
\end{block}
|
||||
\begin{block}{Templates and colors}
|
||||
\verb!\setbeamertemplate{section in toc}[sections numbered]!\\
|
||||
\verb!\setbeamertemplate{subsection in toc}[sections numbered]!\\
|
||||
\verb!\setbeamercolor{section in toc}{fg=black} % color of numbers!\\
|
||||
\verb!\setbeamercolor{subsection in toc}{fg=black}!
|
||||
\end{block}
|
||||
\end{minipage}
|
||||
\end{frame}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Frames}
|
||||
|
||||
@ -1054,7 +1076,7 @@
|
||||
\begin{frame}{Beamer user guide}
|
||||
Read the beamer user guide at
|
||||
\begin{block}{}
|
||||
\url{http://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}
|
||||
\url{http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf}
|
||||
\end{block}
|
||||
|
||||
\vfill
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
\title{A \LaTeX{} beamer theme for the University of T\"ubingen}
|
||||
\author[Benda]{Jan Benda}
|
||||
\institute[T\"ubingen]{Neuroethology, University of T\"ubingen}
|
||||
\institute[University of T\"ubingen]{Neuroethology, University of T\"ubingen}
|
||||
\date[2021]{March 2021}
|
||||
\logo{\includegraphics[height=3.5ex]{UT_BM_Rot_RGB}}
|
||||
\logo{\includegraphics[height=3.5ex]{UT_WBMW_Rot_RGB}}
|
||||
\titlelogo{\includegraphics[height=5ex]{UT_MNF_RGB}}
|
||||
\titlegraphic{\includegraphics[width=\textwidth]{efishtitle}}
|
||||
|
||||
@ -36,6 +36,11 @@
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{Content}
|
||||
\hypersetup{linkcolor=utblue} % color of section names
|
||||
\tableofcontents[hideallsubsections]
|
||||
\end{frame}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Frames}
|
||||
|
||||
@ -394,7 +399,7 @@
|
||||
\begin{frame}{Beamer user guide}
|
||||
Read the beamer user guide at
|
||||
\begin{block}{}
|
||||
\url{http://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}
|
||||
\url{http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf}
|
||||
\end{block}
|
||||
\vfill
|
||||
In particular
|
||||
|
Loading…
Reference in New Issue
Block a user