-
Notifications
You must be signed in to change notification settings - Fork 2
/
beamerthemenudt.sty
35 lines (26 loc) · 1.29 KB
/
beamerthemenudt.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% Copyright 2019 by Su Xing
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
% \PassOptionsToPackage{right}{beamerouterthemesidebar}
% \PassOptionsToPackage{width=2cm}{beamerouterthemesidebar}
% \DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections=#1}{beamerouterthemesidebar}}
% \DeclareOptionBeamer{hideallsubsections}{\PassOptionsToPackage{hideallsubsections=#1}{beamerouterthemesidebar}}
% \DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}}
% \DeclareOptionBeamer{left}{\PassOptionsToPackage{left}{beamerouterthemesidebar}}
% \DeclareOptionBeamer{right}{\PassOptionsToPackage{right}{beamerouterthemesidebar}}
% \ProcessOptionsBeamer
\mode<presentation>
\usecolortheme{nudt}
\useoutertheme[hideothersubsections,height=0pt]{sidebar}
\useinnertheme{rectangles}
%% \setbeamertemplate{sidebar canvas \beamer@sidebarside}[vertical shading][top=nudtcolora01,bottom=nudtcolora01!80]
\logo{\includegraphics[width=.8\beamer@sidebarwidth]{logo/nudt-small1.png}}
\addtobeamertemplate{sidebar \beamer@sidebarside}{
\vspace{.1\beamer@sidebarwidth}\hspace{.1\beamer@sidebarwidth}\insertlogo}{}
\mode
<all>