summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-07 21:01:43 +0000
committerKarl Berry <karl@freefriends.org>2024-02-07 21:01:43 +0000
commite78c02731721a5e1cc169973e8e1f669d33ba9ad (patch)
tree9aa166a2d1be3ad0629eead45029a283caa70e7c
parent11f50070490830a94b1feda900dbe594e3b891a9 (diff)
beamerthemeamurmaple (7feb24)
git-svn-id: svn://tug.org/texlive/trunk@69735 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/LICENSE2
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/README.md7
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-black.pdfbin0 -> 362165 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-blue.pdfbin0 -> 362787 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.pdfbin631666 -> 1627435 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.tex71
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-green.pdfbin0 -> 362482 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-leftframetitle.pdfbin318798 -> 336774 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-sidebar.pdfbin344913 -> 378979 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-test.pdfbin320313 -> 362637 bytes
-rw-r--r--Master/texmf-dist/tex/latex/beamerthemeamurmaple/beamerthemeAmurmaple.sty27
11 files changed, 68 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/LICENSE b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/LICENSE
index ffd12ae975a..4dd5d1f1ea5 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/LICENSE
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2022 Maxime CHUPIN
+Copyright 2024 Maxime CHUPIN
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/README.md b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/README.md
index 76cab58637d..b0b7157fed8 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/README.md
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/README.md
@@ -7,7 +7,12 @@ This Beamer theme is a suitable theme for my use of Beamer in applied mathematic
```latex
\usetheme{Amurmaple}
```
+## Preview
+![AmurmapleRed](img/beamer-amurmaple-doc.png)![AmurmapleRed2](img/beamer-amurmaple-doc-2.png)
+![AmurmapleBlack](img/beamer-amurmaple-black.png)![AmurmapleBlack2](img/beamer-amurmaple-black-2.png)
+![AmurmapleBlue](img/beamer-amurmaple-blue.png)![AmurmapleBlue2](img/beamer-amurmaple-blue-2.png)
+![AmurmapleGreen](img/beamer-amurmaple-green.png)![AmurmapleGreen2](img/beamer-amurmaple-green-2.png)
## Documentation
See the [PDF file](doc/beamer-amurmaple-doc.pdf).
@@ -22,7 +27,7 @@ Paste the file `beamerthemeAmurmaple.sty` in your local `~/texmf/tex/latex/contr
## Licence
-Copyright (C) 2023 by Maxime CHUPIN
+Copyright (C) 2024 by Maxime CHUPIN
<chupin at ceremade.dauphine.fr>
This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version. The latest version of this license is in [http://www.latex-project.org/lppl.txt](http://www.latex-project.org/lppl.txt) and version 1.3 or later is part of all distributions of LaTeXversion 2005/12/01 or later.
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-black.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-black.pdf
new file mode 100644
index 00000000000..9d85022f459
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-black.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-blue.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-blue.pdf
new file mode 100644
index 00000000000..b6bbc6d359d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-blue.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.pdf
index 2a3e760726f..33b990248dd 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.pdf
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.tex b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.tex
index 9dcd18f6da3..48101402103 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.tex
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-doc.tex
@@ -113,10 +113,10 @@ delaunay,
\title[Amurmaple documentation]{Amurmaple Beamer Theme}
\author[M.~Chupin]{Maxime Chupin}
-\subtitle{documentation\quad v.1.2}
+\subtitle{documentation\quad v.1.3}
\institute[CNRS]{CNRS\\
University of Paris-Dauphine}
-\date{January 30, 2023}
+\date{February 7, 2024}
\titlegraphic{\includegraphics[width=4cm]{logo.png}}
\mail{chupin@ceremade.dauphine.fr}
\webpage{www.ceremade.dauphine.fr/~chupin/}
@@ -179,7 +179,8 @@ theme.
\item \lstinline+xfp+;
\item \lstinline+expl3+;
\item \lstinline+iftex+;
- \item \lstinline+tikz+.
+ \item \lstinline+tikz+;
+ \item \lstinline+fontawesome5+.
\end{itemize}
\end{multicols}
\end{itemize}
@@ -225,12 +226,8 @@ theme.
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}
+ \end{description}
+
For example, these slides are produced with the following call\footnote{We use
the \emph{Bitstream Charter} font family provided by the package
\emph{Xcharter-Math} with the serif Beamer theme. \fullcite{xcharter-math}.}:
@@ -239,6 +236,40 @@ theme.
\end{CodePreambule}
\end{frame}
+\section{Color Options}
+
+\sepframe
+
+\begin{frame}[allowframebreaks,fragile]{Color Options}\label{sec:coloroptions}
+ Amurmaple theme provides differents color themes that we can chose calling
+ one of the following options. The different color themes are illustrated after.
+\begin{description}
+ \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});
+\item[amurmapleblack:] that changes the main color (\lstinline+structure+) to a
+certain black (see slide~\ref{sl:color}).
+\end{description}
+\framebreak
+\framesection{\texttt{amurmapleblue} illustration}
+\begin{center}
+ \includegraphics[width=0.4\linewidth,page=1]{beamer-amurmaple-blue}\quad\includegraphics[width=0.4\linewidth,page=4]{beamer-amurmaple-blue}
+ \par\itshape Examples using the \lstinline+amurmapleblue+ option.
+\end{center}
+\framebreak
+\framesection{\texttt{amurmaplegreen} illustration}
+\begin{center}
+ \includegraphics[width=0.4\linewidth,page=1]{beamer-amurmaple-green}\quad\includegraphics[width=0.4\linewidth,page=4]{beamer-amurmaple-green}
+ \par\itshape Examples using the \lstinline+amurmaplegreen+ option.
+\end{center}
+\framebreak
+\framesection{\texttt{amurmapleblack} illustration}
+\begin{center}
+ \includegraphics[width=0.4\linewidth,page=1]{beamer-amurmaple-black}\quad\includegraphics[width=0.4\linewidth,page=4]{beamer-amurmaple-black}
+ \par\itshape Examples using the \lstinline+amurmapleblack+ option.
+\end{center}
+\end{frame}
\section{Classical Beamer Tools}
@@ -249,6 +280,7 @@ theme.
This theme provides some colors :
\begin{Code}
\definecolor{AmurmapleRed}{rgb}{0.6,0.,0.}
+\definecolor{AmurmapleBlack}{rgb}{0.17,0.17,0.17}
\definecolor{AmurmapleOrange}{RGB}{230,108,17}
\definecolor{AmurmapleBlue}{RGB}{55,119,231}
\definecolor{AmurmapleGreen}{rgb}{0.1,0.4,0.1}
@@ -263,27 +295,8 @@ used for the math definition (see slide~\ref{sl:definition}) and for the
\lstinline+block title example+ Beamer color, the
\textcolor{AmurmapleBlue}{\lstinline+AmurmapleBlue+} for the new environment
\lstinline+information+ (see slide~\ref{sl:information}) and \textcolor{AmurmapleRemarkColor}{\lstinline+AmurmapleRemarkColor+} for the \lstinline+remark+ environment (see slide~\pageref{sl:remark}).
-\framebreak
-
-\framesection{Color Theme Option}\label{sl:color}
-
-This theme provides two theme options to change the color settings:
-\begin{description}
-\item[amurmapleblue] that sets \texttt{AmurmapleBlue!80!black} as \texttt{structure}
- color ;
-\item[amurmaplegreen] that sets \texttt{AmurmapleGreen!80!black} as \texttt{structure}
- color.
-\end{description}
-In fact, internally, four colors are defined: \lstinline+Amurmaple@structure+,
-\lstinline+Amurmaple@alert+, \lstinline+Amurmaple@info+ and
-\lstinline+Amurmaple@example+.
-
-The color theme option is used as follows
-\begin{Code}
- \usetheme[amurmapleblue]{amurmaple}
-\end{Code}
-Note that the \lstinline+AmurmapleRemarkColor+ is not modified.
+Of course, these definitions depend on the chosen color theme (see page~\pageref{sec:coloroptions})
\end{frame}
\subsection{Classical commands}
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-green.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-green.pdf
new file mode 100644
index 00000000000..0e98b9c05a8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-green.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-leftframetitle.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-leftframetitle.pdf
index 23c39a39bbd..5a3083bb0e0 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-leftframetitle.pdf
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-leftframetitle.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-sidebar.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-sidebar.pdf
index 3d24e701653..ffa31ab6969 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-sidebar.pdf
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-sidebar.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-test.pdf b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-test.pdf
index 77ee04f0e61..f34211f5331 100644
--- a/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-test.pdf
+++ b/Master/texmf-dist/doc/latex/beamerthemeamurmaple/beamer-amurmaple-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/beamerthemeamurmaple/beamerthemeAmurmaple.sty b/Master/texmf-dist/tex/latex/beamerthemeamurmaple/beamerthemeAmurmaple.sty
index 99f6b58c897..ddcd68711c4 100644
--- a/Master/texmf-dist/tex/latex/beamerthemeamurmaple/beamerthemeAmurmaple.sty
+++ b/Master/texmf-dist/tex/latex/beamerthemeamurmaple/beamerthemeAmurmaple.sty
@@ -1,4 +1,4 @@
-% Copyright (C) 2023 by Maxime CHUPIN
+% Copyright (C) 2024 by Maxime CHUPIN
% <chupin at ceremade.dauphine.fr>
% -------------------------------------------------------
%
@@ -16,12 +16,13 @@
% This work has the LPPL maintenance status "author-maintained".
\NeedsTeXFormat{LaTeX2e}[2021-11-15]
-\ProvidesPackage{beamerthemeAmurmaple}[2023/01/30 v.1.2 Theme for the Beamer
+\ProvidesPackage{beamerthemeAmurmaple}[2024/02/07 v.1.3 Theme for the Beamer
class]%
% some colors
\definecolor{AmurmapleRed}{rgb}{0.6,0.,0.}
+\definecolor{AmurmapleBlack}{rgb}{0.17,0.17,0.17}
\definecolor{AmurmapleOrange}{RGB}{230,108,17}
\definecolor{AmurmapleBlue}{RGB}{55,119,231}
\definecolor{AmurmapleGreen}{rgb}{0.1,0.4,0.1}
@@ -50,6 +51,9 @@ class]%
\newif\ifbeamer@am@amurmaplegreen
\beamer@am@amurmaplegreenfalse
\DeclareOptionBeamer{amurmaplegreen}{\beamer@am@amurmaplegreentrue}
+\newif\ifbeamer@am@amurmapleblack
+\beamer@am@amurmapleblackfalse
+\DeclareOptionBeamer{amurmapleblack}{\beamer@am@amurmapleblacktrue}
\newif\ifbeamer@am@sidebar
\beamer@am@sidebarfalse
\DeclareOptionBeamer{sidebarwidth}{\def\amurmaple@sidebarwidth{#1}}
@@ -73,7 +77,7 @@ class]%
\RequirePackage{expl3}
\RequirePackage{iftex}
\RequirePackage{pgfpages}
-
+\RequirePackage{fontawesome5}
\ifbeamer@am@delaunay
@@ -213,6 +217,13 @@ class]%
\colorlet{Amurmaple@info}{AmurmapleRed}
\colorlet{Amurmaple@example}{AmurmapleBlue}
\fi
+\ifbeamer@am@amurmapleblack
+\colorlet{Amurmaple@structure}{AmurmapleBlack}
+\colorlet{Amurmaple@alert}{AmurmapleOrange}
+\colorlet{Amurmaple@info}{AmurmapleRed}
+\colorlet{Amurmaple@example}{AmurmapleBlue}
+\setbeamercolor{description item}{bg=white,fg=Amurmaple@info}
+\fi
\setbeamercolor{structure}{fg=Amurmaple@structure}
\setbeamercolor{itemize item}{fg=structure!60}
@@ -343,8 +354,8 @@ class]%
% itemize enumerate
-\setbeamertemplate{itemize item}{$\blacktriangleright$}
-\setbeamertemplate{itemize subitem}{\small$\blacktriangleright$}
+\setbeamertemplate{itemize item}{\faAngleRight}
+\setbeamertemplate{itemize subitem}{\faAngleDoubleRight}
\setbeamertemplate{enumerate item}
{
\hbox{%
@@ -710,9 +721,9 @@ class]%
%
}
-\newcommand\amurmaple@info{\raisebox{-1mm}{\tikz{\node[circle,fill=Amurmaple@info,align=center,text
- width=1em,inner sep = 0.0mm]
- {\rmfamily\itshape\bfseries\color{white} i};}}}
+\newcommand\amurmaple@info{\raisebox{-0.8mm}{
+ \Large\textcolor{Amurmaple@info}{\faInfoCircle}%
+}}%
\NewDocumentEnvironment{information}{o}{%
\tcbset{leftrule=1mm,rightrule=0mm,toprule=0mm, bottomrule=0mm,%