summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thubeamer/beamerinnerthemethubeamer.sty
diff options
context:
space:
mode:
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}