summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-11 03:01:17 +0000
committerNorbert Preining <norbert@preining.info>2022-12-11 03:01:17 +0000
commit6e749f2b4d0cbb91f8d2c872981d7ebba3a0fb52 (patch)
treee3b57f2d4f741f6919b9761eecd8a60f4edd19e7 /macros/latex/contrib/beamer-contrib
parent6e1509aea8d6baf0753bf9bedbb4633a4808d0c3 (diff)
CTAN sync 202212110301
Diffstat (limited to 'macros/latex/contrib/beamer-contrib')
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md42
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/VERSION1
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty26
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty31
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty83
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty18
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty71
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-sans.gifbin0 -> 203366 bytes
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-serif.gifbin0 -> 215467 bytes
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.gifbin230964 -> 0 bytes
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.pdfbin632409 -> 657335 bytes
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.tex145
12 files changed, 256 insertions, 161 deletions
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md
index 01fd355c75..9c8d32bade 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md
@@ -9,13 +9,25 @@
Argüelles is a beamer theme that helps you create beautiful presentations. It aims for simplicity and readability by following best practices of graphic design. The layout is elegant but subtle, so as to keep the audience's attention on your content. This is brought to life by Alegreya, one of the 53 Fonts of the Decade selected by the Association Typographique Internationale (2011).
-The theme requires the packages [tikz](https://ctan.org/pkg/pgf), [microtype](https://ctan.org/pkg/microtype), [Alegreya](https://ctan.org/pkg/alegreya), [euler](https://ctan.org/pkg/euler), and [fontawesome5](https://ctan.org/pkg/fontawesome5) to be installed on your computer. These are included in common LaTeX distributions, such as [MiKTeX](https://ctan.org/pkg/miktex) and [TeXLive](https://ctan.org/pkg/texlive).
+The theme requires the packages [Alegreya/AlegreyaSans](https://ctan.org/pkg/alegreya), [eulervm](https://ctan.org/pkg/eulervm), [mathalpha](https://www.ctan.org/pkg/mathalpha), [microtype](https://ctan.org/pkg/microtype), [fontawesome5](https://ctan.org/pkg/fontawesome5), [opencolor](https://www.ctan.org/pkg/opencolor), [enumitem](https://www.ctan.org/pkg/enumitem), [parskip](https://www.ctan.org/pkg/parskip), and [tikz/pgf](https://ctan.org/pkg/pgf) to be installed on your computer. These are included in common LaTeX distributions, such as [MiKTeX](https://ctan.org/pkg/miktex) and [TeXLive](https://ctan.org/pkg/texlive).
+
+### Options
+
+By default, the theme uses serif fonts for body text. Loading it with the `sans` options makes sans-serif fonts default, keeping serif only for math type. Because sans-serif font is more space-efficient, this could be useful for slides that contain more text and bullet points. See the two animations below for comparison.
+
+The `mp` option loads additional dependencies that could be useful for designing scientific presentations. These currently include [ulem](https://ctan.org/pkg/ulem), [booktabs](https://ctan.org/pkg/booktabs), [dcolumn](https://ctan.org/pkg/dcolumn), [makecell](https://ctan.org/pkg/makecell), [colortbl](https://www.ctan.org/pkg/colortbl), [cancel](https://www.ctan.org/pkg/cancel), [pgfplots](https://www.ctan.org/pkg/pgfplots) (with `compat=1.18`), and [csvsimple](https://www.ctan.org/pkg/csvsimple). In addition, the option loads the `calc` library for TikZ and the `statistics` and `fillbetween` libraries for PGFPlots.
## Demo
The files `demo.tex` and `demo.pdf` demonstrate the main features of the theme.
-![](https://github.com/piazzai/arguelles/blob/master/demo/demo-arguelles.gif)
+### Serif
+
+![](https://github.com/piazzai/arguelles/blob/master/demo/demo-arguelles-serif.gif)
+
+### Sans-serif
+
+![](https://github.com/piazzai/arguelles/blob/master/demo/demo-arguelles-sans.gif)
## Installation
@@ -33,43 +45,35 @@ It is possible to change parts of the theme by altering the style files. There a
### Colors
-Suppose you want to change the color scheme. By default, the background consists of an off-white ([cultured](https://encycolorpedia.com/f5f5f5)) rectangle over an ink-colored ([sumi](https://encycolorpedia.com/27221f)) canvas. The color of alerted text is set to a bright red called [corsa](https://encycolorpedia.com/d40000). These color definitions are included in `beamertheme*.sty`.
-
-```tex
-\definecolor{cultured}{HTML}{f5f5f5}
-\definecolor{sumi}{HTML}{27221f}
-\definecolor{corsa}{HTML}{d40000}
-\definecolor{fern}{HTML}{4f7942}
-\definecolor{cobalt}{HTML}{0047ab}
-```
+The theme ships with the `opencolor` package, which provides color definitions for the [Open Color](https://yeun.github.io/open-color/) library. By default, the background is set to `oc-gray-0`. The foreground and body text are set to `oc-gray-9`. The color of accented text is `oc-red-9`.
-There are also two more colors, [fern](https://encycolorpedia.com/4f7942) and [cobalt](https://encycolorpedia.com/0047ab), which are currently unused in the design. If you wanted one of these to be the color of alerted text, then you would open `beamercolortheme*.sty` and look for:
+These settings are provided in `beamercolortheme*.sty` and can be customized using any default or opencolor name. For example:
```tex
-\setbeamercolor*{alerted text}{fg=corsa}
+\setbeamercolor*{structure}{bg=oc-blue-0,fg=black!80}
```
-Change `corsa` to some other color and you are set. Similar changes can be made to tweak the color of normal text, the background, or any other element of the layout. Of course, you can also define your own colors.
+See the opencolor documentation for additional details.
### Font weights
-It is possible to change font styles and weights. Alegreya is a comprehensive family and comes with a variety of weights, as does its sister family Alegreya Sans. In addition to the usual bold set by `\bfseries`, Alegreya comes in medium, extra bold, and black. Alegreya Sans further comes in light and thin. These weights are set by commands like `\AlegreyaExtraBold` or `\AlegreyaSansThin` (see the [Alegreya README](https://mirrors.dotsrc.org/ctan/fonts/alegreya/README) for more details), and can be combined with `\scshape` or `\itshape` to produce a variety of effects.
+Alegreya is a comprehensive family and comes with a variety of weights, as does its sister family Alegreya Sans. In addition to the usual bold provided by `\bfseries`, Alegreya comes in medium, extra bold, and black. Alegreya Sans further comes in light and thin. These weights are set by commands like `\AlegreyaExtraBold` or `\AlegreyaSansThin`, as explained in the Alegreya documentation, and can be combined with `\scshape` or `\itshape` to produce a variety of effects.
-The file `beamerfonttheme*.sty` sets the type for various elements of the layout. For example, the appearance of frame titles is determined by the following command:
+The file `beamerfonttheme*.sty` sets the type for various elements of the layout. For example, the appearance of frame titles is determined by the command:
```tex
\setbeamerfont{frame title}{size=\Large}
```
-If you wanted to give frame titles a little bit more weight, you could write `{series=\AlegreyaMedium,size=\Large}`. If you wanted to make them slightly larger, you could change `\Large` to `\LARGE`.
+If you wanted to give frame titles a little bit more weight, you could write `series=\AlegreyaMedium` and `size=\Large`. If you wanted to make them slightly larger, you could write `size=\LARGE`.
-By default, the theme uses serif type for most text and reserves sans-serif type for the presentation title, formatted in black weight, and URLs. It is possible to alter this behavior by modifying `beamerfonttheme*.sty`. For example, the appearance of the presentation title is determined by:
+By default, the theme uses serif type for body text and reserves sans-serif type for the presentation title, formatted in black weight. It is possible to modify this behavior by rewriting parts of `beamerfonttheme*.sty`. For example, the appearance of the presentation title is determined by:
```tex
\setbeamerfont{title}{series=\AlegreyaSansBlack,size=\LARGE}
```
-Changing `\AlegreyaSansBlack` to `\AlegreyaBlack` in this command makes the title serif like any other text. Deleting `\usefonttheme{serif}` near the top of the style file makes sans-serif type the new default for all text. Changing `\urlstyle{sf}` to `\urlstyle{same}` makes URLs appear like normal text, and deleting the line altogether resets them to true type.
+Changing `\AlegreyaSansBlack` to `\AlegreyaBlack` in this line sets the title to serif, keeping the same weight. Deleting `\usefonttheme{serif}` near the top of the file makes sans-serif type the new default for all text. Changing `\urlstyle{same}` to `\urlstyle{sf}` makes URLs sans-serif, and deleting the line altogether resets them to true type.
### Figures
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/VERSION b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/VERSION
deleted file mode 100644
index 52669afa94..0000000000
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-v1.2.2 2022-06-22
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty
index 7cb4cd531a..c47a3f614a 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty
@@ -1,16 +1,20 @@
-% Argüelles v1.2.2
-% Copyright (c) 2020 Michele Piazzai. Contact: michele.piazzai@uc3m.es
-% This work is released under the MIT License and is free to use, copy, modify,
-% merge, publish, distribute, sublicense, and/or sell. See LICENSE for details.
+% arguelles v2.0.0
+% author: Michele Piazzai
+% contact: michele.piazzai@uc3m.es
+% license: MIT
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamercolorthemeArguelles}[2022/12/10 Argüelles]
\mode<presentation>
-% Settings
-\setbeamercolor*{background canvas}{bg=sumi}
-\setbeamercolor*{structure}{bg=cultured,fg=sumi}
-\setbeamercolor*{section in head/foot}{bg=sumi,fg=cultured}
-\setbeamercolor*{normal text}{fg=sumi}
-\setbeamercolor*{inverted text}{fg=cultured}
-\setbeamercolor*{alerted text}{fg=corsa}
+% color scheme
+\setbeamercolor*{structure}{bg=oc-gray-0,fg=oc-gray-9}
+\setbeamercolor*{background canvas}{bg=structure.fg}
+\setbeamercolor*{section in head/foot}{bg=structure.fg,fg=structure.bg}
+\setbeamercolor*{normal text}{fg=oc-gray-8}
+\setbeamercolor*{inverted text}{fg=oc-gray-0}
+\setbeamercolor*{alerted text}{fg=oc-red-9}
\mode<all>
+\endinput
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty
index 57ea2fcd98..7f65d14dfd 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty
@@ -1,21 +1,30 @@
-% Argüelles v1.2.2
-% Copyright (c) 2020 Michele Piazzai. Contact: michele.piazzai@uc3m.es
-% This work is released under the MIT License and is free to use, copy, modify,
-% merge, publish, distribute, sublicense, and/or sell. See LICENSE for details.
+% arguelles v2.0.0
+% author: Michele Piazzai
+% contact: michele.piazzai@uc3m.es
+% license: MIT
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamerfontthemeArguelles}[2022/12/10 Argüelles]
\mode<presentation>
-\usefonttheme{serif}
-\urlstyle{sf}
+% set url style
+\urlstyle{same}
-% Settings
+% title page elements
\setbeamerfont{title}{series=\AlegreyaSansBlack,size=\LARGE}
-\setbeamerfont{subtitle}{series=\Alegreya\bfseries,size=\Large}
+\setbeamerfont{subtitle}{series=\AlegreyaSansMedium,size=\Large}
+\setbeamerfont{event}{series=\itshape}
\setbeamerfont{date}{series=\itshape}
\setbeamerfont{author}{series=\bfseries,size=\large}
\setbeamerfont{institute}{size=\small}
-\setbeamerfont{headline section}{series=\scshape}
-\setbeamerfont{frame title}{size=\Large}
-\setbeamerfont{frame subtitle}{size=\large}
+\setbeamerfont{email}{size=\small}
+
+% frame elements
+\setbeamerfont{headline section}{series=\AlegreyaSans\scshape}
+\setbeamerfont{frame title}{series=\mediumfont,size=\Large}
+\setbeamerfont{frame subtitle}{series=\mediumfont,size=\large}
+\setbeamerfont{block title}{series=\mediumfont\itshape}
\mode<all>
+\endinput
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty
index 7ea5be490c..09465ef23b 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty
@@ -1,40 +1,78 @@
-% Argüelles v1.2.2
-% Copyright (c) 2020 Michele Piazzai. Contact: michele.piazzai@uc3m.es
-% This work is released under the MIT License and is free to use, copy, modify,
-% merge, publish, distribute, sublicense, and/or sell. See LICENSE for details.
+% arguelles v2.0.0
+% author: Michele Piazzai
+% contact: michele.piazzai@uc3m.es
+% license: MIT
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamerinnerthemeArguelles}[2022/12/10 Argüelles]
\mode<presentation>
-% Settings
-\setbeamertemplate{itemize item}{$\bullet$}
-\setbeamertemplate{itemize subitem}{$\circ$}
-\setbeamertemplate{itemize subsubitem}{\textbullet}
+% additional title page fields
+\def\insertevent{}
+\newcommand{\event}[1]{
+ \def\insertevent{#1}
+}
+\def\insertemail{}
+\newcommand{\email}[1]{
+ \def\insertemail{\href{mailto:#1}{\raisebox{-.1em}{\faIcon{envelope}}\hspace{.3em}#1}}
+}
+
+% title page
+\defbeamertemplate*{title page}{Arguelles}{
+ \vfill\begin{beamercolorbox}{inverted text}
+ {\usebeamerfont{title}\inserttitle}\par
+ {\usebeamerfont{subtitle}\insertsubtitle}\par\bigskip
+ {\usebeamerfont{event}\insertevent}\par
+ {\usebeamerfont{date}\insertdate}\par\bigskip
+ {\usebeamerfont{author}\insertauthor}\par\smallskip
+ {\usebeamerfont{institute}\insertinstitute}\par
+ {\usebeamerfont{email}\insertemail}
+ \end{beamercolorbox}
+}
+
+% lists
+\setlist{nosep,leftmargin=*}
+\setlist[1]{labelindent=\parindent,itemsep=.5em}
+\setlist[2]{before=\small}
+\setlist[itemize,1]{label=$\bullet$}
+\setlist[itemize,2]{label=$\circ$}
+\setlist[itemize,3]{label=$\cdot$}
+\setlist[enumerate,1]{label=\arabic*.}
+\setlist[enumerate,2]{label=\theenumi\arabic*.}
+\setlist[enumerate,3]{label=\theenumii\arabic*.}
+\setlist[description]{font=\normalfont\itshape,style=multiline}
+
+% blocks
\setbeamertemplate{blocks}[rounded]
-% Background
+% background
\BeforeBeginEnvironment{frame}{
\setbeamertemplate{background}{
\begin{tikzpicture}
- \useasboundingbox (0,0) rectangle (\the\paperwidth,\the\paperheight);
+ \useasboundingbox (0,0) rectangle (\paperwidth,\paperheight);
\ifnum\thepage>1\relax
- \fill[cultured] (0,.2em) rectangle (\the\paperwidth,\the\paperheight-.2em);
+ \fill[structure.bg] (0,.01\paperheight) rectangle (\paperwidth,.99\paperheight);
\fi
\end{tikzpicture}
}
}
-% Title page
-\defbeamertemplate*{title page}{Arguelles}{
- \vfill\begin{beamercolorbox}{inverted text}
- {\usebeamerfont{title}\inserttitle}\par
- {\usebeamerfont{subtitle}\insertsubtitle}\par\bigskip
- {\usebeamerfont{date}\insertdate}\par\bigskip
- {\usebeamerfont{author}\insertauthor}\par\smallskip
- {\usebeamerfont{institute}\insertinstitute}
- \end{beamercolorbox}
+% fullscreen image
+\newcommand{\fillpicture}[1]{
+ \centering
+ \ifbeamer@plainframe
+ \tikz[remember picture,overlay] \node[inner sep=0pt] at (current page.center) {
+ \includegraphics[width=\paperwidth,height=.98\paperheight]{#1}
+ };
+ \else
+ \tikz[remember picture,overlay] \node[inner sep=0pt] at ($(current page.north)-(0,.526\paperheight)$) {
+ \includegraphics[width=\paperwidth,height=.929\paperheight]{#1}
+ };
+ \fi
}
-% Standout frame
+% standout frame
\providebool{Arguelles@standout}
\define@key{beamerframe}{standout}[true]{
\booltrue{Arguelles@standout}
@@ -43,7 +81,7 @@
\beamer@frametopskip=0pt plus 1fill\relax%
\beamer@framebottomskip=0pt plus 1.25fill\relax%
\color{structure.bg}
- \large\centering
+ \large
}
\pretocmd{\beamer@reseteecodes}{
\ifbool{Arguelles@standout}{
@@ -52,3 +90,4 @@
}{}{}
\mode<all>
+\endinput
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty
index 8d1ce4915a..22f16c50d1 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty
@@ -1,21 +1,24 @@
-% Argüelles v1.2.2
-% Copyright (c) 2020 Michele Piazzai. Contact: michele.piazzai@uc3m.es
-% This work is released under the MIT License and is free to use, copy, modify,
-% merge, publish, distribute, sublicense, and/or sell. See LICENSE for details.
+% arguelles v2.0.0
+% author: Michele Piazzai
+% contact: michele.piazzai@uc3m.es
+% license: MIT
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamerouterthemeArguelles}[2022/12/10 Argüelles]
\mode<presentation>
-% Settings
+% remove navigation symbols
\setbeamertemplate{navigation symbols}{}
-% Headline navigation
+% headline navigation
\defbeamertemplate*{headline}{Arguelles}{
\begin{beamercolorbox}[ht=1.2em,dp=1.6em]{section in head/foot}
{\usebeamerfont{headline section}\insertnavigation{\paperwidth}}
\end{beamercolorbox}
}
-% Frame title
+% frame title
\defbeamertemplate*{frametitle}{Arguelles}{
\begin{beamercolorbox}[wd=.95\paperwidth]{normal text}
{\usebeamerfont{frame title}\insertframetitle}\hfill
@@ -24,3 +27,4 @@
}
\mode<all>
+\endinput
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty
index 9774b62c8c..71694847ef 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty
@@ -1,37 +1,72 @@
-% Argüelles v1.2.2
-% Copyright (c) 2020 Michele Piazzai. Contact: michele.piazzai@uc3m.es
-% This work is released under the MIT License and is free to use, copy, modify,
-% merge, publish, distribute, sublicense, and/or sell. See LICENSE for details.
+% arguelles v2.0.0
+% author: Michele Piazzai
+% contact: michele.piazzai@uc3m.es
+% license: MIT
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamerthemeArguelles}[2022/12/10 Argüelles]
\mode<presentation>
-% Requirements
+% dependencies
+\RequirePackage[utf8]{inputenc}
+\RequirePackage[T1]{fontenc}
\RequirePackage[osf]{Alegreya}
\RequirePackage[osf]{AlegreyaSans}
-\RequirePackage{euler}
-\RequirePackage{microtype}
+\RequirePackage[euler-hat-accent]{eulervm}
+\RequirePackage[bb=px]{mathalpha}
+\RequirePackage[nopatch=footnote]{microtype}
\RequirePackage{fontawesome5}
+\RequirePackage{opencolor}
+\RequirePackage{enumitem}
+\RequirePackage{parskip}
\RequirePackage{tikz}
-% Settings
+% components
\useinnertheme{Arguelles}
\useoutertheme{Arguelles}
\usecolortheme{Arguelles}
\usefonttheme{Arguelles}
-% TikZ
+\newif\if@optSans
+\@optSansfalse
+\DeclareOption{sans}{\@optSanstrue}
+\newif\if@optMp
+\@optMpfalse
+\DeclareOption{mp}{\@optMptrue}
+\ProcessOptions
+
+\if@optSans
+\usefonttheme[onlymath]{serif}
+\newcommand\mediumfont{\AlegreyaSansMedium}
+\else
+\usefonttheme{serif}
+\newcommand\mediumfont{\AlegreyaMedium}
+\fi
+
+\if@optMp
+\RequirePackage[normalem]{ulem}
+\RequirePackage{booktabs}
+\RequirePackage{dcolumn}
+\RequirePackage{makecell}
+\RequirePackage{colortbl}
+\RequirePackage{cancel}
+\RequirePackage{pgfplots}
+\RequirePackage{csvsimple}
+
+% tikz options
\usetikzlibrary{calc}
-\definecolor{cultured}{HTML}{f5f5f5}
-\definecolor{sumi}{HTML}{27221f}
-\definecolor{corsa}{HTML}{d40000}
-\definecolor{fern}{HTML}{4f7942}
-\definecolor{cobalt}{HTML}{0047ab}
+% pgfplots options
+\pgfplotsset{compat=1.18}
+\usepgfplotslibrary{statistics,fillbetween}
+\fi
\AtBeginEnvironment{proof}{\let\@addpunct\@gobble}
-\newcommand\email[1]{\href{mailto:#1}{\faEnvelope\hspace{.3em}\sffamily #1}}
-\newcommand\Section[1]{\section{\lowercase{#1}}}
-\renewcommand{\appendixname}{}
-\newcommand\ThankYou{\appendix}
+
+\newcommand\Section[1]{\section{\texorpdfstring{\lowercase{#1}}{#1}}}
+\newcommand\End{\appendix}
+\renewcommand{\appendixname}{End}
\mode<all>
+\endinput
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-sans.gif b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-sans.gif
new file mode 100644
index 0000000000..cd53a67138
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-sans.gif
Binary files differ
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-serif.gif b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-serif.gif
new file mode 100644
index 0000000000..ac112eccad
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-serif.gif
Binary files differ
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.gif b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.gif
deleted file mode 100644
index a80fc74e45..0000000000
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.gif
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.pdf b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.pdf
index 8e75f2e2d9..85ee585794 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.pdf
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.pdf
Binary files differ
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.tex b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.tex
index 3c60d44700..00459fe223 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.tex
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles.tex
@@ -1,19 +1,19 @@
-% Argüelles v1.2.2
-% Copyright (c) 2020 Michele Piazzai. Contact: michele.piazzai@uc3m.es
-% This work is released under the MIT License and is free to use, copy, modify,
-% merge, publish, distribute, sublicense, and/or sell. See LICENSE for details.
+% arguelles v2.0.0
+% author: Michele Piazzai
+% contact: michele.piazzai@uc3m.es
+% license: MIT
-\documentclass[compress]{beamer}
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
+\documentclass[compress,12pt]{beamer}
\usetheme{Arguelles}
\title{Argüelles}
\subtitle{Simple, typographic beamer theme}
+\event{}
\date{}
\author{Place Holder}
-\institute{University of \TeX \par \email{username@domain.com}}
+\institute{University of \TeX}
+\email{username@domain.com}
\begin{document}
@@ -22,82 +22,83 @@
\Section{Demo}
\begin{frame}
- \frametitle{A frame with title and subtitle}
- \framesubtitle{The subtitle goes here}
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\par
- \vfill
- Ordered list:
- \begin{enumerate}
- \item First item
- \item Second item
- \item Third item
- \end{enumerate}
- \vfill
- Unordered list:
- \begin{itemize}
- \item First level
- \begin{itemize}
- \item Second level
- \begin{itemize}
- \item Third level
- \end{itemize}
- \end{itemize}
- \end{itemize}
+ \frametitle{A frame with title and subtitle}
+ \framesubtitle{Subtitle here}
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua \par
+ Itemized list:
+ \begin{itemize}
+ \item Lorem ipsum
+ \item Dolor sit amet
+ \begin{itemize}
+ \item Consectetur
+ \item Adipiscing elit
+ \end{itemize}
+ \item Sed do eiusmod
+ \begin{itemize}
+ \item Tempor incididunt
+ \begin{itemize}
+ \item Ut labore et dolore
+ \item Magna aliqua
+ \end{itemize}
+ \end{itemize}
+ \end{itemize}
\end{frame}
\begin{frame}
- \frametitle{A frame with title only}
- \begin{theorem}
- \[e^{i\pi}+1=0\]
- \begin{proof}
- \begin{equation*}
- e^{iz}=\cos{z}+i\sin{z}
- \end{equation*}
- \center{therefore}
- \begin{align*}
- e^{i\pi}+1 & \null=\cos\pi+i\sin\pi+1 \\
- & \null=-1+i\times0+1 \\
- & \null=0
- \end{align*}
- \end{proof}
- \end{theorem}
+ \frametitle{A frame with title only}
+ \begin{theorem}
+ \[e^{i\pi}+1=0\]
+ \begin{proof}
+ \begin{equation*}
+ e^{iz}=\cos{z}+i\sin{z}
+ \end{equation*}
+ \center{therefore}
+ \begin{align*}
+ e^{i\pi}+1 & \null=\cos\pi+i\sin\pi+1 \\
+ & \null=-1+i\times0+1 \\
+ & \null=0
+ \end{align*}
+ \end{proof}
+ \end{theorem}
\end{frame}
\begin{frame}[plain]
- \frametitle{A plain frame has no headline}
- \begin{table}
- \small
- \begin{tabular}{rl}
- \ttfamily\textbackslash Alegreya & \Alegreya Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaExtraBold & \AlegreyaExtraBold Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaBlack & \AlegreyaBlack Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaMedium & \AlegreyaMedium Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaSans & \AlegreyaSans Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaSansThin & \AlegreyaSansThin Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaSansLight & \AlegreyaSansLight Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaSansMedium & \AlegreyaSansMedium Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaSansExtraBold & \AlegreyaSansExtraBold Lorem ipsum dolor sit amet \\
- \ttfamily\textbackslash AlegreyaSansBlack & \AlegreyaSansBlack Lorem ipsum dolor sit amet
- \end{tabular}
- \end{table}
- \vfill
- \begin{alert}{Alert!}
- A \textit{plain} frame does not show the progress bar but it still appears in the progress bar of other frames unless it is placed after \texttt{\textbackslash ThankYou}.
- \end{alert}
+ \frametitle{A plain frame has no headline}
+ \begin{table}
+ \small
+ \begin{tabular}{rl}
+ \ttfamily\textbackslash Alegreya & \Alegreya Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaMedium & \AlegreyaMedium Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaExtraBold & \AlegreyaExtraBold Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaBlack & \AlegreyaBlack Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaSansThin & \AlegreyaSansThin Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaSansLight & \AlegreyaSansLight Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaSans & \AlegreyaSans Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaSansMedium & \AlegreyaSansMedium Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaSansExtraBold & \AlegreyaSansExtraBold Lorem ipsum dolor sit amet \\
+ \ttfamily\textbackslash AlegreyaSansBlack & \AlegreyaSansBlack Lorem ipsum dolor sit amet
+ \end{tabular}
+ \end{table}
+ \vfill
+ \begin{alert}{Alert!}
+ A \textit{plain} frame does not show the progress bar but still appears in it unless the frame comes after \texttt{\textbackslash End}
+ \end{alert}
\end{frame}
\begin{frame}[standout]
- \Large
- A \textbf{\itshape\scshape standout} frame can be used to focus attention
+ \centering\large
+ A \textbf{\itshape\scshape standout} frame can be used to focus attention
\end{frame}
-\ThankYou
+\End
\begin{frame}[plain,standout]
- In combination with \textit{plain},\par
- it makes a nice thank-you slide!
- \vfill\scalebox{4}{\faGithub}\par\bigskip
- \url{https://github.com/piazzai/arguelles} \\
- \url{https://ctan.org/pkg/beamertheme-arguelles}
+ \centering
+ In combination with \textit{plain}, \\
+ it makes a nice thank-you slide!
+ \vfill
+ \scalebox{4}{\faGithub} \par\bigskip
+ \url{https://github.com/piazzai/arguelles} \\
+ \url{https://ctan.org/pkg/beamertheme-arguelles}
\end{frame}
\end{document}