beamerthemethesis.sty (866B)
1 \RequirePackage{xparse} 2 3 \NewDocumentCommand\thesis@progress@bar{s m}{% 4 \usebeamercolor{progress bar}% 5 \IfBooleanTF{#1}{% 6 \draw[bg, line width=0.5mm] (0, 0) -- (#2, 0);% 7 }{% 8 \pgfmathsetmacro{\current}{min(\insertframenumber, \insertmainframenumber)/(\insertmainframenumber)}% 9 \draw[fg, line width=0.5mm] (0, 0) -- (\current#2, 0);% 10 \draw[bg, line width=0.5mm] (\current#2, 0) -- (#2, 0);% 11 }% 12 } 13 14 \NewDocumentCommand\thesisprogress{s m}{% 15 \begin{tikzpicture}% 16 \IfBooleanTF{#1}{\thesis@progress@bar*{#2}}{\thesis@progress@bar{#2}}% 17 \end{tikzpicture}% 18 } 19 20 \AtBeginSection{% 21 \begingroup% 22 \setbeamercolor{background canvas}{parent=palette primary}% 23 \begin{frame}[plain]% 24 \sectionpage% 25 \end{frame}% 26 \endgroup% 27 } 28 29 \usecolortheme{seahorse} 30 \usecolortheme{rose} 31 32 \useinnertheme{thesis} 33 \useoutertheme{thesis} 34 \usecolortheme{thesis} 35 \usefonttheme{thesis}