added subsection page
This commit is contained in:
parent
4f768ab0d8
commit
f65a076208
@ -37,7 +37,7 @@
|
|||||||
% inner colors:
|
% inner colors:
|
||||||
|
|
||||||
\setbeamercolor{normal text}{fg=black, bg=}
|
\setbeamercolor{normal text}{fg=black, bg=}
|
||||||
\setbeamercolor{math text}{parent={normal text}}
|
%\setbeamercolor{math text}{parent={normal text}} % this kill coloring of \url{}
|
||||||
|
|
||||||
\setbeamercolor{structure}{fg=blue}
|
\setbeamercolor{structure}{fg=blue}
|
||||||
\setbeamercolor{alerted text}{fg=red}
|
\setbeamercolor{alerted text}{fg=red}
|
||||||
@ -87,6 +87,10 @@
|
|||||||
\setbeamercolor{section name separator}{parent={section name}}
|
\setbeamercolor{section name separator}{parent={section name}}
|
||||||
\setbeamercolor{section title}{parent={titlelike}}
|
\setbeamercolor{section title}{parent={titlelike}}
|
||||||
|
|
||||||
|
\setbeamercolor{subsection name}{parent={titlelike}}
|
||||||
|
\setbeamercolor{subsection name separator}{parent={section name}}
|
||||||
|
\setbeamercolor{subsection title}{parent={titlelike}}
|
||||||
|
|
||||||
% outer colors:
|
% outer colors:
|
||||||
|
|
||||||
\setbeamercolor{background}{bg=}
|
\setbeamercolor{background}{bg=}
|
||||||
@ -97,7 +101,7 @@
|
|||||||
|
|
||||||
% hyper ref colors:
|
% hyper ref colors:
|
||||||
|
|
||||||
\hypersetup{colorlinks=true, allcolors=black, urlcolor=blue}
|
\hypersetup{colorlinks=true, allcolors=blue}
|
||||||
|
|
||||||
\mode
|
\mode
|
||||||
<all>
|
<all>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
% inner colors:
|
% inner colors:
|
||||||
|
|
||||||
\setbeamercolor{normal text}{fg=utblack, bg=}
|
\setbeamercolor{normal text}{fg=utblack, bg=}
|
||||||
\setbeamercolor{math text}{parent={normal text}}
|
%\setbeamercolor{math text}{parent={normal text}} % this kills coloring of \url{}
|
||||||
|
|
||||||
\setbeamercolor{structure}{fg=utblue}
|
\setbeamercolor{structure}{fg=utblue}
|
||||||
\setbeamercolor{alerted text}{fg=utred}
|
\setbeamercolor{alerted text}{fg=utred}
|
||||||
@ -79,6 +79,10 @@
|
|||||||
\setbeamercolor{section name separator}{fg=utgold}
|
\setbeamercolor{section name separator}{fg=utgold}
|
||||||
\setbeamercolor{section title}{parent={titlelike}}
|
\setbeamercolor{section title}{parent={titlelike}}
|
||||||
|
|
||||||
|
\setbeamercolor{subsection name}{parent={titlelike}}
|
||||||
|
\setbeamercolor{subsection name separator}{fg=utgold}
|
||||||
|
\setbeamercolor{subsection title}{parent={titlelike}}
|
||||||
|
|
||||||
% outer colors:
|
% outer colors:
|
||||||
|
|
||||||
\setbeamercolor{background}{bg=}
|
\setbeamercolor{background}{bg=}
|
||||||
@ -89,7 +93,7 @@
|
|||||||
|
|
||||||
% hyper ref colors:
|
% hyper ref colors:
|
||||||
|
|
||||||
\hypersetup{colorlinks=true, allcolors=utblack, urlcolor=blue}
|
\hypersetup{colorlinks=true, allcolors=utblue}
|
||||||
|
|
||||||
\mode
|
\mode
|
||||||
<all>
|
<all>
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
\usebeamertemplate{footline line}%
|
\usebeamertemplate{footline line}%
|
||||||
\begin{beamercolorbox}[wd=1\paperwidth,dp=1.2ex,ht=2.8ex,sep=0pt,colsep=0pt,colsep*=0pt,%
|
\begin{beamercolorbox}[wd=1\paperwidth,dp=1.2ex,ht=2.8ex,sep=0pt,colsep=0pt,colsep*=0pt,%
|
||||||
leftskip=1\beamer@leftmargin,rightskip=1\beamer@rightmargin]{footline}
|
leftskip=1\beamer@leftmargin,rightskip=1\beamer@rightmargin]{footline}
|
||||||
\hypersetup{allcolors=.}%
|
\hypersetup{linkcolor=}%
|
||||||
\newif\if@tempsep%
|
\newif\if@tempsep%
|
||||||
\@tempsepfalse%
|
\@tempsepfalse%
|
||||||
% author:
|
% author:
|
||||||
@ -426,8 +426,9 @@
|
|||||||
|
|
||||||
%%%%% section page: left
|
%%%%% section page: left
|
||||||
|
|
||||||
\defbeamertemplate{section page}{left}%
|
\defbeamertemplate{section page}{left}[1][0.3\textheight]
|
||||||
{
|
{
|
||||||
|
\vspace{#1}%
|
||||||
\begin{columns}[t,onlytextwidth]
|
\begin{columns}[t,onlytextwidth]
|
||||||
\begin{column}{0.1\textwidth}
|
\begin{column}{0.1\textwidth}
|
||||||
\usebeamerfont{section name}%
|
\usebeamerfont{section name}%
|
||||||
@ -437,21 +438,62 @@
|
|||||||
\end{column}
|
\end{column}
|
||||||
\begin{column}{0.9\textwidth}
|
\begin{column}{0.9\textwidth}
|
||||||
\usebeamerfont{section title}%
|
\usebeamerfont{section title}%
|
||||||
{\usebeamercolor[fg]{section title}\hypersetup{allcolors=.}\insertsection}%
|
{\usebeamercolor[fg]{section title}\hypersetup{linkcolor=}\insertsection}%
|
||||||
\end{column}
|
\end{column}
|
||||||
\end{columns}
|
\end{columns}
|
||||||
}
|
}
|
||||||
|
|
||||||
\setbeamertemplate{section page}[left]
|
\setbeamertemplate{section page}[left][0.3\textheight]
|
||||||
|
|
||||||
|
|
||||||
%%%%% start each section with a special slide:
|
%%%%% start each section with a special slide:
|
||||||
|
|
||||||
\AtBeginSection{
|
\AtBeginSection{
|
||||||
\frame[plain,c]{\sectionpage}
|
\frame[plain]{\sectionpage}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%%%%% subsection page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
% subsection page separator: space
|
||||||
|
|
||||||
|
\defbeamertemplate{subsection name separator}{space}{}
|
||||||
|
|
||||||
|
% subsection page separator: text
|
||||||
|
|
||||||
|
\defbeamertemplate{subsection name separator}{text}[1][1pt]%
|
||||||
|
{
|
||||||
|
{\usebeamercolor[fg]{subsection name separator}
|
||||||
|
\rule[-0.5ex]{#1}{2.4ex}}
|
||||||
|
}
|
||||||
|
|
||||||
|
\setbeamertemplate{subsection name separator}[text][1pt]
|
||||||
|
|
||||||
|
|
||||||
|
%%%%% subsection page: left
|
||||||
|
|
||||||
|
\defbeamertemplate{subsection page}{left}[1][0.3\textheight]%
|
||||||
|
{
|
||||||
|
\usebeamertemplate{section page}
|
||||||
|
\vspace{2ex}
|
||||||
|
\begin{columns}[t,onlytextwidth]
|
||||||
|
\begin{column}{0.1\textwidth}
|
||||||
|
\raggedleft%
|
||||||
|
\usebeamerfont{subsection name}%
|
||||||
|
{\usebeamercolor[fg]{subsection name}%
|
||||||
|
\makebox[0.5\linewidth][r]{\insertsubsectionnumber}%
|
||||||
|
\makebox[0.5\linewidth][c]{\usebeamertemplate{subsection name separator}}}%
|
||||||
|
\end{column}
|
||||||
|
\begin{column}{0.9\textwidth}
|
||||||
|
\usebeamerfont{subsection title}%
|
||||||
|
{\usebeamercolor[fg]{subsection title}\hypersetup{linkcolor=}\insertsubsection}%
|
||||||
|
\end{column}
|
||||||
|
\end{columns}
|
||||||
|
}
|
||||||
|
|
||||||
|
\setbeamertemplate{subsection page}[left][0.3\textheight]
|
||||||
|
|
||||||
|
|
||||||
%%%%% fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%% fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\renewcommand{\familydefault}{\sfdefault}
|
\renewcommand{\familydefault}{\sfdefault}
|
||||||
@ -466,6 +508,8 @@
|
|||||||
|
|
||||||
\setbeamerfont*{section title}{size=\huge}
|
\setbeamerfont*{section title}{size=\huge}
|
||||||
\setbeamerfont*{section name}{size=\huge}
|
\setbeamerfont*{section name}{size=\huge}
|
||||||
|
\setbeamerfont*{subsection title}{size=\Large}
|
||||||
|
\setbeamerfont*{subsection name}{size=\Large}
|
||||||
|
|
||||||
\setbeamerfont{footline}{size=\footnotesize}
|
\setbeamerfont{footline}{size=\footnotesize}
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
\DeclareOptionBeamer{logo}{\PassOptionsToPackage{logo}{beamerthemelines}}
|
\DeclareOptionBeamer{logo}{\PassOptionsToPackage{logo}{beamerthemelines}}
|
||||||
\DeclareOptionBeamer{hidelogo}{\PassOptionsToPackage{hidelogo}{beamerthemelines}}
|
\DeclareOptionBeamer{hidelogo}{\PassOptionsToPackage{hidelogo}{beamerthemelines}}
|
||||||
|
|
||||||
|
\ExecuteOptionsBeamer{author}
|
||||||
\ExecuteOptionsBeamer{page}
|
\ExecuteOptionsBeamer{page}
|
||||||
\ExecuteOptionsBeamer{logo}
|
\ExecuteOptionsBeamer{logo}
|
||||||
|
|
||||||
@ -52,6 +53,7 @@
|
|||||||
\setbeamertemplate{title page institute and}[line] % default, space, comma, line
|
\setbeamertemplate{title page institute and}[line] % default, space, comma, line
|
||||||
|
|
||||||
\setbeamertemplate{section name separator}[text][2pt] % space, text
|
\setbeamertemplate{section name separator}[text][2pt] % space, text
|
||||||
|
\setbeamertemplate{subsection name separator}[text][2pt] % space, text
|
||||||
|
|
||||||
|
|
||||||
\usecolortheme{ut}
|
\usecolortheme{ut}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
\usetheme[author,date,title,page,hidelogo]{lines}
|
\usetheme[author,date,title,page,hidelogo]{lines}
|
||||||
\usecolortheme{aptero}
|
\usecolortheme{aptero}
|
||||||
|
|
||||||
\title[Beamer lines]{Lines}
|
\title[Lines beamer theme]{Lines}
|
||||||
\subtitle{a line-based theme for beamer}
|
\subtitle{a line-based theme for beamer}
|
||||||
\author[Benda]{Jan Benda}
|
\author[Benda]{Jan Benda}
|
||||||
\institute[T\"ubingen]{Neuroethology, University of T\"ubingen}
|
\institute[T\"ubingen]{Neuroethology, University of T\"ubingen}
|
||||||
@ -360,18 +360,22 @@
|
|||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\section{Section pages}
|
\section{Sectioning pages}
|
||||||
|
|
||||||
|
\subsection{Section page}
|
||||||
|
|
||||||
|
\frame[plain]{\subsectionpage}
|
||||||
|
|
||||||
\begin{frame}[fragile]{Section page}
|
\begin{frame}[fragile]{Section page}
|
||||||
Sectioning commands between the frames, like\\
|
Section commands between the frames, like\\
|
||||||
\verb!\section{A new section}!\\
|
\verb!\section{A new section}!\\
|
||||||
automaticallly create a special frame with the section number and title.
|
automaticallly create a special frame with section number and title.
|
||||||
|
|
||||||
\begin{block}{No automatic section pages}
|
\begin{block}{No automatic section pages}
|
||||||
\verb!\AtBeginSection{}!
|
\verb!\AtBeginSection{}!
|
||||||
\end{block}
|
\end{block}
|
||||||
\begin{block}{Manual insertion of section page}
|
\begin{block}{Manual insertion of a section page}
|
||||||
\verb!\frame[plain,c]{\sectionpage}!
|
\verb!\frame[plain]{\sectionpage}!
|
||||||
\end{block}
|
\end{block}
|
||||||
\begin{block}{Colors/Fonts}
|
\begin{block}{Colors/Fonts}
|
||||||
\verb!\setbeamercolor{section name}{parent={titlelike}}!
|
\verb!\setbeamercolor{section name}{parent={titlelike}}!
|
||||||
@ -380,10 +384,23 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\begin{frame}[fragile,c]{Subsection pages}
|
\subsection{Subsection page}
|
||||||
\begin{alertblock}{Not supported yet!}
|
|
||||||
Coming soon ...
|
\frame[plain]{\subsectionpage}
|
||||||
\end{alertblock}
|
|
||||||
|
\begin{frame}[fragile]{Subsection pages}
|
||||||
|
After a subsection command\\
|
||||||
|
\verb!\subsection{A new subsection}!\\
|
||||||
|
you may want to insert a subsection page displaying the current
|
||||||
|
section and subsection numbers and titles:
|
||||||
|
\begin{block}{Subsection page}
|
||||||
|
\verb!\frame[plain]{\subsectionpage}!
|
||||||
|
\end{block}
|
||||||
|
\begin{block}{Colors/Fonts}
|
||||||
|
\verb!\setbeamercolor{subsection name}{parent={titlelike}}!
|
||||||
|
\verb!\setbeamercolor{subsection name separator}{parent={section name}}!
|
||||||
|
\verb!\setbeamercolor{subsection title}{parent={titlelike}}!
|
||||||
|
\end{block}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
\documentclass[aspectratio=169,t]{beamer}
|
\documentclass[aspectratio=169,t]{beamer}
|
||||||
\usetheme[author,date,title]{ut}
|
\usetheme[author,date,title]{ut}
|
||||||
|
|
||||||
\title{Beamer theme for the University of T\"ubingen}
|
\title{A beamer theme for the University of T\"ubingen}
|
||||||
\author[Benda]{Jan Benda}
|
\author[Benda]{Jan Benda}
|
||||||
\institute[T\"ubingen]{Neuroethology, University of T\"ubingen}
|
\institute[T\"ubingen]{Neuroethology, University of T\"ubingen}
|
||||||
\date[2021]{March 2021}
|
\date[2021]{March 2021}
|
||||||
@ -22,7 +22,7 @@
|
|||||||
\verb!\documentclass[aspectratio=169,t]{beamer}!\\
|
\verb!\documentclass[aspectratio=169,t]{beamer}!\\
|
||||||
\verb!\usetheme[author,date,title,page]{ut}!
|
\verb!\usetheme[author,date,title,page]{ut}!
|
||||||
\end{block}
|
\end{block}
|
||||||
Options select content of footline (defaults to \verb![author,page]!):
|
Options select content of footline (defaults to \verb![author,page,logo]!):
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \verb!author! / \verb!hideauthor!
|
\item \verb!author! / \verb!hideauthor!
|
||||||
\item \verb!institute! / \verb!hideinstitute!
|
\item \verb!institute! / \verb!hideinstitute!
|
||||||
@ -177,18 +177,47 @@
|
|||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\section{Section pages}
|
\section{Sectioning pages}
|
||||||
|
|
||||||
\begin{frame}[fragile,c]{Section pages}
|
\subsection{Section page}
|
||||||
\begin{block}{Section page}
|
|
||||||
Sectioning commands between the frames, like\\
|
\frame[plain]{\subsectionpage}
|
||||||
\verb!\section{A new section}!\\
|
|
||||||
automaticallly create a special frame with the section number and title.
|
\begin{frame}[fragile]{Section page}
|
||||||
|
Section commands between the frames, like\\
|
||||||
|
\verb!\section{A new section}!\\
|
||||||
|
automaticallly create a special frame with section number and title.
|
||||||
|
|
||||||
|
\begin{block}{No automatic section pages}
|
||||||
|
\verb!\AtBeginSection{}!
|
||||||
|
\end{block}
|
||||||
|
\begin{block}{Manual insertion of a section page}
|
||||||
|
\verb!\frame[plain]{\sectionpage}!
|
||||||
|
\end{block}
|
||||||
|
\begin{block}{Colors/Fonts}
|
||||||
|
\verb!\setbeamercolor{section name}{parent={titlelike}}!
|
||||||
|
\verb!\setbeamercolor{section name separator}{parent={section name}}!
|
||||||
|
\verb!\setbeamercolor{section title}{parent={titlelike}}!
|
||||||
|
\end{block}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\subsection{Subsection page}
|
||||||
|
|
||||||
|
\frame[plain]{\subsectionpage}
|
||||||
|
|
||||||
|
\begin{frame}[fragile]{Subsection pages}
|
||||||
|
After a subsection command\\
|
||||||
|
\verb!\subsection{A new subsection}!\\
|
||||||
|
you may want to insert a subsection page displaying the current
|
||||||
|
section and subsection numbers and titles:
|
||||||
|
\begin{block}{Subsection page}
|
||||||
|
\verb!\frame[plain]{\subsectionpage}!
|
||||||
|
\end{block}
|
||||||
|
\begin{block}{Colors/Fonts}
|
||||||
|
\verb!\setbeamercolor{subsection name}{parent={titlelike}}!
|
||||||
|
\verb!\setbeamercolor{subsection name separator}{parent={section name}}!
|
||||||
|
\verb!\setbeamercolor{subsection title}{parent={titlelike}}!
|
||||||
\end{block}
|
\end{block}
|
||||||
\vfill
|
|
||||||
\begin{alertblock}{Subsection pages}
|
|
||||||
Not supported yet! Coming soon ...
|
|
||||||
\end{alertblock}
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
Loading…
Reference in New Issue
Block a user