summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-16 21:23:03 +0000
committerKarl Berry <karl@freefriends.org>2021-11-16 21:23:03 +0000
commit9dfe8f3d5332e7a706bd771490b5c49fc787b394 (patch)
tree74ca85bb324fe3aee0431906c618653d10b44b60 /Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty
parent0b16a00bb08a3220476425bdb01e5d41eae25c82 (diff)
thubeamer (16nov21)
git-svn-id: svn://tug.org/texlive/trunk@61071 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.sty10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty b/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty
index 9be19c1f987..09c1caeb449 100644
--- a/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty
+++ b/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty
@@ -26,17 +26,25 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemethubeamer}
-[2021/07/07 v1.0.0 A Beamer Theme for Tsinghua University (THU)]
+[2021/11/15 v1.1.0 A Beamer Theme for Tsinghua University (THU)]
\RequirePackage{tikz}
\usetikzlibrary{external}
+\DeclareOptionBeamer{en}{\def\beamer@thulang{english}}
\DeclareOptionBeamer{sectiontoc}{\def\beamer@thusectoc{sectiontoc}}
\DeclareOptionBeamer{subsectiontoc}{\def\beamer@thusubsectoc{subsectiontoc}}
\ProcessOptionsBeamer
+\def\beamer@thulanguage{english}
\def\beamer@thusectiontoc{sectiontoc}
\def\beamer@thusubsectiontoc{subsectiontoc}
\mode<presentation>
+\ifx\beamer@thulang\beamer@thulanguage
+ \relax
+\else
+ \RequirePackage{ctex}
+\fi
+
\useinnertheme{circles}
\setbeamertemplate{caption}[numbered]{}
\useinnertheme[shadow]{rounded}