diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-26 19:52:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-26 19:52:08 +0000 |
commit | e4628ab632beb3f01a73ae6063419305af52e565 (patch) | |
tree | e78e942a5abdd38e8cd0a55a31f82a4c364d650b /Master/texmf-dist | |
parent | d2516058ab0e14dee6334da5ab06e07a33f59407 (diff) |
beamertheme-arguelles (26oct23)
git-svn-id: svn://tug.org/texlive/trunk@68659 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
9 files changed, 55 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-arguelles/README.md b/Master/texmf-dist/doc/latex/beamertheme-arguelles/README.md index 5382e8cdb45..b6252542411 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.2.0 +arguelles v2.3.0 author: Michele Piazzai contact: michele.piazzai@uc3m.es license: MIT @@ -9,19 +9,13 @@ license: MIT 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 [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). +The theme requires the packages [alegreya](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 [pgf](https://ctan.org/pkg/pgf) to be installed on your computer. These are included in common LaTeX distributions, such as MiKTeX and TeXLive. ## Demo -The files `demo.tex` and `demo.pdf` demonstrate the main features of the theme. +The files `demo-arguelles.tex` and `demo-arguelles.pdf` demonstrate the main features of the theme. -### 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) +![](https://github.com/piazzai/arguelles/blob/master/demo/demo-arguelles.gif) ## Installation @@ -29,13 +23,13 @@ Argüelles is hosted on CTAN and distributed as part of MikTex and TeXLive. It c ## 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. +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. 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. +The `mp` option loads additional dependencies that could be useful for 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 [groupplots](https://tikz.dev/pgfplots/libs-groupplots), [fillbetween](https://tikz.dev/pgfplots/libs-fillbetween), and [statistics](https://tikz.dev/pgfplots/libs-statistics) libraries for PGFplots. ## Customization diff --git a/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.pdf b/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.pdf Binary files differindex 85ee5857942..3475fb88786 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.pdf +++ b/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.pdf diff --git a/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.png b/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.png Binary files differnew file mode 100644 index 00000000000..6246f9b2cb3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-arguelles/demo/demo-arguelles.png 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 7ed3abb8aee..2718de1572d 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.2.0 +% arguelles v2.3.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT @@ -13,7 +13,9 @@ \date{} \author{Place Holder} \institute{University of \TeX} -\email{username@domain.com} +\email{name@domain.com} +\homepage{www.mywebsite.com} +\github{username} \begin{document} @@ -62,6 +64,13 @@ \end{theorem} \end{frame} +\begin{frame}[bg=demo-arguelles.png] + \frametitle{A frame with background image} + You can still add title and subtitle. \par + You can also use a background in the title slide by setting: \\ + \texttt{\textbackslash frame[plain,bg=demo-background.jpg]\{\textbackslash titlepage\}} +\end{frame} + \begin{frame}[plain] \frametitle{A plain frame has no headline} \begin{table} diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamercolorthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamercolorthemeArguelles.sty index 3f9b3980743..a741c8d8a38 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.2.0 +% arguelles v2.3.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthemeArguelles}[2023/03/22 Argüelles] +\ProvidesPackage{beamercolorthemeArguelles}[2023/10/26 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 c1b7e742672..aa2455b5911 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.2.0 +% arguelles v2.3.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthemeArguelles}[2023/03/22 Argüelles] +\ProvidesPackage{beamerfontthemeArguelles}[2023/10/26 Argüelles] \mode<presentation> @@ -19,6 +19,8 @@ \setbeamerfont{author}{series=\bfseries,size=\large} \setbeamerfont{institute}{size=\small} \setbeamerfont{email}{size=\small} +\setbeamerfont{homepage}{size=\small} +\setbeamerfont{github}{size=\small} % frame elements \setbeamerfont{headline section}{series=\AlegreyaSans\scshape} diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerinnerthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerinnerthemeArguelles.sty index fb5ffd180ca..36b0b8c4f1d 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.2.0 +% arguelles v2.3.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerinnerthemeArguelles}[2023/03/22 Argüelles] +\ProvidesPackage{beamerinnerthemeArguelles}[2023/10/26 Argüelles] \mode<presentation> @@ -17,6 +17,14 @@ \newcommand{\email}[1]{ \def\insertemail{\href{mailto:#1}{\raisebox{-.1em}{\faIcon{envelope}}\hspace{.3em}#1}} } +\def\inserthomepage{} +\newcommand{\homepage}[1]{ + \def\inserthomepage{\href{https://#1}{\raisebox{-.1em}{\hspace{.025em}\faIcon{globe}}\hspace{.325em}#1}} +} +\def\insertgithub{} +\newcommand{\github}[1]{ + \def\insertgithub{\href{https://github.com/#1}{\raisebox{-.1em}{\hspace{.025em}\faIcon{github}}\hspace{.325em}github.com/#1}} +} % title page \defbeamertemplate*{title page}{Arguelles}{ @@ -27,7 +35,9 @@ {\usebeamerfont{date}\insertdate}\par\bigskip {\usebeamerfont{author}\insertauthor}\par\smallskip {\usebeamerfont{institute}\insertinstitute}\par - {\usebeamerfont{email}\insertemail} + {\usebeamerfont{email}\insertemail}\par + {\usebeamerfont{homepage}\inserthomepage}\par + {\usebeamerfont{github}\insertgithub} \end{beamercolorbox} \addtocounter{framenumber}{-1} } @@ -73,6 +83,16 @@ \fi } +% background image +\define@key{beamerframe}{bg}{ + \setbeamertemplate{background}{ + \begin{tikzpicture} + \useasboundingbox (0,0) rectangle (\paperwidth,\paperheight); + \path[fill overzoom image=#1] (0,.01\paperheight) rectangle (\paperwidth,.99\paperheight); + \end{tikzpicture} + } +} + % standout frame \providebool{Arguelles@standout} \define@key{beamerframe}{standout}[true]{ diff --git a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerouterthemeArguelles.sty b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerouterthemeArguelles.sty index c1c7350506d..051c8cb6a21 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.2.0 +% arguelles v2.3.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerouterthemeArguelles}[2023/03/22 Argüelles] +\ProvidesPackage{beamerouterthemeArguelles}[2023/10/26 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 817e780beae..24e5cf85bc7 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerthemeArguelles.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-arguelles/beamerthemeArguelles.sty @@ -1,10 +1,10 @@ -% arguelles v2.2.0 +% arguelles v2.3.0 % author: Michele Piazzai % contact: michele.piazzai@uc3m.es % license: MIT \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemeArguelles}[2023/03/22 Argüelles] +\ProvidesPackage{beamerthemeArguelles}[2023/10/26 Argüelles] \mode<presentation> @@ -49,6 +49,10 @@ \RequirePackage{enumitem} \RequirePackage{parskip} \RequirePackage{tikz} +\RequirePackage[skins]{tcolorbox} + +% tikz options +\usetikzlibrary{calc} % components \useinnertheme{Arguelles} @@ -84,13 +88,9 @@ \RequirePackage{cancel} \RequirePackage{pgfplots} \RequirePackage{csvsimple} - -% tikz options -\usetikzlibrary{calc} - % pgfplots options \pgfplotsset{compat=1.18} -\usepgfplotslibrary{statistics,fillbetween} +\usepgfplotslibrary{fillbetween,groupplots,statistics} \fi \AtBeginEnvironment{proof}{\let\@addpunct\@gobble} |