diff --git a/beamercolorthemeaptero.sty b/beamercolorthemeaptero.sty index 45e3535..60119b2 100644 --- a/beamercolorthemeaptero.sty +++ b/beamercolorthemeaptero.sty @@ -73,8 +73,9 @@ \setbeamercolor{theorem line bottom}{fg=orange} \setbeamercolor{message}{fg=white, bg=red} -\setbeamercolor{message line top}{fg=black} -\setbeamercolor{message line bottom}{fg=black} +\setbeamercolor{message line top}{fg=} +\setbeamercolor{message line bottom}{fg=} +\setbeamercolor{message symbol}{fg=} \setbeamercolor{section in toc}{parent={normal text}} \setbeamercolor{subsection in toc}{parent={normal text}} diff --git a/beamercolorthemeut.sty b/beamercolorthemeut.sty index 4bc5cb1..38866a3 100644 --- a/beamercolorthemeut.sty +++ b/beamercolorthemeut.sty @@ -50,7 +50,7 @@ \setbeamercolor{frametitle line}{fg=utgold} \setbeamercolor{block title}{fg=white, bg=utlightblue} -\setbeamercolor{block body}{fg=normal text.fg, bg=utlightblue!15} +\setbeamercolor{block body}{fg=normal text.fg, bg=utlightblue!20} \setbeamercolor{block line top}{fg=} \setbeamercolor{block line middle}{fg=utlightblue} \setbeamercolor{block line bottom}{fg=utlightblue} diff --git a/beamerthemelines.sty b/beamerthemelines.sty index 11a803d..c811e0f 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}[frames] +\setbeamertemplate{page number in head/foot}[slides] %%%%% footline %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -345,7 +345,7 @@ \IfStrEq{\insertblocktitle}{}{}{% % IfStrEq does not work for theorems! \ifbeamercolorempty[fg]{block line#1 top}{}{% \nointerlineskip - \begin{beamercolorbox}[wd=\columnwidth,hd=#2]{block line#1 top} + \begin{beamercolorbox}[wd=\columnwidth,ht=#2]{block line#1 top} \rule{\columnwidth}{#2} \end{beamercolorbox} \nointerlineskip% @@ -355,7 +355,7 @@ \end{beamercolorbox}} \nointerlineskip \ifbeamercolorempty[fg]{block line#1 middle}{}{% - \begin{beamercolorbox}[wd=\columnwidth,hd=#3]{block line#1 middle} + \begin{beamercolorbox}[wd=\columnwidth,ht=#3]{block line#1 middle} \rule{\columnwidth}{#3} \end{beamercolorbox} \nointerlineskip}% @@ -368,7 +368,7 @@ \end{beamercolorbox}% \ifbeamercolorempty[fg]{block line#1 bottom}{}{% \nointerlineskip - \begin{beamercolorbox}[wd=\columnwidth,hd=#2]{block line#1 bottom} + \begin{beamercolorbox}[wd=\columnwidth,ht=#2]{block line#1 bottom} \rule{\columnwidth}{#2} \end{beamercolorbox} }% @@ -408,7 +408,7 @@ \usebeamerfont{#1 title}% \ifbeamercolorempty[fg]{#1 line top}{}{% \nointerlineskip - \begin{beamercolorbox}[wd=\columnwidth,hd=#2]{#1 line top} + \begin{beamercolorbox}[wd=\columnwidth,ht=#2]{#1 line top} \rule{\columnwidth}{#2} \end{beamercolorbox} \nointerlineskip% @@ -418,7 +418,7 @@ \end{beamercolorbox} \nointerlineskip \ifbeamercolorempty[fg]{#1 line middle}{}{% - \begin{beamercolorbox}[wd=\columnwidth,hd=#3]{#1 line middle} + \begin{beamercolorbox}[wd=\columnwidth,ht=#3]{#1 line middle} \rule{\columnwidth}{#3} \end{beamercolorbox} \nointerlineskip}% @@ -431,7 +431,7 @@ \end{beamercolorbox}% \ifbeamercolorempty[fg]{#1 line bottom}{}{% \nointerlineskip - \begin{beamercolorbox}[wd=\columnwidth,hd=#2]{#1 line bottom} + \begin{beamercolorbox}[wd=\columnwidth,ht=#2]{#1 line bottom} \rule{\columnwidth}{#2} \end{beamercolorbox} }% @@ -478,7 +478,7 @@ \usebeamerfont{message}% \ifbeamercolorempty[fg]{message line top}{}{% \nointerlineskip - \begin{beamercolorbox}[wd=\columnwidth,hd=#1]{message line top} + \begin{beamercolorbox}[wd=\columnwidth,ht=#1]{message line top} \rule{\columnwidth}{#1} \end{beamercolorbox} \nointerlineskip}% @@ -488,13 +488,13 @@ \end{beamercolorbox} \ifbeamercolorempty[fg]{message line bottom}{}{% \nointerlineskip% - \begin{beamercolorbox}[wd=\columnwidth,hd=#2]{message line bottom} + \begin{beamercolorbox}[wd=\columnwidth,ht=#2]{message line bottom} \rule{\columnwidth}{#2} \end{beamercolorbox}}% \medskip } -\setbeamertemplate{message}[lines]{0.5pt}{0.5pt} +\setbeamertemplate{message}[lines]{1pt}{1pt} \newcommand<>{\messagebox}[1]{% \only#2{\def\insertmessage{#1}% diff --git a/lines-example.tex b/lines-example.tex index c1a3ae7..50b5fa3 100644 --- a/lines-example.tex +++ b/lines-example.tex @@ -9,6 +9,8 @@ \date[2021]{March 2021} \setbeamerfont{block body}{size=\small} +\setbeamercolor{message line top}{fg=orange} +\setbeamercolor{message line bottom}{fg=} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -83,7 +85,7 @@ \end{frame} \begin{frame}[fragile]{Frame subtitle} - \framesubtitle{I can not focus and add a subtitle} + \framesubtitle{Here we have a subtitle} \begin{block}{Frame environment with subtitle} \verb!\begin{frame}!\\ \verb! \frametitle{The title of my slide}!\\ @@ -276,7 +278,7 @@ \texttt{theorem} environment. \end{theorem} \begin{definition} - Definition block with content: \texttt{definition} environment.\\[1ex] + \texttt{definition} environment.\\[1ex] All theorem environments get the same color and font: \begin{itemize} \item \texttt{theorem title} @@ -285,10 +287,10 @@ \end{itemize} \end{definition} %\begin{example} - % Example block with content: \texttt{example} environment. + % \texttt{example} environment. %\end{example} \begin{proof} - Proof block with content: \texttt{proof} environment.\\ + \texttt{proof} environment.\\ Same colors and fonts as the \texttt{block} environment. \end{proof} \end{frame} @@ -297,10 +299,19 @@ \begin{block}{A new (non-beamer) command for highlighting messages} \verb!\messagebox{Take home message}! \end{block} - \vspace{5ex} + \vfill \messagebox{Take home message} - \vspace{5ex} + \vfill Use it! + \vfill + \begin{block}{Colors/Fonts/Template} + \verb!\setbeamertemplate{message}[lines]{1pt}{1pt} % width top/bottom line!\\ + \verb!\setbeamercolor{message}{fg=white, bg=red}!\\ + \verb!\setbeamercolor{message line top}{fg=orange}!\\ + \verb!\setbeamercolor{message line bottom}{fg=}!\\ + \verb!\setbeamertemplate{message symbol}[circle] % default, circle, arrow!\\ + \verb!\setbeamercolor{message symbol}{fg=white}! + \end{block} \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -522,12 +533,14 @@ \frame[plain]{\subsectionpage} \begin{frame}[fragile]{Section page} - Section commands between the frames, like\\ - \verb!\section{A new section}!\\ + Section commands between the frames, like + \begin{block}{} + \verb!\section{A new section}! + \end{block} automaticallly create a special frame with section number and title. \begin{block}{No automatic section pages} - \verb!\AtBeginSection{}! + \verb!\AtBeginSection{} % in preamble! \end{block} \begin{block}{Manual insertion of a section page} \verb!\frame[plain]{\sectionpage}! @@ -545,12 +558,15 @@ \begin{frame}[fragile]{Subsection pages} After a subsection command\\ - \verb!\subsection{A new subsection}!\\ + \begin{block}{} + \verb!\subsection{A new subsection}! + \end{block} 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} + \vfill \begin{block}{Colors/Fonts} \verb!\setbeamercolor{subsection name}{parent={titlelike}}! \verb!\setbeamercolor{subsection name separator}{parent={section name}}! @@ -562,31 +578,34 @@ \section{Further reading} \begin{frame}{Beamer user guide} - Read the beamer user guide at\\ - \url{http://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}\\ - - \vspace{2ex} + 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} + \end{block} + + \vfill In particular \begin{itemize} \item the tutorial (section 3) - \item quite nice and independent of beamer are the ``guidelines for creating presentations'' (section 5) + \item the ``guidelines for creating presentations'' (section 5) --- quite nice and independent of beamer! \item ``creating overlays'' (section 9) - \item you find some fancy features in section 11 (hyperlinks and zooming) + \item section 11 for some fancy features (hyperlinks and zooming) \item ``local structure'' (section 12) for more infos on lists and blocks, etc. \end{itemize} \end{frame} \begin{frame}{Beamer templates} - Templates are a powerful method of beamer that allow you to modify - the appearance of your presentation. - - \bigskip + \begin{alertblock}{} + Templates are a powerful method of beamer that allow you to modify + the appearance of your presentation. + \end{alertblock} + \vfill Read in the beamer user guide \begin{itemize} \item section 16.3 ``Changing the Templates Used for Different Elements of a Presentation'' \end{itemize} - \bigskip + \vfill You find a nice summary of common beamer template/color/font names in the \begin{block}{Beamer appearance cheat sheet} \url{http://www.cpt.univ-mrs.fr/~masson/latex/Beamer-appearance-cheat-sheet.pdf} diff --git a/ut-example.tex b/ut-example.tex index e2afaca..516f6d0 100644 --- a/ut-example.tex +++ b/ut-example.tex @@ -208,9 +208,9 @@ \begin{block}{A new (non-beamer) command for highlighting messages} \verb!\messagebox{Take home message}! \end{block} - \vspace{5ex} + \vfill \messagebox{Take home message} - \vspace{5ex} + \vfill Use it! \end{frame} @@ -301,21 +301,19 @@ \frame[plain]{\subsectionpage} \begin{frame}[fragile]{Section page} - Section commands between the frames, like\\ - \verb!\section{A new section}!\\ + Section commands between the frames, like + \begin{block}{} + \verb!\section{A new section}! + \end{block} automaticallly create a special frame with section number and title. - + \vfill \begin{block}{No automatic section pages} - \verb!\AtBeginSection{}! + \verb!\AtBeginSection{} % in preamble! \end{block} + \vfill \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} @@ -323,34 +321,33 @@ \frame[plain]{\subsectionpage} \begin{frame}[fragile]{Subsection pages} - After a subsection command\\ - \verb!\subsection{A new subsection}!\\ + After a subsection command + \begin{block}{} + \verb!\subsection{A new subsection}! + \end{block} you may want to insert a subsection page displaying the current section and subsection numbers and titles: + \vfill \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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Further reading} \begin{frame}{Beamer user guide} - Read the beamer user guide at\\ - \url{http://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}\\ - - \vspace{2ex} + 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} + \end{block} + \vfill In particular \begin{itemize} \item the tutorial (section 3) - \item quite nice and independent of beamer are the ``guidelines for creating presentations'' (section 5) + \item the ``guidelines for creating presentations'' (section 5) --- quite nice and independent of beamer! \item ``creating overlays'' (section 9) - \item you find some fancy features in section 11 (hyperlinks and zooming) + \item section 11 for some fancy features (hyperlinks and zooming) \item ``local structure'' (section 12) for more infos on lists and blocks, etc. \end{itemize} \end{frame}