diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
4 files changed, 291 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hitszbeamer/beamercolorthemehitszbeamer.sty b/Master/texmf-dist/tex/latex/hitszbeamer/beamercolorthemehitszbeamer.sty new file mode 100644 index 00000000000..c272e76a58b --- /dev/null +++ b/Master/texmf-dist/tex/latex/hitszbeamer/beamercolorthemehitszbeamer.sty @@ -0,0 +1,80 @@ +%% +%% This is file `beamercolorthemehitszbeamer.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hitszbeamer.dtx (with options: `hitszcolorstyle') +%% +%% 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{beamercolorthemehitszbeamer} +[2020/03/17 v1.0.0 A Beamer Theme for Harbin Institute of Technology, ShenZhen (HITSZ)] +\DeclareOptionBeamer{hitszred}{\def\beamer@hitszcolor{hitszred}} +\DeclareOptionBeamer{hitszblue}{\def\beamer@hitszcolor{hitszblue}} +\ProcessOptionsBeamer + +\def\beamer@hitszcolorred{hitszred} +\mode<presentation> +{ + \ifx\beamer@hitszcolor\beamer@hitszcolorred% + \definecolor{beamer@headercolor}{RGB}{175,33,37} + \else + \definecolor{beamer@headercolor}{rgb}{0.0,0.415,0.682} + \fi + + \setbeamercolor{title}{fg=white,bg=beamer@headercolor} + \setbeamercolor{frametitle}{fg=beamer@headercolor,bg=beamer@headercolor!30} + \setbeamerfont{frametitle}{size=\large} + + \setbeamercolor{secondbottomline}{fg=white,bg=beamer@headercolor} + \setbeamercolor{firstbottomline}{fg=white,bg=beamer@headercolor!80} + \setbeamercolor{block title}{fg=white,bg=beamer@headercolor} + \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 quaternary}{use=structure,fg=structure.fg} + \setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} + \setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} + \setbeamercolor{section in sidebar}{fg=brown} + \setbeamercolor{section in sidebar shaded}{fg=gray} + \setbeamercolor{separation line}{} + \setbeamercolor{sidebar}{bg=beamer@headercolor!30} + \setbeamercolor{sidebar}{parent=palette primary} + \setbeamercolor{structure}{fg=beamer@headercolor} + \setbeamercolor{subsection in sidebar}{fg=brown} + \setbeamercolor{subsection in sidebar shaded}{fg=gray} + \setbeamercolor{logo}{bg=beamer@headercolor!50} +} + +\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 `beamercolorthemehitszbeamer.sty'. 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'. diff --git a/Master/texmf-dist/tex/latex/hitszbeamer/beamerouterthemehitszbeamer.sty b/Master/texmf-dist/tex/latex/hitszbeamer/beamerouterthemehitszbeamer.sty new file mode 100644 index 00000000000..f7cc22099db --- /dev/null +++ b/Master/texmf-dist/tex/latex/hitszbeamer/beamerouterthemehitszbeamer.sty @@ -0,0 +1,54 @@ +%% +%% This is file `beamerouterthemehitszbeamer.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hitszbeamer.dtx (with options: `hitszouterstyle') +%% +%% 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{beamerouterthemehitszbeamer} +[2020/03/17 v1.0.0 A Beamer Theme for Harbin Institute of Technology, ShenZhen (HITSZ)] +\DeclareOptionBeamer{hitszred}{\def\beamer@hitszcolor{hitszred}} +\DeclareOptionBeamer{hitszblue}{\def\beamer@hitszcolor{hitszblue}} +\ProcessOptionsBeamer + +\mode<presentation> + +\pgfdeclaremask{figmask}{figures/hitlogo-mask.jpg} +\pgfdeclareimage[mask=figmask,width=0.17\linewidth,interpolate=true]{hitlogomasked}{figures/hitlogo.jpg} +\logo{\pgfuseimage{hitlogomasked}} + +\setbeamertemplate{navigation symbols}{} + +\useoutertheme[width=0.17\linewidth]{sidebar} + +\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 `beamerouterthemehitszbeamer.sty'. diff --git a/Master/texmf-dist/tex/latex/hitszbeamer/beamerthemehitszbeamer.sty b/Master/texmf-dist/tex/latex/hitszbeamer/beamerthemehitszbeamer.sty new file mode 100644 index 00000000000..ba63b365806 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hitszbeamer/beamerthemehitszbeamer.sty @@ -0,0 +1,67 @@ +%% +%% This is file `beamerthemehitszbeamer.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hitszbeamer.dtx (with options: `hitszbeamer') +%% +%% 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{beamerthemehitszbeamer} +[2020/03/17 v1.0.0 A Beamer Theme for Harbin Institute of Technology, ShenZhen (HITSZ)] +\def\hitszbeamer{\textsc{Hitsz}\-\textsc{Beamer}} +\RequirePackage{tikz} +\usetikzlibrary{external} +\RequirePackage{pgf} +\RequirePackage{multicol} +\RequirePackage{multimedia} +\RequirePackage{calc} +\RequirePackage[UTF8]{ctex} +\RequirePackage[square,sort&compress]{natbib} +\DeclareOptionBeamer{hitszred}{% + \PassOptionsToPackage{hitszred}{beamercolorthemehitszbeamer} + \PassOptionsToPackage{hitszred}{beamerinnerthemehitszbeamer} + \PassOptionsToPackage{hitszred}{beamerouterthemehitszbeamer} +} +\DeclareOptionBeamer{hitszblue}{% + \PassOptionsToPackage{hitszblue}{beamercolorthemehitszbeamer} + \PassOptionsToPackage{hitszblue}{beamerinnerthemehitszbeamer} + \PassOptionsToPackage{hitszblue}{beamerouterthemehitszbeamer} +} +\ProcessOptionsBeamer +\mode<presentation> +{ + \useinnertheme{hitszbeamer} + \useoutertheme{hitszbeamer} + \usecolortheme{hitszbeamer} +} + +\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 `beamerthemehitszbeamer.sty'. |