summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thubeamer
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-07 21:01:52 +0000
committerKarl Berry <karl@freefriends.org>2021-07-07 21:01:52 +0000
commitc39527db5c6c7ee347eaef341385264ca1dd483b (patch)
tree8a4dd81336ceae0941fe495e08ed910001ff9f40 /Master/texmf-dist/tex/latex/thubeamer
parent85efb9eb63f53ac1391f0c824d8ed775bcd30b27 (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')
-rw-r--r--Master/texmf-dist/tex/latex/thubeamer/beamercolorthemethubeamer.sty111
-rw-r--r--Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty82
-rw-r--r--Master/texmf-dist/tex/latex/thubeamer/beamerouterthemethubeamer.sty84
-rw-r--r--Master/texmf-dist/tex/latex/thubeamer/beamerthemethubeamer.sty96
-rw-r--r--Master/texmf-dist/tex/latex/thubeamer/thulogo.pdfbin0 -> 111420 bytes
5 files changed, 373 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/thubeamer/beamercolorthemethubeamer.sty b/Master/texmf-dist/tex/latex/thubeamer/beamercolorthemethubeamer.sty
new file mode 100644
index 00000000000..3136c125d7e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thubeamer/beamercolorthemethubeamer.sty
@@ -0,0 +1,111 @@
+%%
+%% This is file `beamercolorthemethubeamer.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% thubeamer.dtx (with options: `thucolorstyle')
+%%
+%% 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{beamercolorthemethubeamer}
+[2021/07/07 v1.0.0 A Beamer Theme for Tsinghua University (THU)]
+\DeclareOptionBeamer{thupurple}{\def\beamer@thucolor{thupurple}}
+\DeclareOptionBeamer{thupurple2}{\def\beamer@thucolor{thupurple2}}
+\DeclareOptionBeamer{smoothbars}{\def\beamer@thubar{smoothbars}}
+\DeclareOptionBeamer{sidebar}{\def\beamer@thubar{sidebar}}
+\ProcessOptionsBeamer
+
+\def\beamer@thucolorpurple{thupurple}
+\def\beamer@thusidebar{sidebar}
+\mode<presentation>
+
+\ifx\beamer@thucolor\beamer@thucolorpurple
+ \definecolor{beamer@textcolor}{RGB}{119,33,151}
+ \definecolor{beamer@headercolor}{RGB}{129,48,140} % purple
+ \ifx\beamer@thubar\beamer@thusidebar
+ \definecolor{beamer@sidebarcolor}{RGB}{129,48,140}
+ \else
+ \definecolor{beamer@sidebarcolor}{RGB}{129,48,140}
+ \fi
+\else
+ \definecolor{beamer@textcolor}{RGB}{119,33,151}
+ \definecolor{beamer@headercolor}{RGB}{129,48,140}
+ \ifx\beamer@thubar\beamer@thusidebar
+ \definecolor{beamer@sidebarcolor}{RGB}{129,48,140}
+ \else
+ \definecolor{beamer@sidebarcolor}{RGB}{129,48,140}
+ \fi
+\fi
+
+\setbeamercolor{title}{fg=white,bg=beamer@headercolor}
+\ifx\beamer@thubar\beamer@thusidebar
+ \setbeamercolor{frametitle}{fg=beamer@headercolor,bg=beamer@headercolor!10}
+\else
+ \setbeamercolor{frametitle}{fg=white,bg=beamer@headercolor}
+\fi
+\setbeamerfont{frametitle}{size=\large}
+
+\setbeamercolor{secondbottomline}{fg=white,bg=beamer@headercolor!50!black}
+\setbeamercolor{firstbottomline}{fg=white,bg=beamer@headercolor}
+
+\setbeamercolor{palette primary}{use=structure,fg=white,bg=structure.fg}
+\setbeamercolor{palette secondary}{use=structure,fg=white,bg=structure.fg!75!black}
+\setbeamercolor{palette tertiary}{use=structure,fg=white,bg=structure.fg!50!black}
+\setbeamercolor{palette quaternary}{fg=white,bg=structure.fg!50!black}
+
+\setbeamercolor{block title}{fg=white,bg=beamer@headercolor}
+\setbeamercolor{block body}{bg=beamer@headercolor!10}
+\setbeamercolor{block title example}{%
+ use={normal text,example text},fg=white,bg=example text.fg!75!green
+}
+\setbeamercolor{fine separation line}{}
+\setbeamercolor{item projected}{fg=white}
+
+\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg}
+\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg}
+\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
+\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg}
+
+\setbeamercolor{section in sidebar}{fg=beamer@textcolor}
+\setbeamercolor{section in sidebar shaded}{fg=gray}
+\setbeamercolor{separation line}{}
+\ifx\beamer@thubar\beamer@thusidebar
+ \setbeamercolor{sidebar}{bg=beamer@sidebarcolor!10}
+\else
+ \setbeamercolor{sidebar}{bg=beamer@sidebarcolor}
+\fi
+\setbeamercolor{sidebar}{parent=palette primary}
+\setbeamercolor{structure}{fg=beamer@headercolor}
+\setbeamercolor{subsection in sidebar}{fg=beamer@textcolor}
+\setbeamercolor{subsection in sidebar shaded}{fg=gray}
+\setbeamercolor{logo}{bg=beamer@headercolor!20}
+
+\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 `beamercolorthemethubeamer.sty'.
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'.
diff --git a/Master/texmf-dist/tex/latex/thubeamer/beamerouterthemethubeamer.sty b/Master/texmf-dist/tex/latex/thubeamer/beamerouterthemethubeamer.sty
new file mode 100644
index 00000000000..8436a5b5b9f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thubeamer/beamerouterthemethubeamer.sty
@@ -0,0 +1,84 @@
+%%
+%% This is file `beamerouterthemethubeamer.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% thubeamer.dtx (with options: `thuouterstyle')
+%%
+%% 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{beamerouterthemethubeamer}
+[2021/07/07 v1.0.0 A Beamer Theme for Tsinghua University (THU)]
+\DeclareOptionBeamer{smoothbars}{\def\beamer@thubar{smoothbars}}
+\DeclareOptionBeamer{sidebar}{\def\beamer@thubar{sidebar}}
+\ProcessOptionsBeamer
+\def\beamer@thusidebar{sidebar}
+
+\mode<presentation>
+
+\setbeamertemplate{navigation symbols}{}
+
+\ifx\beamer@thubar\beamer@thusidebar
+ \useoutertheme[width=0.17\linewidth]{sidebar}
+ \logo{\includegraphics[width=0.08\linewidth]{thulogo.pdf}}
+\else
+ \useoutertheme[footline=authorinstitutetitle,subsection=false]{smoothbars}
+\fi
+
+\makeatletter
+\newcommand{\frameofframes}{/}
+\newcommand{\setframeofframes}[1]{
+ \renewcommand{\frameofframes}{#1}
+}
+\setbeamertemplate{footline}{%
+ \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
+ \end{beamercolorbox}
+ \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
+ leftskip=.3cm,rightskip=.3cm plus1fil]{firstbottomline}%
+ \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
+ \hfill%
+ {\usebeamerfont{institute in head/foot}%
+ \usebeamercolor[fg]{frame number}%
+ \insertshortinstitute
+ }%
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
+ leftskip=.3cm,rightskip=.3cm plus1fil]{secondbottomline}%
+ {\usebeamerfont{title in head/foot}\insertshorttitle}%
+ \hfill%
+ {\usebeamerfont{frame number}\usebeamercolor[fg]{frame number}\insertframenumber~\frameofframes~\inserttotalframenumber}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
+ \end{beamercolorbox}
+}
+\makeatother
+
+\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 `beamerouterthemethubeamer.sty'.
diff --git a/Master/texmf-dist/tex/latex/thubeamer/beamerthemethubeamer.sty b/Master/texmf-dist/tex/latex/thubeamer/beamerthemethubeamer.sty
new file mode 100644
index 00000000000..dc3b7fe94bd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thubeamer/beamerthemethubeamer.sty
@@ -0,0 +1,96 @@
+%%
+%% This is file `beamerthemethubeamer.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% thubeamer.dtx (with options: `thubeamer')
+%%
+%% 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{beamerthemethubeamer}
+[2021/07/07 v1.0.0 A Beamer Theme for Tsinghua University (THU)]
+\def\thubeamer{\textsc{thu}\-\textsc{Beamer}}
+\RequirePackage{tikz}
+\usetikzlibrary{external}
+\RequirePackage{pgf}
+\RequirePackage{multicol}
+\RequirePackage{multimedia}
+\RequirePackage{calc}
+\RequirePackage{ctex}
+\RequirePackage{amsmath}
+\RequirePackage{amsthm}
+\RequirePackage{amssymb}
+\RequirePackage{bm}
+\RequirePackage{graphicx}
+\RequirePackage{tabularx}
+\RequirePackage{booktabs}
+\RequirePackage{multirow}
+\RequirePackage{enumerate}
+\RequirePackage{hyperref}
+\RequirePackage{algorithm}
+\RequirePackage{algorithmic}
+\RequirePackage[T1]{fontenc}
+\RequirePackage{latexsym,xcolor,multicol,calligra}
+\RequirePackage{pstricks,listings,stackengine}
+\RequirePackage[sort&compress,numbers]{natbib}
+\DeclareOptionBeamer{thupurple}{
+ \PassOptionsToPackage{thupurple}{beamercolorthemethubeamer}
+ \PassOptionsToPackage{thupurple}{beamerinnerthemethubeamer}
+ \PassOptionsToPackage{thupurple}{beamerouterthemethubeamer}
+}
+\DeclareOptionBeamer{thupurple2}{
+ \PassOptionsToPackage{thupurple2}{beamercolorthemethubeamer}
+ \PassOptionsToPackage{thupurple2}{beamerinnerthemethubeamer}
+ \PassOptionsToPackage{thupurple2}{beamerouterthemethubeamer}
+}
+\DeclareOptionBeamer{smoothbars}{
+ \PassOptionsToPackage{smoothbars}{beamercolorthemethubeamer}
+ \PassOptionsToPackage{smoothbars}{beamerouterthemethubeamer}
+}
+\DeclareOptionBeamer{sidebar}{
+ \PassOptionsToPackage{sidebar}{beamercolorthemethubeamer}
+ \PassOptionsToPackage{sidebar}{beamerouterthemethubeamer}
+}
+\DeclareOptionBeamer{sectiontoc}{
+ \PassOptionsToPackage{sectiontoc}{beamerinnerthemethubeamer}
+}
+\DeclareOptionBeamer{subsectiontoc}{
+ \PassOptionsToPackage{subsectiontoc}{beamerinnerthemethubeamer}
+}
+\ProcessOptionsBeamer
+\mode<presentation>
+{
+ \useinnertheme{thubeamer}
+ \useoutertheme{thubeamer}
+ \usecolortheme{thubeamer}
+}
+
+\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 `beamerthemethubeamer.sty'.
diff --git a/Master/texmf-dist/tex/latex/thubeamer/thulogo.pdf b/Master/texmf-dist/tex/latex/thubeamer/thulogo.pdf
new file mode 100644
index 00000000000..594a3429578
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thubeamer/thulogo.pdf
Binary files differ