diff options
author | Norbert Preining <norbert@preining.info> | 2023-03-06 03:05:29 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-03-06 03:05:29 +0000 |
commit | 75cd005305bd2c2a0ec383f30ee5b1749ed15183 (patch) | |
tree | 65b5e6b912547ab4610badf5a7f61ce70e5aad02 /macros/latex/contrib/beamer-contrib | |
parent | a2d17a09f7ecd91acd8826216349bb14cc5602cd (diff) |
CTAN sync 202303060305
Diffstat (limited to 'macros/latex/contrib/beamer-contrib')
9 files changed, 55 insertions, 23 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 9c8d32bade..f8408448f7 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/README.md @@ -1,8 +1,8 @@ <!-- -- 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.1.0 +author: Michele Piazzai +contact: michele.piazzai@uc3m.es +license: MIT --> # arguelles @@ -11,12 +11,6 @@ Argüelles is a beamer theme that helps you create beautiful presentations. It a 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. @@ -31,7 +25,15 @@ The files `demo.tex` and `demo.pdf` demonstrate the main features of the theme. ## Installation -Argüelles is [hosted on CTAN](https://ctan.org/pkg/beamertheme-arguelles) and distributed as part of MikTex and TeXLive. It can also be installed manually by cloning this repository in your `$HOME/texmf/tex/latex` folder, which is automatically searched by LaTeX. If you do not have this folder, you can [create one](https://www.ias.edu/math/computing/faq/local-latex-style-files). +Argüelles is hosted on CTAN and distributed as part of MikTex and TeXLive. It can also be installed manually by cloning this repository in your `$HOME/texmf/tex/latex` folder, which is automatically searched by LaTeX. If you do not have this folder, you can [create one](https://www.ias.edu/math/computing/faq/local-latex-style-files). + +## Usage + +By default, the theme uses serif fonts for body text. Loading it with the `sans` option 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 `frameno` option adds frame numbering in the bottom right corner of each frame. By default, frame numbers are hidden on title and plain frames. They can also be suppressed on individual frames by `\begin{frame}[noframenumbering]`. + +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), and [csvsimple](https://www.ctan.org/pkg/csvsimple). In addition, the option loads the [calc](https://tikz.dev/library-calc) library for TikZ, and the [statistics](https://tikz.dev/pgfplots/libs-statistics) and [fillbetween](https://tikz.dev/pgfplots/libs-fillbetween) libraries for PGFplots. ## Customization @@ -88,7 +90,7 @@ Both old-style and lining figures are also available in a monospaced version, wh ## Known issues -Argüelles is built with the intention to reserve as much space as possible for the content of your slides. When using subsections, the progress bar in the headline places dots on multiple lines, which takes space away from your content. The theme does not handle this situation well. You can force the dots to appear on the same line by loading beamer with the `compress` option, as in `demo.tex`: +Argüelles is built with the intention to reserve as much space as possible for the content of your slides. When using subsections, the progress bar in the headline places dots on multiple lines, which takes space away from your content. The theme does not handle this situation well. You can force the dots to appear on the same line by loading beamer with the `compress` option, as in the demo: ```tex \documentclass[compress]{beamer} 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 c47a3f614a..36ffbdad99 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamercolorthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.0.0 +% arguelles v2.1.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemeArguelles}[2022/12/10 Argüelles] +\ProvidesPackage{beamercolorthemeArguelles}[2023/02/02 Argüelles] \mode<presentation> 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 7f65d14dfd..5e637f9ce4 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerfontthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.0.0 +% arguelles v2.1.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemeArguelles}[2022/12/10 Argüelles] +\ProvidesPackage{beamerfontthemeArguelles}[2023/02/02 Argüelles] \mode<presentation> @@ -22,6 +22,7 @@ % frame elements \setbeamerfont{headline section}{series=\AlegreyaSans\scshape} +\setbeamerfont{footline section}{series=\AlegreyaSans\scshape,size=\footnotesize} \setbeamerfont{frame title}{series=\mediumfont,size=\Large} \setbeamerfont{frame subtitle}{series=\mediumfont,size=\large} \setbeamerfont{block title}{series=\mediumfont\itshape} 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 09465ef23b..88ee7563f7 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerinnerthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.0.0 +% arguelles v2.1.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerinnerthemeArguelles}[2022/12/10 Argüelles] +\ProvidesPackage{beamerinnerthemeArguelles}[2023/02/02 Argüelles] \mode<presentation> @@ -29,6 +29,7 @@ {\usebeamerfont{institute}\insertinstitute}\par {\usebeamerfont{email}\insertemail} \end{beamercolorbox} + \addtocounter{framenumber}{-1} } % lists @@ -78,6 +79,7 @@ \booltrue{Arguelles@standout} \begingroup \setbeamertemplate{background}{} + \setbeamercolor*{footline}{fg=structure.bg} \beamer@frametopskip=0pt plus 1fill\relax% \beamer@framebottomskip=0pt plus 1.25fill\relax% \color{structure.bg} @@ -89,5 +91,18 @@ }{} }{}{} +% suppress frame numbering +\providebool{Arguelles@noframenumbering} +\define@key{beamerframe}{noframenumbering}[true]{ + \booltrue{Arguelles@noframenumbering} + \begingroup + \setbeamertemplate{footline}{} +} +\pretocmd{\beamer@reseteecodes}{ + \ifbool{Arguelles@noframenumbering}{ + \endgroup\boolfalse{Arguelles@noframenumbering} + }{} +}{}{} + \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 22f16c50d1..7eee0e9c2f 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerouterthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.0.0 +% arguelles v2.1.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerouterthemeArguelles}[2022/12/10 Argüelles] +\ProvidesPackage{beamerouterthemeArguelles}[2023/02/02 Argüelles] \mode<presentation> 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 71694847ef..af6b9f7854 100644 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty +++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/beamerthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.0.0 +% arguelles v2.1.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemeArguelles}[2022/12/10 Argüelles] +\ProvidesPackage{beamerthemeArguelles}[2023/02/02 Argüelles] \mode<presentation> @@ -31,11 +31,15 @@ \newif\if@optSans \@optSansfalse \DeclareOption{sans}{\@optSanstrue} +\newif\if@optFrameno +\@optFramenofalse +\DeclareOption{frameno}{\@optFramenotrue} \newif\if@optMp \@optMpfalse \DeclareOption{mp}{\@optMptrue} \ProcessOptions +% sans font \if@optSans \usefonttheme[onlymath]{serif} \newcommand\mediumfont{\AlegreyaSansMedium} @@ -44,7 +48,17 @@ \newcommand\mediumfont{\AlegreyaMedium} \fi +% frame numbers +\if@optFrameno +\defbeamertemplate*{footline}{Arguelles}{ + \usebeamerfont{footline section}\hfill\raisebox{.025\paperheight}{ + \insertframenumber\hspace{.01\paperwidth} + } +} +\fi + \if@optMp +% extra packages \RequirePackage[normalem]{ulem} \RequirePackage{booktabs} \RequirePackage{dcolumn} 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 Binary files differdeleted file mode 100644 index cd53a67138..0000000000 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-sans.gif +++ /dev/null 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 Binary files differdeleted file mode 100644 index ac112eccad..0000000000 --- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-arguelles/demo/demo-arguelles-serif.gif +++ /dev/null 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 00459fe223..caa0604b40 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,4 +1,4 @@ -% arguelles v2.0.0 +% arguelles v2.1.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT |