diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-07 21:01:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-07 21:01:52 +0000 |
commit | c39527db5c6c7ee347eaef341385264ca1dd483b (patch) | |
tree | 8a4dd81336ceae0941fe495e08ed910001ff9f40 /Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty | |
parent | 85efb9eb63f53ac1391f0c824d8ed775bcd30b27 (diff) |
thubeamer (7jul21)
git-svn-id: svn://tug.org/texlive/trunk@59869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty b/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty new file mode 100644 index 00000000000..9be19c1f987 --- /dev/null +++ b/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty @@ -0,0 +1,82 @@ +%% +%% This is file `beamerinnerthemethubeamer.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% thubeamer.dtx (with options: `thuinnerstyle') +%% +%% This is a generated file. +%% +%% Copyright (C) 2019--2021 by Jingxuan Yang <yanglatex2e@gmail.com> +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% 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.3c or later is part of all distributions of LaTeX +%% version 2008/05/04 or later. +%% +%% To produce the documentation run the original source files ending with `.dtx' +%% through LaTeX. +%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{beamerinnerthemethubeamer} +[2021/07/07 v1.0.0 A Beamer Theme for Tsinghua University (THU)] +\RequirePackage{tikz} +\usetikzlibrary{external} +\DeclareOptionBeamer{sectiontoc}{\def\beamer@thusectoc{sectiontoc}} +\DeclareOptionBeamer{subsectiontoc}{\def\beamer@thusubsectoc{subsectiontoc}} +\ProcessOptionsBeamer + +\def\beamer@thusectiontoc{sectiontoc} +\def\beamer@thusubsectiontoc{subsectiontoc} +\mode<presentation> + +\useinnertheme{circles} +\setbeamertemplate{caption}[numbered]{} +\useinnertheme[shadow]{rounded} + +\newcommand\varparallel{% + \mathrel{% + \text{% + \tikz[baseline] \draw (0em,-0.3ex) -- (.4em,1.7ex) (.2em,-0.3ex) -- (.6em,1.7ex); + }% + }% +} + +\ifx\beamer@thusectoc\beamer@thusectiontoc + \AtBeginSection[]{ + \begin{frame} + \begin{multicols}{2} + \tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide] + \end{multicols} + \end{frame} + } +\fi + +\ifx\beamer@thusubsectoc\beamer@thusubsectiontoc + \AtBeginSubsection[]{ + \begin{frame} + \begin{multicols}{2} + \tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide] + \end{multicols} + \end{frame} + } +\fi + +\mode<all> +%% +%% This package consists of the file thubeamer.dtx, +%% and the derived files thubeamer.pdf, +%% beamerthemethubeamer.sty, +%% beamercolorthemethubeamer.sty, +%% beamerinnerthemethubeamer.sty, +%% beamerouterthemethubeamer.sty. +%% +%% +%% End of file `beamerinnerthemethubeamer.sty'. |