font sizes in foot

This commit is contained in:
Jan Benda 2021-03-03 10:36:51 +01:00
parent 1eb0bea299
commit bf8e6dad83
4 changed files with 67 additions and 10 deletions

View File

@ -121,32 +121,37 @@
\@tempsepfalse% \@tempsepfalse%
% author: % author:
\if@beamer@footline@author \if@beamer@footline@author
\insertshortauthor {\usebeamerfont{author in head/foot}%
\insertshortauthor}%
\@tempseptrue \@tempseptrue
\fi \fi
% institute: % institute:
\if@beamer@footline@institute \if@beamer@footline@institute
\if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi \if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi
\insertshortinstitute {\usebeamerfont{institute in head/foot}%
\insertshortinstitute}%
\@tempseptrue \@tempseptrue
\fi \fi
% date: % date:
\if@beamer@footline@date \if@beamer@footline@date
\if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi \if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi
\insertshortdate {\usebeamerfont{date in head/foot}%
\insertshortdate}%
\@tempseptrue \@tempseptrue
\fi \fi
% title: % title:
\if@beamer@footline@title \if@beamer@footline@title
\if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi \if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi
\insertshorttitle {\usebeamerfont{title in head/foot}%
\insertshorttitle}%
\@tempseptrue \@tempseptrue
\fi \fi
\hfill \hfill
% page: % page:
\if@beamer@footline@page \if@beamer@footline@page
\usebeamertemplate{footline separator} \usebeamertemplate{footline separator}
\insertframenumber {\usebeamerfont{page number in head/foot}%
\insertframenumber}
\fi \fi
% logo: % logo:
\if@beamer@footline@logo% \if@beamer@footline@logo%
@ -527,6 +532,7 @@
\setbeamerfont{subtitle}{size=\Large, shape=\bfseries} \setbeamerfont{subtitle}{size=\Large, shape=\bfseries}
\setbeamerfont{author}{size=\Large} \setbeamerfont{author}{size=\Large}
\setbeamerfont{institute}{size=\normalsize} \setbeamerfont{institute}{size=\normalsize}
\setbeamerfont{date}{size=\tiny}
\setbeamerfont*{section title}{size=\huge} \setbeamerfont*{section title}{size=\huge}
\setbeamerfont*{section name}{size=\huge} \setbeamerfont*{section name}{size=\huge}
@ -534,6 +540,10 @@
\setbeamerfont*{subsection name}{size=\Large} \setbeamerfont*{subsection name}{size=\Large}
\setbeamerfont{footline}{size=\footnotesize} \setbeamerfont{footline}{size=\footnotesize}
\setbeamerfont{author in head/foot}{}
\setbeamerfont{date in head/foot}{}
\setbeamerfont{institute in head/foot}{}
\setbeamerfont{title in head/foot}{}
\setbeamerfont{page number in head/foot}{}
\mode<all> \mode<all>

View File

@ -39,8 +39,8 @@
\setbeamertemplate{frametitle line}[page][0.75pt] % text, page \setbeamertemplate{frametitle line}[page][0.75pt] % text, page
\setbeamertemplate{footline}[lines] % default (no footline), lines \setbeamertemplate{footline}[lines] % default (no footline), lines
\setbeamertemplate{footline line}[page][0.75pt] % text, page \setbeamertemplate{footline line}[page][0.3pt] % text, page
\setbeamertemplate{footline separator}[text][0.75pt] % text, full \setbeamertemplate{footline separator}[text][0.3pt] % text, full
\setbeamertemplate{itemize item}[arrow] % default, triangle, circle, square, ball, arrow, dash \setbeamertemplate{itemize item}[arrow] % default, triangle, circle, square, ball, arrow, dash
\setbeamertemplate{itemize subitem}[dash] % default, triangle, circle, square, ball, arrow, dash \setbeamertemplate{itemize subitem}[dash] % default, triangle, circle, square, ball, arrow, dash
@ -59,6 +59,7 @@
\setbeamertemplate{section name separator}[text][2pt] % space, text \setbeamertemplate{section name separator}[text][2pt] % space, text
\setbeamertemplate{subsection name separator}[text][2pt] % space, text \setbeamertemplate{subsection name separator}[text][2pt] % space, text
\setbeamerfont{footline}{size=\tiny}
\usecolortheme{ut} \usecolortheme{ut}

View File

@ -176,11 +176,57 @@
\end{block} \end{block}
\end{frame} \end{frame}
\begin{frame}[fragile]{Nested itemize and enumerate}
\begin{minipage}[t]{0.45\textwidth}
\vspace{-2ex}
\begin{block}{Itemize}\small
\verb!\begin{itemize}!\\
\verb!\item Apple!\\
\verb! \begin{itemize}!\\
\verb! \item Red!\\
\verb! \item Green!\\
\verb! \end{itemize}!\\
\verb!\item Banana!\\
\verb!\end{itemize}!
\end{block}
\begin{itemize}
\item Apple
\begin{itemize}
\item Red
\item Green
\end{itemize}
\item Banana
\end{itemize}
\end{minipage}
\hfill
\begin{minipage}[t]{0.45\textwidth}
\vspace{-2ex}
\begin{block}{Enumerate}\small
\verb!\begin{enumerate}!\\
\verb!\item Apple!\\
\verb! \begin{enumerate}!\\
\verb! \item Red!\\
\verb! \item Green!\\
\verb! \end{enumerate}!\\
\verb!\item Banana!\\
\verb!\end{enumerate}!
\end{block}
\begin{enumerate}
\item Apple
\begin{enumerate}
\item Red
\item Green
\end{enumerate}
\item Banana
\end{enumerate}
\end{minipage}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Alert and structure} \begin{frame}[fragile]{Alert and structure}
The \verb!\alert{}! command \alert{emphasizes} text. The \verb!\alert{}! command \alert{emphasizes} text.
Structural \structure{emphasize} is provided by the \verb!\structure{}! command. Structural \structure{emphasis} is provided by the \verb!\structure{}! command.
\vspace{2ex} \vspace{2ex}
\begin{block}{Colors/Fonts} \begin{block}{Colors/Fonts}

View File

@ -147,7 +147,7 @@
The \verb!\alert{}! command \alert{emphasizes} text. The \verb!\alert{}! command \alert{emphasizes} text.
\vfill \vfill
Structural \structure{emphasize} is provided by the \verb!\structure{}! command. Structural \structure{emphasis} is provided by the \verb!\structure{}! command.
\end{frame} \end{frame}
\begin{frame}{Blocks} \begin{frame}{Blocks}