diff --git a/beamercolorthemeaptero.sty b/beamercolorthemeaptero.sty index 60119b2..1ea4301 100644 --- a/beamercolorthemeaptero.sty +++ b/beamercolorthemeaptero.sty @@ -49,19 +49,19 @@ \setbeamercolor{enumerate subitem}{parent={normal text}} \setbeamercolor{block title}{fg=white, bg=blue} -\setbeamercolor{block body}{fg=normal text.fg, bg=blue!20} +\setbeamercolor{block body}{fg=normal text.fg, bg=black!15} \setbeamercolor{block line top}{fg=} \setbeamercolor{block line middle}{fg=blue} \setbeamercolor{block line bottom}{fg=blue} \setbeamercolor{block title alerted}{parent={block title}, bg=red} -\setbeamercolor{block body alerted}{fg=red, bg=red!15} +\setbeamercolor{block body alerted}{fg=red, bg=black!15} \setbeamercolor{block line alerted top}{fg=} \setbeamercolor{block line alerted middle}{fg=red} \setbeamercolor{block line alerted bottom}{fg=red} \setbeamercolor{block title example}{parent={block title}, bg=lightgreen} -\setbeamercolor{block body example}{fg=normal text.fg, bg=lightgreen!40} +\setbeamercolor{block body example}{fg=normal text.fg, bg=black!15} \setbeamercolor{block line example top}{fg=} \setbeamercolor{block line example middle}{fg=lightgreen} \setbeamercolor{block line example bottom}{fg=lightgreen} @@ -76,6 +76,8 @@ \setbeamercolor{message line top}{fg=} \setbeamercolor{message line bottom}{fg=} \setbeamercolor{message symbol}{fg=} +\setbeamercolor{message item}{fg=red} +\setbeamercolor{message item symbol}{fg=red} \setbeamercolor{section in toc}{parent={normal text}} \setbeamercolor{subsection in toc}{parent={normal text}} diff --git a/beamercolorthemeut.sty b/beamercolorthemeut.sty index e0915e7..51d11b1 100644 --- a/beamercolorthemeut.sty +++ b/beamercolorthemeut.sty @@ -77,6 +77,8 @@ \setbeamercolor{message symbol}{fg=utgold} \setbeamercolor{message line top}{fg=} \setbeamercolor{message line bottom}{fg=} +\setbeamercolor{message item}{fg=utred} +\setbeamercolor{message item symbol}{fg=utgold} \setbeamercolor{section in toc}{parent={normal text}} \setbeamercolor{subsection in toc}{parent={normal text}} diff --git a/beamerthemelines.sty b/beamerthemelines.sty index d846e8c..843cafc 100644 --- a/beamerthemelines.sty +++ b/beamerthemelines.sty @@ -81,7 +81,7 @@ \c@tmp@numslides=\numexpr\beamer@endpageofframe-\beamer@startpageofframe\relax% \makebox[2.5ex][r]{\ifnum\c@tmp@numslides>0 -- \insertslidenumber{}\fi}}} -\setbeamertemplate{page number in head/foot}[slides] +\setbeamertemplate{page number in head/foot}[frames] %%%%% footline %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -308,11 +308,16 @@ \newcommand{\itemarrow}{\tikz[baseline]{% \draw[line width=0.2ex] (0ex, 0.2ex) -- (0.45ex,0.7ex) -- (0ex, 1.2ex);}} +\newcommand{\itemfilledarrow}{\tikz[baseline]{% + \filldraw[line width=0.2ex] (0ex, 0.2ex) -- (0.5ex,0.7ex) -- (0ex, 1.2ex) -- cycle;}} \newcommand{\itemdash}{\tikz[baseline]{% \draw[line width=0.2ex] (0ex, 0.7ex) -- (0.9ex,0.7ex);}} \defbeamertemplate{itemize item}{arrow}{\itemarrow} +\defbeamertemplate{itemize item}{filledarrow}{\itemfilledarrow} \defbeamertemplate{itemize item}{dash}{\itemdash} +\defbeamertemplatealias{itemize item}{emph}{filledarrow} +\defbeamertemplatealias{itemize item}{message}{arrow} \defbeamertemplate{itemize subitem}{arrow}{\itemarrow} \defbeamertemplate{itemize subitem}{dash}{\itemdash} @@ -320,6 +325,14 @@ \setbeamertemplate{itemize item}[arrow] % default, triangle, circle, square, ball, arrow, dash \setbeamertemplate{itemize subitem}[dash] % default, triangle, circle, square, ball, arrow, dash +%%%%% emph item: + +\newenvironment{emphenv}{\only{\setbeamertemplate{itemize item}[emph]}}{} + +%%%%% message like item: + +\newenvironment{messageenv}{\only{\setbeamertemplate{itemize item}[message]\setbeamercolor{itemize item}{use={message item symbol},fg=message item symbol.fg}\usebeamerfont{message item}\usebeamercolor[fg]{message item}}}{} + %%%%% enumerate style: @@ -509,7 +522,6 @@ \usebeamertemplate*{message}} } - %%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% title page graphic line: @@ -780,6 +792,7 @@ \setbeamerfont{theorem body}{parent={block body}} \setbeamerfont{message}{parent={normal text}, size=\large} +\setbeamerfont{message item}{parent={normal text}, size=\large} \setbeamerfont*{section title}{size=\huge} \setbeamerfont*{section name}{size=\huge} diff --git a/beamerthemeut.sty b/beamerthemeut.sty index fd1956c..e3beee5 100644 --- a/beamerthemeut.sty +++ b/beamerthemeut.sty @@ -43,8 +43,10 @@ \setbeamertemplate{footline line}[page][0.3pt] % text, page \setbeamertemplate{footline separator}[text][0.3pt] % text, full, dash, space -\setbeamertemplate{itemize item}[arrow] % default, triangle, circle, square, ball, arrow, dash -\setbeamertemplate{itemize subitem}[dash] % default, triangle, circle, square, ball, arrow, dash +\setbeamertemplate{itemize item}[arrow] % default, triangle, circle, square, ball, arrow, filledarrow, dash +\setbeamertemplate{itemize subitem}[dash] % default, triangle, circle, square, ball, arrow, filledarrow, dash +\defbeamertemplatealias{itemize item}{emph}{filledarrow} +\defbeamertemplatealias{itemize item}{message}{arrow} \setbeamertemplate{enumerate item}[arabic] % default, circle, square, ball, alph, Alph, arabic, roman, Roman \setbeamertemplate{enumerate subitem}[alph] % default, circle, square, ball, alph, arabic, roman @@ -75,6 +77,7 @@ \setbeamerfont{footline}{size=\tiny} \setbeamerfont{message}{size=\normalsize, series=\bfseries} +\setbeamerfont{message item}{parent={normal text}, size=\normalsize, series=\bfseries} \usecolortheme{ut} diff --git a/efishtitle.pdf b/efishtitle.pdf index e777554..eb0052b 100644 Binary files a/efishtitle.pdf and b/efishtitle.pdf differ diff --git a/lines-example.tex b/lines-example.tex index 50b5fa3..4290cb3 100644 --- a/lines-example.tex +++ b/lines-example.tex @@ -9,8 +9,6 @@ \date[2021]{March 2021} \setbeamerfont{block body}{size=\small} -\setbeamercolor{message line top}{fg=orange} -\setbeamercolor{message line bottom}{fg=} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -161,6 +159,7 @@ \verb!itemize! only: \begin{itemize} \item \verb!arrow! + \item \verb!filledarrow! \item \verb!dash! \item \verb!triangle! \end{itemize} @@ -226,6 +225,35 @@ \end{minipage} \end{frame} +\begin{frame}[fragile]{Itemize with action items} + \begin{minipage}[t]{0.45\textwidth} + \vspace{-2ex} + \begin{block}{Itemize} + \verb!\begin{itemize}!\\ + \verb!\item Apple!\\ + \verb!\item<2-| alert@3> Orange! + \verb!\item<2-| emph@2> Lemon! + \verb!\item<3-| emph@1-> Banana! + \verb!\item<3-> Mango! + \verb!\item<4-| message@1-> Cherries! + \verb! \item<4-> Grapes! + \verb!\end{itemize}! + \end{block} + \end{minipage} + \hfill + \begin{minipage}[t]{0.45\textwidth} + \begin{itemize} + \item Apple + \item<2-| alert@3> Orange + \item<2-| emph@2> Lemon + \item<3-| emph@1-> Banana + \item<3-> Mango + \item<4-| message@1-> Cherries + \item<4-> Grapes + \end{itemize} + \end{minipage} +\end{frame} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[fragile]{Alert and structure} The \verb!\alert{}! command \alert{emphasizes} text. diff --git a/ut-example.tex b/ut-example.tex index babb36c..2dcdcdc 100644 --- a/ut-example.tex +++ b/ut-example.tex @@ -1,7 +1,7 @@ \documentclass[aspectratio=169,t]{beamer} \usetheme[author,institute,date,title]{ut} -\title{A beamer theme for the University of T\"ubingen} +\title{A \LaTeX{} beamer theme for the University of T\"ubingen} \author[Benda]{Jan Benda} \institute[T\"ubingen]{Neuroethology, University of T\"ubingen} \date[2021]{March 2021} @@ -145,6 +145,35 @@ \end{minipage} \end{frame} +\begin{frame}[fragile]{Itemize with action items} + \begin{minipage}[t]{0.45\textwidth} + \vspace{-2ex} + \begin{block}{Itemize} + \verb!\begin{itemize}!\\ + \verb!\item Apple!\\ + \verb!\item<2-| alert@3> Orange! + \verb!\item<2-| emph@2> Lemon! + \verb!\item<3-| emph@1-> Banana! + \verb!\item<3-> Mango! + \verb!\item<4-| message@1-> Cherries! + \verb! \item<4-> Grapes! + \verb!\end{itemize}! + \end{block} + \end{minipage} + \hfill + \begin{minipage}[t]{0.45\textwidth} + \begin{itemize} + \item Apple + \item<2-| alert@3> Orange + \item<2-| emph@2> Lemon + \item<3-| emph@1-> Banana + \item<3-> Mango + \item<4-| message@1-> Cherries + \item<4-> Grapes + \end{itemize} + \end{minipage} +\end{frame} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[fragile,c]{Alert and structure} The \verb!\alert{}! command \alert{emphasizes} text.