diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hitszbeamer/beamerinnerthemehitszbeamer.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hitszbeamer/beamerinnerthemehitszbeamer.sty | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hitszbeamer/beamerinnerthemehitszbeamer.sty b/Master/texmf-dist/tex/latex/hitszbeamer/beamerinnerthemehitszbeamer.sty new file mode 100644 index 00000000000..23bdc4f3019 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hitszbeamer/beamerinnerthemehitszbeamer.sty @@ -0,0 +1,90 @@ +%% +%% This is file `beamerinnerthemehitszbeamer.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hitszbeamer.dtx (with options: `hitszinnerstyle') +%% +%% This is a generated file. +%% +%% Copyright (C) 2019--2020 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{beamerinnerthemehitszbeamer} +[2020/03/17 v1.0.0 A Beamer Theme for Harbin Institute of Technology, ShenZhen (HITSZ)] +\RequirePackage{tikz} +\usetikzlibrary{external} +\DeclareOptionBeamer{hitszred}{\def\beamer@hitszcolor{hitszred}} +\DeclareOptionBeamer{hitszblue}{\def\beamer@hitszcolor{hitszblue}} +\ProcessOptionsBeamer + +\newlength{\beamer@plainpagewidth} +\def\beamer@hitszcolorblue{hitszblue} +\mode<presentation> + +\usefonttheme{structurebold} +\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); + }% + }% +} + +\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 hitszbeamer.dtx, +%% and the derived files hitszbeamer.pdf, +%% beamerthemehitszbeamer.sty, +%% beamercolorthemehitszbeamer.sty, +%% beamerinnerthemehitszbeamer.sty, +%% beamerouterthemehitszbeamer.sty. +%% +%% +%% End of file `beamerinnerthemehitszbeamer.sty'. |