updated line-example

This commit is contained in:
Jan Benda 2021-03-28 10:54:28 +02:00
parent 9f05a0d67a
commit 2e849e0cc8

View File

@ -147,7 +147,7 @@
\hfill \hfill
\begin{minipage}[t]{0.25\textwidth} \begin{minipage}[t]{0.25\textwidth}
\vspace{-3ex} \vspace{-3ex}
\begin{block}{Enumerate with overlays} \begin{block}{Enumerate}
\verb!\begin{enumerate}!\\ \verb!\begin{enumerate}!\\
\verb!\item<2-> Apple!\\ \verb!\item<2-> Apple!\\
\verb!\item<1-> Orange!\\ \verb!\item<1-> Orange!\\
@ -464,7 +464,7 @@
\end{small} \end{small}
\blockthemedemo{rounded}{} \blockthemedemo{rounded}{}
\vfill \vfill
The \texttt{lines} theme works as expected and stays within the \verb!\textwidth!:\\ The \texttt{lines} theme works as expected and stays within \verb!\textwidth!:\\
\begin{small} \begin{small}
\verb!\setbeamertemplate{block begin}[lines]{0pt}{0pt}! \verb!\setbeamertemplate{block begin}[lines]{0pt}{0pt}!
\verb!\setbeamertemplate{block end}[lines]{0pt}! \verb!\setbeamertemplate{block end}[lines]{0pt}!
@ -907,7 +907,7 @@
\begin{frame}[fragile,c]{Title page content} \begin{frame}[fragile,c]{Title page content}
From top to bottom: From top to bottom:
\begin{enumerate} \begin{enumerate}
\item Logo images with a frametitle line below \item Logo images with a line below
\item Title graphic images with a line directly below \item Title graphic images with a line directly below
\item Title and subtitle with a line below \item Title and subtitle with a line below
\item Authors \item Authors
@ -919,10 +919,16 @@
\begin{block}{In preamble --- can be more than a single image!} \begin{block}{In preamble --- can be more than a single image!}
\verb!\titlelogo{\includegraphics[height=6ex]{ourlogo}}! \verb!\titlelogo{\includegraphics[height=6ex]{ourlogo}}!
\end{block} \end{block}
Separate them with the \verb!\hspace{0.1\textwidth}! or \verb!\hfill! commands. You may separate images with \verb!\hspace{0.1\textwidth}! or \verb!\hfill! commands.
\vspace{2ex} \vspace{2ex}
\begin{block}{Line below logo is the same as for frame titles} \begin{block}{Line below logo}
\verb!\setbeamertemplate{frametitle line}[text][0.5pt]! \verb!\setbeamertemplate{title page logo line}[text][0.5pt]!
\verb!\setbeamertemplate{title page logo line}[page][3pt]!
\end{block}
\begin{block}{Color}
\verb!\setbeamercolor{title page logo line}{fg=red}!\\
Empty foreground color hides line:\\
\verb!\setbeamercolor{title page logo line}{fg=}!
\end{block} \end{block}
\end{frame} \end{frame}
@ -930,9 +936,9 @@
\begin{block}{In preamble --- can be more than a single image!} \begin{block}{In preamble --- can be more than a single image!}
\verb!\titlegraphic{\includegraphics[width=\textwidth]{amazingimage}}! \verb!\titlegraphic{\includegraphics[width=\textwidth]{amazingimage}}!
\end{block} \end{block}
Separate them with the \verb!\hspace{0.1\textwidth}! or \verb!\hfill! commands. You may separate images with \verb!\hspace{0.1\textwidth}! or \verb!\hfill! commands.
\vspace{2ex} \vspace{2ex}
\begin{block}{Line below title graphic} \begin{block}{Line directly below title graphic}
\verb!\setbeamertemplate{title page graphic line}[default][1.5ex]! \verb!\setbeamertemplate{title page graphic line}[default][1.5ex]!
\end{block} \end{block}
\begin{block}{Color} \begin{block}{Color}
@ -948,7 +954,7 @@
\verb!\subtitle{and whatever}!\\ \verb!\subtitle{and whatever}!\\
\end{block} \end{block}
\begin{block}{Color/Font} \begin{block}{Color/Font}
\verb!\setbeamercolor{title}{fg=black}! \verb!\setbeamercolor{title}{fg=black}! \verb!\setbeamercolor{subtitle}{fg=black}!
\end{block} \end{block}
\begin{block}{Line below title and subtitle} \begin{block}{Line below title and subtitle}
\verb!\setbeamertemplate{title page title line}[default][0.2ex]! \verb!\setbeamertemplate{title page title line}[default][0.2ex]!