diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-22 20:26:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-22 20:26:13 +0000 |
commit | 52ea853d9f8dd4d242e6a8f1c3a694811b614491 (patch) | |
tree | 22a7cc5af362e85fff8dc882197bb5649750cee5 | |
parent | bf02d30779325efa8d130c5ef28a9cd66ad6f3fb (diff) |
beamertheme-arguelles (22mar23)
git-svn-id: svn://tug.org/texlive/trunk@66645 c570f23f-e606-0410-a88d-b1316a301751
7 files changed, 42 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-arguelles/README.md b/Master/texmf-dist/doc/latex/beamertheme-arguelles/README.md index f8408448f7c..5382e8cdb45 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-arguelles/README.md +++ b/Master/texmf-dist/doc/latex/beamertheme-arguelles/README.md @@ -1,5 +1,5 @@ <!-- -arguelles v2.1.0 +arguelles v2.2.0 author: Michele Piazzai contact: michele.piazzai@uc3m.es license: MIT @@ -33,6 +33,8 @@ By default, the theme uses serif fonts for body text. Loading it with the `sans` 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 `splitnav` option makes the navigation bar in the headline display only the current section and its frames. This could be preferable if your presentation has only a few sections, which do not adequately fill the headline, or if it has a lot of sections and the headline looks too crowded. + 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 diff --git a/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.tex b/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.tex index caa0604b400..7ed3abb8aee 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.tex +++ b/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.tex @@ -1,4 +1,4 @@ -% arguelles v2.1.0 +% arguelles v2.2.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamercolorthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamercolorthemeArguelles.sty index 36ffbdad99f..3f9b3980743 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamercolorthemeArguelles.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamercolorthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.1.0 +% arguelles v2.2.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemeArguelles}[2023/02/02 Argüelles] +\ProvidesPackage{beamercolorthemeArguelles}[2023/03/22 Argüelles] \mode<presentation> diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerfontthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerfontthemeArguelles.sty index 5e637f9ce48..c1b7e742672 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerfontthemeArguelles.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerfontthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.1.0 +% arguelles v2.2.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemeArguelles}[2023/02/02 Argüelles] +\ProvidesPackage{beamerfontthemeArguelles}[2023/03/22 Argüelles] \mode<presentation> diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerinnerthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerinnerthemeArguelles.sty index 88ee7563f70..fb5ffd180ca 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerinnerthemeArguelles.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerinnerthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.1.0 +% arguelles v2.2.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerinnerthemeArguelles}[2023/02/02 Argüelles] +\ProvidesPackage{beamerinnerthemeArguelles}[2023/03/22 Argüelles] \mode<presentation> diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerouterthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerouterthemeArguelles.sty index 7eee0e9c2f2..c1c7350506d 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerouterthemeArguelles.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerouterthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.1.0 +% arguelles v2.2.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerouterthemeArguelles}[2023/02/02 Argüelles] +\ProvidesPackage{beamerouterthemeArguelles}[2023/03/22 Argüelles] \mode<presentation> diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerthemeArguelles.sty index af6b9f7854b..817e780beae 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerthemeArguelles.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerthemeArguelles.sty @@ -1,13 +1,41 @@ -% arguelles v2.1.0 +% arguelles v2.2.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemeArguelles}[2023/02/02 Argüelles] +\ProvidesPackage{beamerthemeArguelles}[2023/03/22 Argüelles] \mode<presentation> +\newif\if@optSans +\@optSansfalse +\DeclareOption{sans}{\@optSanstrue} +\newif\if@optFrameno +\@optFramenofalse +\DeclareOption{frameno}{\@optFramenotrue} +\newif\if@optSplitnav +\@optSplitnavfalse +\DeclareOption{splitnav}{\@optSplitnavtrue} +\newif\if@optMp +\@optMpfalse +\DeclareOption{mp}{\@optMptrue} +\ProcessOptions + +% split navigation +\if@optSplitnav +\useoutertheme[subsection=false]{miniframes} +\setbeamertemplate{mini frame in other section}{} +\RequirePackage{etoolbox} +\let\beamer@section@set@min@width=\relax +\patchcmd{\insertnavigation}{\hskip-1.875ex plus-1fill}{}{}{} +\patchcmd{\sectionentry}{\hskip1.875ex plus 1fill}{}{}{} +\patchcmd{\sectionentry}{\hyperlink{Navigation#3}{{\usebeamertemplate{section in head/foot shaded}}}}{}{}{} +\patchcmd{\slideentry}{\usebeamertemplate{mini frame in other subsection}}{\usebeamertemplate{mini frame in other subsection of current section}}{}{} +\patchcmd{\slideentry}{\usebeamertemplate{mini frame in other subsection}}{\usebeamertemplate{mini frame in other section}}{}{} +\patchcmd{\slideentry}{\usebeamertemplate{mini frame in other subsection of current section}}{\usebeamertemplate{mini frame in other subsection}}{}{} +\fi + % dependencies \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} @@ -28,17 +56,6 @@ \usecolortheme{Arguelles} \usefonttheme{Arguelles} -\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} |