diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
4 files changed, 464 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamerauxtheme/beamerinnerthemesimplelines.sty b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerinnerthemesimplelines.sty new file mode 100644 index 00000000000..0a8bc6551bb --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerinnerthemesimplelines.sty @@ -0,0 +1,101 @@ +%% beamerinnerthemesimplelines.sty +%% Copyright 2018-2019 Louis Stuart +% +% 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 +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Louis Stuart. + +\ProvidesPackage{beamerinnerthemesimplelines}[2019-05-07 v1.01 Beamer supplementary inner themes] + +\mode<presentation> + +\defbeamertemplate*{title page}{simplelines}{% + \vbox{}\vfill + {\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par} + \vskip1ex + {\usebeamercolor[fg]{title}\hrule height .4pt} + \vskip1ex + \ifx\insertsubtitle\@empty\else + {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par\vskip1ex} + \fi + \vfill + {\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor\par\vskip1ex} + {\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute\par\vskip1ex} + {\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate\par} + \vfill +} + +\defbeamertemplate*{part page}{simplelines}{% + {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\strut \partname\ \insertpartnumber\par} + \vskip1ex + {\usebeamercolor[fg]{part title}\hrule height .4pt} + \vskip1ex + {\usebeamerfont{part title}\usebeamercolor[fg]{part title}\strut\insertpart\par} +} + +\defbeamertemplate*{section page}{simplelines}{% + {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\strut \sectionname\ \insertsectionnumber\par} + \vskip1ex + {\usebeamercolor[fg]{section title}\hrule height .4pt} + \vskip1ex + {\usebeamerfont{section title}\usebeamercolor[fg]{section title}\strut\insertsection\par} +} + +\defbeamertemplate*{subsection page}{simplelines}{% + {\usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\strut \subsectionname\ \insertsubsectionnumber\par} + \vskip1ex + {\usebeamercolor[fg]{subsection title}\hrule height .4pt} + \vskip1ex + {\usebeamerfont{subsection title}\usebeamercolor[fg]{subsection title}\strut\insertsubsection\par} +} + +\setbeamercolor{block body dimmed}{parent=block body,use=structure,bg=structure.fg!25!bg} +\setbeamercolor{block body alerted dimmed}{parent=block body alerted,use=altered text,bg=alerted text.fg!25!bg} +\setbeamercolor{block body example dimmed}{parent=block body example,use=example text,bg=example text.fg!25!bg} + +\defbeamertemplate*{block begin}{simplelines}{% + \par\vskip\medskipamount + \begin{beamercolorbox}[colsep*=.75ex]{block body dimmed} + {\leavevmode\usebeamerfont{block title}\usebeamercolor[fg]{block title}\strut\insertblocktitle\par} + {\usebeamercolor{structure}\color{structure.fg!80!black}\hrule\@height.4pt} + \vskip1ex +} + +\defbeamertemplate*{block end}{simplelines}{% + \end{beamercolorbox}\vskip\smallskipamount +} + +\defbeamertemplate*{block alerted begin}{simplelines}{% + \par\vskip\medskipamount + \begin{beamercolorbox}[colsep*=.75ex]{block body alerted dimmed} + {\leavevmode\usebeamerfont{block title alerted}\usebeamercolor[fg]{block title alerted}\strut\insertblocktitle\par} + {\usebeamercolor{alerted text}\color{alerted text.fg!80!black}\hrule\@height.4pt} + \vskip1ex +} + +\defbeamertemplate*{block alerted end}{simplelines}{% + \end{beamercolorbox}\vskip\smallskipamount +} + +\defbeamertemplate*{block example begin}{simplelines}{% + \par\vskip\medskipamount + \begin{beamercolorbox}[colsep*=.75ex]{block body example dimmed} + {\leavevmode\usebeamerfont{block title example}\usebeamercolor[fg]{block title example}\strut\insertblocktitle\par} + {\usebeamercolor{example text}\color{example text.fg!80!black}\hrule\@height.4pt} + \vskip1ex +} + +\defbeamertemplate*{block example end}{simplelines}{% + \end{beamercolorbox}\vskip\smallskipamount +} + +\mode +<all> diff --git a/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemesidebarwithminiframes.sty b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemesidebarwithminiframes.sty new file mode 100644 index 00000000000..37c46a0c247 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemesidebarwithminiframes.sty @@ -0,0 +1,146 @@ +%% beamerouterthemesidebarwithminiframes.sty +%% Copyright 2018-2019 Louis Stuart +% +% 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 +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Louis Stuart. + +\ProvidesPackage{beamerouterthemesidebarwithminiframes}[2019-05-07 v1.01 Beamer supplementary outer themes] + +\DeclareOption{hideallsubsections}{% + \PackageWarning{beamerouterthemesidebarwithminiframes}% + {This theme does not support `hideallsubsections'.}% +} +\DeclareOption{hideothersubsections}{% + \PackageWarning{beamerouterthemesidebarwithminiframes}% + {This theme does not support `hideothersubsections'.}% +} +\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{beamerouterthemesidebar}} +\ProcessOptions +\useoutertheme{sidebar} + +\mode<presentation> + +\def\insertverticalnavigationwithminiframes#1{% + \vbox{% + \def\sectionentry##1##2##3##4##5{% + \ifnum##5=\c@part% + \def\insertsectionhead{##2}% + \def\insertsectionheadnumber{##1}% + \def\insertpartheadnumber{##5}% + \par\leftskip\z@% + \hbox to #1{{% + \usebeamerfont{section in sidebar}\usebeamercolor[fg]{section in sidebar}% + \hyperlink{Navigation##3}{% + \ifnum\c@section=##1% + \ifnum\c@subsection=0\relax% + {\usebeamertemplate{section in sidebar}}% + \else% + \ifx\beamer@nav@css\beamer@hidetext% + {\usebeamertemplate{section in sidebar}}% + \else% + {\usebeamertemplate{section in sidebar shaded}}% + \fi% + \fi% + \else + {\usebeamertemplate{section in sidebar shaded}}% + \fi}}}% + \beamer@currentsubsection=0\relax\fi}% + \def\beamer@subsectionentry##1##2##3##4##5{% + \ifnum##1=\c@part% + \def\insertpartheadnumber{##1}% + \def\insertsectionheadnumber{##2}% + \def\insertsubsectionheadnumber{##3}% + \def\insertsubsectionhead{##5}% + \par\leftskip\z@\hbox{{% + \usebeamerfont{subsection in sidebar}\usebeamercolor[fg]{subsection in sidebar}% + \hyperlink{Navigation##4}{% + \ifnum\c@section=##2% + \ifnum\c@subsection=##3% + \ifnum\c@subsubsection=0\relax% + {\usebeamertemplate{subsection in sidebar}}% + \else% + {\usebeamertemplate{subsection in sidebar shaded}}% + \fi% + \else% + {\usebeamertemplate{subsection in sidebar shaded}}% + \fi% + \else% + {\usebeamertemplate{subsection in sidebar shaded}}% + \fi}}}% + \fi}% + \def\beamer@subsubsectionentry##1##2##3##4##5##6{} + \def\slideentry##1##2##3##4##5##6{% + % section number, subsection number, frame number, + % first/last slide, page number, part number + \ifnum##6=\c@part% + \leavevmode\leftskip=5pt% + \hbox{\beamer@link(##4){% + \usebeamerfont{mini frame}\usebeamercolor[fg]{mini frame}% + \ifnum\c@section=##1\ifnum\c@subsection=##2% + \ifnum\c@subsectionslide=##3% + \usebeamertemplate{mini frame}% + \else% + \usebeamertemplate{mini frame in current subsection}% + \fi + \else% + \usebeamertemplate{mini frame in other subsection}% + \fi% + \else% + \usebeamertemplate{mini frame in other subsection}% + \fi}}\hskip1pt% + \fi}% + \dohead% + }% +} + +\ifdim\beamer@sidebarwidth>0pt + \defbeamertemplate*{sidebar \beamer@sidebarside}{sidebar with miniframes} + { + \beamer@tempdim=\beamer@sidebarwidth% + \advance\beamer@tempdim by -6pt% + {\usebeamerfont{title in sidebar}% + \vskip1.5em% + \hskip3pt% + \usebeamercolor[fg]{title in sidebar}% + \insertshorttitle[width=\beamer@tempdim,center,respectlinebreaks]\par% + \vskip1.25em% + }% + {% + \hskip3pt% + \usebeamercolor[fg]{author in sidebar}% + \usebeamerfont{author in sidebar}% + \insertshortauthor[width=\beamer@tempdim,center,respectlinebreaks]\par% + \vskip1.25em% + }% + \insertverticalnavigationwithminiframes{\beamer@sidebarwidth}% + \vfill + \ifx\beamer@sidebarside\beamer@lefttext% + \else% + \usebeamercolor{normal text}% + \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}% + \vskip2pt% + \fi% + }% + + \ifx\beamer@sidebarside\beamer@lefttext% + \defbeamertemplate*{sidebar right}{sidebar with miniframes} + {% + \vfill% + \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}% + \vskip2pt} + \fi + \setbeamersize{text margin left=0.5cm,text margin right=0.5cm} +\fi + + +\mode +<all> diff --git a/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemesplitwithminiframes.sty b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemesplitwithminiframes.sty new file mode 100644 index 00000000000..79e73bee1ec --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemesplitwithminiframes.sty @@ -0,0 +1,98 @@ +%% beamerouterthemesplitwithminiframes.sty +%% Copyright 2018-2019 Louis Stuart +% +% 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 +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Louis Stuart. + +\ProvidesPackage{beamerouterthemesplitwithminiframes}[2019-05-07 v1.01 Beamer supplementary outer themes] + +\mode<presentation> + +\setbeamertemplate{section in head/foot}{\hfill\insertsectionhead} +\setbeamertemplate{section in head/foot shaded}{\hfill\color{fg!50!bg}\insertsectionhead} +\setbeamercolor{mini frame}{parent=subsection in head/foot} + +\def\insertsubsectionnavigationwithminiframe#1{% + \hbox to #1{% + \vbox{{% + \usebeamerfont{subsection in head/foot}\usebeamercolor[fg]{subsection in head/foot}% + \vskip0.5625ex% + \beamer@currentsubsection=0% + \def\sectionentry##1##2##3##4##5{}% + \def\beamer@subsectionentry##1##2##3##4##5{% + \ifnum##1=\c@part\ifnum##2=\c@section% + \def\insertpartheadnumber{##1}% + \def\insertsectionheadnumber{##2}% + \def\insertsubsectionheadnumber{##3}% + \def\insertsubsectionhead{##5}% + \par\leavevmode% + \setbox\beamer@tempbox=\hbox{\hskip0.3cm% + \hyperlink{Navigation##4}{\hbox{% + \ifnum\c@subsection=##3% + {\usebeamertemplate{subsection in head/foot}}% + \else% + {\usebeamertemplate{subsection in head/foot shaded}}% + \fi\hskip0.3cm}}}% + \ht\beamer@tempbox=1.6875ex\dp\beamer@tempbox=0.75ex% + \box\beamer@tempbox% + \fi\fi}% + \def\slideentry##1##2##3##4##5##6{\ifnum##6=\c@part\ifnum##1=\c@section\ifnum##2>0% + \def\insertsubsectionhead{##5}% + \def\insertsectionheadnumber{##1}% + \def\insertsubsectionheadnumber{##2}% + \def\insertpartheadnumber{##6}% + \leavevmode\setbox\beamer@tempbox=\hbox{\beamer@link(##4){% + \usebeamerfont{mini frame}% + \usebeamercolor[fg]{mini frame}% + \ifnum\c@section=##1% + \ifnum\c@subsection=##2% + \ifnum\c@subsectionslide=##3% + \usebeamertemplate{mini frame} + \else% + \usebeamertemplate{mini frame in current subsection} + \fi% + \else% + \usebeamertemplate{mini frame in other subsection} + \fi% + \else% + \usebeamercolor{mini frame}% + \usebeamertemplate{mini frame in other subsection} + \fi% + }}% + \ht\beamer@tempbox=1.6875ex\dp\beamer@tempbox=0.75ex\wd\beamer@tempbox=\beamer@boxsize% + \box\beamer@tempbox% + \fi\fi\fi}% + \dohead\vskip0.5625ex}}\hfil}} + + +\defbeamertemplate*{headline}{split with miniframe} +{% + \leavevmode% + \@tempdimb=2.4375ex% + \ifnum\beamer@subsectionmax<\beamer@sectionmax% + \multiply\@tempdimb by\beamer@sectionmax% + \else% + \multiply\@tempdimb by\beamer@subsectionmax% + \fi% + \ifdim\@tempdimb>0pt% + \advance\@tempdimb by 1.825ex% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}% + \vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}% + \vbox to\@tempdimb{\vfil\insertsubsectionnavigationwithminiframe{.5\paperwidth}\vfil}% + \end{beamercolorbox}% + \fi% +} + +\mode +<all> diff --git a/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemetwolines.sty b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemetwolines.sty new file mode 100644 index 00000000000..7269bfa77e2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamerauxtheme/beamerouterthemetwolines.sty @@ -0,0 +1,119 @@ +%% beamerouterthemetwolines.sty +%% Copyright 2018-2019 Louis Stuart +% +% 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 +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Louis Stuart. + +\ProvidesPackage{beamerouterthemetwolines}[2019-05-07 v1.01 Beamer supplementary outer themes] + +\mode<presentation> + +\setbeamercolor*{section headline}{parent=palette tertiary} +\setbeamercolor*{subsection headline}{parent=palette secondary} +\setbeamercolor*{section in head/foot}{parent=palette tertiary,use=palette tertiary,bg=palette tertiary.bg!60!palette tertiary.fg} +\setbeamercolor*{subection in head/foot}{parent=palette secondary} +\setbeamercolor{section in head/foot shaded}{use=section in head/foot,fg=section in head/foot.fg!40!bg} +\setbeamercolor{subsection in head/foot shaded}{use=subsection in head/foot,fg=subsection in head/foot.fg!40!bg} + +\defbeamertemplate*{section in head/foot}{two lines}{% + \leavevmode\setbox\@tempboxa\hbox{\strut\hskip1ex\insertsectionhead\hskip1ex}% + \begin{beamercolorbox}[wd=\wd\@tempboxa,ht=2.5ex,dp=1.125ex]{section in head/foot} + \box\@tempboxa + \end{beamercolorbox}% +} + +\defbeamertemplate*{section in head/foot shaded}{two lines}{% + \leavevmode\setbox\@tempboxa\hbox{\strut\hskip1ex\insertsectionhead\hskip1ex}% + \begin{beamercolorbox}[wd=\wd\@tempboxa,ht=2.5ex,dp=1.125ex]{section in head/foot shaded} + \box\@tempboxa + \end{beamercolorbox}% +} + +\defbeamertemplate*{subsection in head/foot}{two lines}{% + \leavevmode\setbox\@tempboxa\hbox{\strut\hskip1ex\insertsubsectionhead\hskip1ex}% + \begin{beamercolorbox}[wd=\wd\@tempboxa,ht=2.5ex,dp=1.125ex]{subsection in head/foot} + \box\@tempboxa + \end{beamercolorbox}% +} + +\defbeamertemplate*{subsection in head/foot shaded}{two lines}{% + \leavevmode\setbox\@tempboxa\hbox{\strut\hskip1ex\insertsubsectionhead\hskip1ex}% + \begin{beamercolorbox}[wd=\wd\@tempboxa,ht=2.5ex,dp=1.125ex]{subsection in head/foot shaded} + \box\@tempboxa + \end{beamercolorbox}% +} + +\long\def\insertsectionnavigationline{% + \def\sectionentry##1##2##3##4##5{% + \ifnum##5=\c@part% + \def\insertsectionhead{##2}% + \def\insertsectionheadnumber{##1}% + \def\insertpartheadnumber{##5}% + \hbox{% + \usebeamerfont{section in head/foot}% + \hyperlink{Navigation##3}{% + \ifnum\c@section=##1% + {\usebeamertemplate{section in head/foot}}% + \else% + {\usebeamertemplate{section in head/foot shaded}}% + \fi% + }% + }% + \fi% + }% + \def\beamer@subsectionentry##1##2##3##4##5##6{}% + \def\slideentry##1##2##3##4##5##6{}% + \dohead% +} + +\long\def\insertsubsectionnavigationline{% + \def\sectionentry##1##2##3##4##5{}% + \def\beamer@subsectionentry##1##2##3##4##5##6{% + \ifnum##1=\c@part% + \def\insertpartheadnumber{##1}% + \def\insertsectionheadnumber{##2}% + \def\insertsubsectionheadnumber{##3}% + \def\insertsubsectionhead{##5}% + \hbox{% + \usebeamerfont{subsection in head/foot}% + \hyperlink{Navigation##4}{% + \ifnum\c@section=##2% + \ifnum\c@subsection=##3% + {\usebeamertemplate{subsection in head/foot}}% + \else% + {\usebeamertemplate{subsection in head/foot shaded}}% + \fi% + \fi% + }% + }% + \fi% + }% + \def\slideentry##1##2##3##4##5##6{}% + \dohead% +} + + +\defbeamertemplate*{headline}{two lines}% +{% + \leavevmode + \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{section headline} + \hskip1ex\insertsectionnavigationline\hfill + \end{beamercolorbox}% + \par\nointerlineskip + \leavevmode + \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{subsection headline} + \hskip1ex\insertsubsectionnavigationline\hfill + \end{beamercolorbox}% +} + +\mode +<all> |