new lines manual

This commit is contained in:
Jan Benda 2021-04-02 13:18:53 +02:00
parent 5e83f67fb8
commit 58b78968ae

View File

@ -2,11 +2,11 @@
\usetheme[author,institute,date,title,page,hidelogo]{lines}
\usecolortheme{aptero}
\title[Lines beamer theme]{Lines}
\title[Lines beamer theme manual]{Lines theme user manual}
\subtitle{a line-based theme for beamer}
\author[Benda]{Jan Benda}
\institute[T\"ubingen]{Neuroethology, University of T\"ubingen}
\date[2021]{March 2021}
\date[2021]{April 2021}
\setbeamerfont{block body}{size=\small}
@ -78,31 +78,22 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Frames}
\begin{frame}[fragile]{Beamer frames}
\begin{block}{Frame environment with title}
\verb!\begin{frame}{The title of my slide}!\\
\verb! Some content.!\\
\verb!\end{frame}!
\end{block}
\begin{block}{Alternative specification of frame title}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Frame title and subtitle}
\framesubtitle{Here we have a subtitle}
\begin{block}{Frame environment}
\verb!\begin{frame}!\\
\verb! \frametitle{The title of my slide}!\\
\verb! \framesubtitle{This is a subtitle}!\\
\verb! Some content.!\\
\verb!\end{frame}!
\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Frame title}
\begin{block}{Title with logo}
\verb!\setbeamertemplate{frametitle}[boxlinelogo]!
\end{block}
\begin{block}{Title without logo}
\verb!\setbeamertemplate{frametitle}[boxline]!
\end{block}
\begin{block}{Color/Font}
\verb!\setbeamercolor{frametitle}{fg=blue, bg=white}!\\
\verb!\setbeamerfont{frametitle}{size=\LARGE}!
\vfill
\begin{block}{Colors/Fonts}
\verb!\setbeamercolor{frametitle}{fg=blue}!\\
\verb!\setbeamerfont{frametitle}{size=\LARGE}!\\
\verb!\setbeamercolor{framesubtitle}{fg=blue}!\\
\verb!\setbeamerfont{framesubtitle}{size=\large}!
\end{block}
\end{frame}
@ -123,83 +114,7 @@
\end{block}
\end{frame}
\begin{frame}[fragile]{Frame subtitle}
\framesubtitle{Here we have a subtitle}
\begin{block}{Frame environment with subtitle}
\verb!\begin{frame}!\\
\verb! \frametitle{The title of my slide}!\\
\verb! \framesubtitle{This is a subtitle}!\\
\verb! Some content.!\\
\verb!\end{frame}!
\end{block}
\begin{alertblock}{Try to avoid subtitles!}
Keep the messages on your slides simple and clean.
\end{alertblock}
\begin{block}{Color/Font}
\verb!\setbeamercolor{framesubtitle}{fg=blue}!\\
\verb!\setbeamerfont{framesubtitle}{size=\large}!
\end{block}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Itemize and enumerate}
\vfill
\begin{minipage}[t]{0.3\textwidth}
\vspace{-3ex}
\begin{block}{Itemize with overlays}
\verb!\begin{itemize}!\\
\verb!\item Apple!\\
\verb!\item<2-> Orange!\\
\verb!\item<2-> Lemon!\\
\verb!\item<3-> Banana!\\
\verb!\end{itemize}!
\end{block}
\begin{itemize}
\item Apple
\item<2-> Orange
\item<2-> Lemon
\item<3-> Banana
\end{itemize}
\end{minipage}
\hfill
\begin{minipage}[t]{0.25\textwidth}
\vspace{-3ex}
\begin{block}{Enumerate}
\verb!\begin{enumerate}!\\
\verb!\item<2-> Apple!\\
\verb!\item<1-> Orange!\\
\verb!\item<2> Lemon!\\
\verb!\item<3-> Banana!\\
\verb!\end{enumerate}!
\end{block}
\begin{enumerate}
\item<2-> Apple
\item<1-> Orange
\item<2> Lemon
\item<3-> Banana
\end{enumerate}
\end{minipage}
\hfill
\begin{minipage}[t]{0.37\textwidth}
\vspace{-3ex}
\begin{block}{Cover transparency}
\verb!\setbeamercovered{transparent=50}!\\
\verb!\begin{enumerate}!\\
\verb!\item<1> Apple!\\
\verb!\item<2-> Orange!\\
\verb!\item<3> Lemon!\\
\verb!\end{enumerate}!
\end{block}
\setbeamercovered{transparent=50}
\begin{enumerate}
\item<1> Apple
\item<2-> Orange
\item<3> Lemon
\end{enumerate}
\setbeamercovered{invisible}
\end{minipage}
\end{frame}
\newcommand{\itemizesymboldemo}[1]{
\begin{minipage}[t]{0.17\textwidth}
\setbeamertemplate{itemize item}[#1]
@ -285,52 +200,6 @@
\setbeamertemplate{enumerate item}[arabic]
\end{frame}
\begin{frame}[fragile]{Nested itemize and enumerate}
\begin{minipage}[t]{0.45\textwidth}
\vspace{-3ex}
\begin{block}{Itemize}
\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{-3ex}
\begin{block}{Enumerate}
\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]{Itemize with action items}
\begin{minipage}[t]{0.45\textwidth}
\vspace{-2ex}
@ -381,40 +250,6 @@
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Block environments with title}
... add structure and color to a slide --- use them with care:
\begin{block}{Some block}
Block with title and content\\
\verb!\begin{block}{Some block}!\\
\verb! Block with title and content!\\
\verb!\end{block}!
\end{block}
\begin{alertblock}{Careful!}
\texttt{alertblock} environment with title as argument.
\end{alertblock}
\begin{exampleblock}{Example}
\texttt{exampleblock} environment with title as argument.
\end{exampleblock}
\end{frame}
\begin{frame}[fragile]{Block environments without title}
... add color to a slide in a more subtle way:
\begin{block}{}
Block with empty title.\\
\verb!\begin{block}{}!\\
\verb! Block with empty title!\\
\verb!\end{block}!
\end{block}
\begin{alertblock}{}
\texttt{alertblock} with empty title.\\
And just some text.
\end{alertblock}
\begin{exampleblock}{}
\texttt{exampleblock} with empty title.\\
And just some text.
\end{exampleblock}
\end{frame}
\newcommand{\blockdemo}{
\begin{block}{Some block}
Block with title and content.
@ -563,29 +398,6 @@
\vfill
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Theorems --- for mathematicians}
\begin{theorem}
\texttt{theorem} environment.
\end{theorem}
\begin{definition}
\texttt{definition} environment.\\[1ex]
All theorem environments get the same color and font:
\begin{itemize}
\item \texttt{theorem title}
\item \texttt{theorem body}
\item \texttt{theorem line top/middle/bottom}
\end{itemize}
\end{definition}
%\begin{example}
% \texttt{example} environment.
%\end{example}
\begin{proof}
\texttt{proof} environment.\\
Same colors and fonts as the \texttt{block} environment.
\end{proof}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Message box}
\begin{block}{A new (non-beamer) command for highlighting messages}
@ -607,30 +419,6 @@
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]{Quotations}
Quote something of somebody with indentation:
\begin{quotation}[Me And Myself]
A \verb!quotation! environment. There is a lot to talk about and
it really takes a lot of words to express this. Most likely this
does not fit into a single line. We might even need yet another
full new line.
Here we even start a second paragraph.
\end{quotation}
\vfill
Quote something short of somebody else without indentation:
\begin{quote}[Me And Myself]
A \verb!quote! environment. There is less to talk about and it
just takes a few words to express this. A second line is not
really needed.
\end{quote}
\vfill
Here is a poem:
\begin{verse}
A \verb!verse! environment ---\\with a second line.
\end{verse}
\end{frame}
\newcommand{\quotedemo}{
\begin{quote}[Hamlet]
To be, or not to be.
@ -1098,23 +886,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Further reading}
\begin{frame}{Beamer user guide}
Read the beamer user guide at
\begin{block}{}
\url{http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf}
\end{block}
\vfill
In particular
\begin{itemize}
\item the tutorial (section 3)
\item the ``guidelines for creating presentations'' (section 5) --- quite nice and independent of beamer!
\item ``creating overlays'' (section 9)
\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}
\begin{alertblock}{}
Templates are a powerful method of beamer that allow you to modify
@ -1131,7 +902,7 @@
\url{http://www.cpt.univ-mrs.fr/~masson/latex/Beamer-appearance-cheat-sheet.pdf}
\end{block}
\vfill
For specific option, simply look into the style file
For specific options, simply look into the style file
\begin{block}{}
\url{beamerthemelines.sty}
\end{block}