summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-19 00:09:01 +0000
committerKarl Berry <karl@freefriends.org>2017-12-19 00:09:01 +0000
commit5d4ee22f407e4c60e9f6ee586d4152a3d6d7287e (patch)
treee60908ef9f37f35a3e6ccdcc02d23c65f7a2ad02 /Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
parentbf2407a74d6c70f8b53038edf84e01255513a57c (diff)
beamer (18dec17)
git-svn-id: svn://tug.org/texlive/trunk@46095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty235
1 files changed, 235 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty b/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
new file mode 100644
index 00000000000..2caaa430361
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
@@ -0,0 +1,235 @@
+% Copyright 2007 by Till Tantau
+% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/licenses/LICENSE for more details.
+
+\mode<presentation>
+
+
+% Mini frames
+
+\defbeamertemplateparent{mini frames}
+ {mini frame,mini frame in current section,mini frame in current subsection}
+{}
+
+\defbeamertemplate*{mini frame}{default}
+{%
+ \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
+ \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
+ \pgfusepath{fill,stroke}
+ \end{pgfpicture}%
+}
+[action]
+{
+ \setbeamersize{mini frame size=.14cm,mini frame offset=.03cm}
+}
+
+\defbeamertemplate*{mini frame in current section}{default}
+{%
+ \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
+ \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
+ \pgfusepath{stroke}
+ \end{pgfpicture}%
+}
+
+\defbeamertemplate*{mini frame in current subsection}{default}
+{%
+ \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
+ \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
+ \pgfusepath{stroke}
+ \end{pgfpicture}%
+}
+
+\defbeamertemplate*{mini frame in other section}{default}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{mini frame in current section}}
+\defbeamertemplate*{mini frame in other subsection}{default}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{mini frame in current subsection}}
+
+
+
+
+% Navigation symbols
+
+\defbeamertemplate*{navigation symbols}{default}
+{%
+ \hbox{%
+ \hbox{\insertslidenavigationsymbol}
+ \hbox{\insertframenavigationsymbol}
+ \hbox{\insertsubsectionnavigationsymbol}
+ \hbox{\insertsectionnavigationsymbol}
+ \hbox{\insertdocnavigationsymbol}
+ \hbox{\insertbackfindforwardnavigationsymbol}%
+ }%
+}
+
+% No navigation symbols in handout or trans mode:
+\only<handout| trans>{\setbeamertemplate{navigation symbols}{}}
+
+
+
+% Section and subsections in head/foot
+
+\defbeamertemplate*{section in head/foot}{default}
+{\insertsectionhead}
+
+\defbeamertemplate*{section in head/foot shaded}{default}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{section in head/foot}}
+
+\defbeamertemplate*{subsection in head/foot}{default}
+{\insertsubsectionhead}
+
+\defbeamertemplate*{subsection in head/foot shaded}{default}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{subsection in head/foot}}
+
+\defbeamertemplate*{subsubsection in head/foot}{default}
+{\insertsubsubsectionhead}
+
+\defbeamertemplate*{subsubsection in head/foot shaded}{default}[1][50]
+{\color{fg!#1!bg}\usebeamertemplate{subsubsection in head/foot}}
+
+
+
+
+
+% Headline and footline
+
+\defbeamertemplate*{headline}{default}
+{}
+
+\defbeamertemplate*{footline}{default}
+{}
+
+
+% background
+
+\defbeamertemplate*{background}{default}
+{}
+
+\defbeamertemplate*{background canvas}{default}
+{%
+ \ifbeamercolorempty[bg]{background canvas}{}{\color{bg}\vrule width\paperwidth height\paperheight}%
+}
+
+
+% Sidebar
+
+\defbeamertemplate*{sidebar left}{default}
+{}
+
+\defbeamertemplate*{sidebar right}{default}
+{
+ \vfill%
+ \llap{\insertlogo\hskip0.1cm}%
+ \vskip2pt%
+ \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
+ \vskip2pt%
+}
+
+\defbeamertemplate*{sidebar canvas left}{default}
+{%
+ \ifbeamercolorempty[bg]{sidebar left}{}
+ {\color{bg}\vrule height\sidebarheight width\beamer@leftsidebar}%
+}
+
+\defbeamertemplate*{sidebar canvas right}{default}
+{%
+ \ifbeamercolorempty[bg]{sidebar right}{}
+ {\color{bg}\vrule height\sidebarheight width\beamer@rightsidebar}%
+}
+
+
+
+% Frame title: default
+
+\defbeamertemplate*{frametitle}{default}[1][left]
+{%
+ \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
+ \@tempdima=\textwidth%
+ \advance\@tempdima by\beamer@leftmargin%
+ \advance\@tempdima by\beamer@rightmargin%
+ \begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{frametitle}
+ \usebeamerfont{frametitle}%
+ \vbox{}\vskip-1ex%
+ \if@tempswa\else\csname beamer@fte#1\endcsname\fi%
+ \strut\insertframetitle\strut\par%
+ {%
+ \ifx\insertframesubtitle\@empty%
+ \else%
+ {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
+ \fi
+ }%
+ \vskip-1ex%
+ \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
+ \end{beamercolorbox}%
+}
+
+\def\beamer@fteright{\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm}
+
+
+% Frame title continuations, default
+
+\defbeamertemplate*{frametitle continuation}{default}{\insertcontinuationcountroman}
+
+
+
+% Notes
+
+\defbeamertemplate*{note page}{default}
+{%
+ {%
+ \scriptsize
+ \usebeamerfont{note title}\usebeamercolor[fg]{note title}%
+ \ifbeamercolorempty[bg]{note title}{}{%
+ \insertvrule{.25\paperheight}{note title.bg}%
+ \vskip-.25\paperheight%
+ \nointerlineskip%
+ }%
+ \vbox{
+ \hfill\insertslideintonotes{0.25}\hskip-\Gm@rmargin\hskip0pt%
+ \vskip-0.25\paperheight%
+ \nointerlineskip
+ \begin{pgfpicture}{0cm}{0cm}{0cm}{0cm}
+ \begin{pgflowlevelscope}{\pgftransformrotate{90}}
+ {\pgftransformshift{\pgfpoint{-2cm}{0.2cm}}%
+ \pgftext[base,left]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}}
+ \end{pgflowlevelscope}
+ \end{pgfpicture}}
+ \nointerlineskip
+ \vbox to .25\paperheight{\vskip0.5em
+ \hbox{\insertshorttitle[width=8cm]}%
+ \setbox\beamer@tempbox=\hbox{\insertsection}%
+ \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip4pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsection\end{minipage}}\fi%
+ }%
+ \setbox\beamer@tempbox=\hbox{\insertsubsection}%
+ \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip17.4pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsubsection\end{minipage}}\fi%
+ }%
+ \setbox\beamer@tempbox=\hbox{\insertshortframetitle}%
+ \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip30.8pt\raise3pt\hbox{\vrule
+ width0.4pt height7pt\vrule width 9pt
+ height0.4pt}}\hskip1pt\hbox{\insertshortframetitle[width=7cm]}\fi%
+ }%
+ \vfil}%
+ }%
+ \ifbeamercolorempty[bg]{note page}{}{%
+ \nointerlineskip%
+ \insertvrule{.75\paperheight}{note page.bg}%
+ \vskip-.75\paperheight%
+ }%
+ \vskip.25em
+ \nointerlineskip
+ \insertnote
+}
+
+
+
+\mode
+<all>