diff options
Diffstat (limited to 'macros/latex/contrib/beamer-contrib/themes/beamerthemeamurmaple/doc/beamer-amurmaple-doc.tex')
-rw-r--r-- | macros/latex/contrib/beamer-contrib/themes/beamerthemeamurmaple/doc/beamer-amurmaple-doc.tex | 63 |
1 files changed, 48 insertions, 15 deletions
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamerthemeamurmaple/doc/beamer-amurmaple-doc.tex b/macros/latex/contrib/beamer-contrib/themes/beamerthemeamurmaple/doc/beamer-amurmaple-doc.tex index 3b07affb7b..c389f6479e 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamerthemeamurmaple/doc/beamer-amurmaple-doc.tex +++ b/macros/latex/contrib/beamer-contrib/themes/beamerthemeamurmaple/doc/beamer-amurmaple-doc.tex @@ -16,7 +16,8 @@ % This work has the LPPL maintenance status "author-maintained". \documentclass[10pt,aspectratio=169,english]{beamer} -\usepackage[charter]{mathdesign} +%\usepackage[charter]{mathdesign} +\usepackage{xcharter-otf} \usepackage{hologo} \usepackage{luamesh} @@ -24,7 +25,8 @@ \usepackage{pgfpages} \usepackage{tcolorbox} \usepackage{biblatex} -%\hypersetup{colorlinks=true} +\usepackage{cleveref} +% \hypersetup{colorlinks=true} \tcbuselibrary{listings,breakable} \tcbuselibrary{documentation} @@ -54,7 +56,7 @@ delaunay, morekeywords={usetheme,definecolor, beamerbutton, beamerskipbutton, beamerreturnbutton, structure, alert, sectionpage, mail, webpage, collaboration, subtitle, institute, titlegraphic, sepframe, includegraphics, - thanksframe, inserttitlegraphic, framesection, boxalert,appendix} + thanksframe, inserttitlegraphic, framesection, boxalert,appendix,logo} % frame=tb } @@ -112,10 +114,10 @@ delaunay, \title[Amurmaple documentation]{Amurmaple Beamer Theme} \author[M.~Chupin]{Maxime Chupin} -\subtitle{documentation\quad v.1.0} +\subtitle{documentation\quad v.1.1} \institute[CNRS]{CNRS\\ University of Paris-Dauphine} -\date{Mai 28, 2022} +\date{September 10, 2022} \titlegraphic{\includegraphics[width=4cm]{logo.png}} \mail{chupin@ceremade.dauphine.fr} \webpage{www.ceremade.dauphine.fr/~chupin/} @@ -148,7 +150,8 @@ Obviously, we refer to the documentation of the Beamer class for details, and we will assume in this little documentation that the reader is familiar with the Beamer class. \end{information} - +Thanks to Denis Bitouzé for the tests and recommendations to improve this +theme. \end{frame} @@ -184,7 +187,7 @@ Beamer class. \subsection{Theme Options} -\begin{frame}[fragile]{Theme Options} +\begin{frame}[fragile,allowframebreaks]{Theme Options} There are some options available : \begin{description} \item[nogauge:] that suppresses the gauge at the top of the vertical side bar @@ -193,15 +196,40 @@ Beamer class. the current slide ; \item[delaunay:] that produces a Delaunay mesh of random points in the ``structure'' slides (title, section, etc.). \alert{This option can only be - used with \hologo{LuaLaTeX}} and depends on the - package~\lstinline{luamesh}\footfullcite{Luamesh}; - \item[amurmapleblue:] that changes the main color (\lstinline+structure+) to a + used with \hologo{LuaLaTeX}} and depends on the + package~\lstinline{luamesh}\footfullcite{Luamesh}; + \framebreak + \item[sidebar:] that provides a \emph{sidebar} as shown below\footnote{In + general, we strongly recommend the use of the \texttt{aspectratio=169} option of + beamer, but even more strongly with the \texttt{sidebar} option.}. + \begin{center} + \includegraphics[width=0.5\linewidth,page=13]{beamer-amurmaple-sidebar} + \end{center} + \item[sidebarwidth=\meta{value} (with dimension):] when using the sidebar option, you can + adjust the sidebar width (default 58pt). + \framebreak + \item[rule:] that add a rule between the color areas in the different + slides: title (see p.~\cref{title}), section and part (see p.~\ref{sectionpart}), + \lstinline+sepframe+ frame(see p.~\ref{sepframe}), thanks frame (see p.~\ref{thanks}), as + well as classical slides, between the left bar (sidebar or not) and the + text area. + \begin{center} + \includegraphics[width=0.4\linewidth,page=1]{beamer-amurmaple-test}\quad\includegraphics[width=0.4\linewidth,page=4]{beamer-amurmaple-test} + \par\itshape Examples using the \lstinline+rule+ option. + \end{center} + \item[rulecolor=\meta{color}:] that allows to choose the color for the + rule of the \lstinline+rule+ option (default black). + \item[leftframetitle:] that aligns the \lstinline+frametitle+ to the left of + the slide. + \framebreak + \item[amurmapleblue:] that changes the main color (\lstinline+structure+) to a certain blue (see slide~\ref{sl:color}) ; \item[amurmaplegreen:] that changes the main color (\lstinline+structure+) to a certain green (see slide~\ref{sl:color}); \end{description} For example, these slides are produced with the following call\footnote{We use - the \texttt{charter} font family of \texttt{mathdesign} with the serif Beamer theme.}: + the \emph{Bitstream Charter} font family provided by the package + \emph{Xcharter-Math} with the serif Beamer theme. \fullcite{xcharter-math}.}: \begin{CodePreambule} \usetheme[nomail,delaunay]{Amurmaple} \end{CodePreambule} @@ -348,7 +376,7 @@ can see below \end{Code} \end{lrbox} -\begin{frame}[fragile]{Section and Part Frames} +\begin{frame}[fragile]{Section and Part Frames}\label{sectionpart} The standard \texttt{section page} and \texttt{part page} have been modified. The following code produce the next slide (the part slide is not generated @@ -396,7 +424,7 @@ can see below \sepframe -\begin{frame}[fragile,allowframebreaks]{Title Page} +\begin{frame}[fragile,allowframebreaks]{Title Page}\label{title} As shown in this document, the title page has been customized. In addition to the classic commands for making the title page, the Amurmaple theme provides new commands. @@ -412,6 +440,11 @@ can see below for the presented work. \end{itemize} + The \lstinline+\logo+ command can be used to add a logo to each slide. In the + standard theme, the logo is put in the bottom right corner of the slide, just + above the page numbering. When the option \lstinline+sidebar+, the logo is put + a the bottom of the side bar (above the gauge if it is used). + \framebreak Here the example used to generate this documentation. @@ -434,7 +467,7 @@ University of Paris-Dauphine} \sepframe -\begin{frame}[fragile]{\texttt{sepframe} command} +\begin{frame}[fragile]{\texttt{sepframe} command}\label{sepframe} \bigskip \begin{docCommand}{sepframe}{\oarg{title=\meta{mytitle},image=\meta{my image}}} The newcommand \lstinline+\sepframe+ is provided by the Amurmaple theme. This @@ -464,7 +497,7 @@ The result is the next frame. \sepframe[title={My title},image={\includegraphics[width=5cm]{logo.png}}] -\begin{frame}[fragile]{\texttt{thanksframe} command} +\begin{frame}[fragile]{\texttt{thanksframe} command}\label{thanks} \begin{docCommand}{thanksframe}{\marg{thanking message}} The newcommand \lstinline+\thanksframe+ is provided by the Amurmaple |