-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.tex
177 lines (152 loc) · 5.08 KB
/
example.tex
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
\documentclass{beamer}
%\usepackage{pgfpages}
%\setbeameroption{show notes on second screen}
%% \setbeameroption{show notes}
\usetheme{nudt}
%\usecolortheme[RGB={02,59,35}]{structure}
\usepackage{tikz}
\usetikzlibrary{matrix, calc}
\usepackage{tikz-3dplot}
% Author, Title, etc.
\title[NUDT Beamer Theme]
{%
The NUDT Beamer Theme
}
\subtitle{An Example}
\author[Su Xing]
{
Su Xing\\
xingsu@nudt.edu.cn
}
\institute[NUDT]
{
College of Meteorology and Oceanography\\
National University of Defence Technology
}
\date[2019]{\today}
% The main document
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\section[Color Theme]{The NUDT Color Theme}
\subsection[NUDT VIRS]{The NUDT Visual Image Recognition System}
\begin{frame}
\frametitle{The NUDT Visual Image Recognition System}
The NUDT Visual Image Recognition System (VIRS) recommends
3 color series to be used in publicity materials
\begin{itemize}
\item Green\\
\tikz \fill [nudtcolora01] (0,0) rectangle (10pt, 10pt);
\tikz \fill [nudtcolora02] (0,0) rectangle (10pt, 10pt);
\tikz \fill [nudtcolora03] (0,0) rectangle (10pt, 10pt);
\item Yellow\\
\tikz \fill [nudtcolorb01] (0,0) rectangle (10pt, 10pt);
\tikz \fill [nudtcolorb02] (0,0) rectangle (10pt, 10pt);
\tikz \fill [nudtcolorb03] (0,0) rectangle (10pt, 10pt);
\item Golden\\
\tikz \fill [nudtcolorb01] (0,0) rectangle (10pt, 10pt);
\tikz \fill [nudtcolorb02] (0,0) rectangle (10pt, 10pt);
\tikz \fill [nudtcolorb03] (0,0) rectangle (10pt, 10pt);
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{NUDT VIRS Colors}
\framesubtitle{Mixed with White}
\begin{tikzpicture}[x=2.7em,y=1em,
header/.style={font=\fontsize{8}{8}\selectfont},
rgb/.style={font=\fontsize{5}{5}\selectfont}]
\node [header] at (.5,.5) {Color};
\foreach \name [count=\i] in {A01,A02,A03,B01,B02,B03,C01,C02,C03} {
\node [header] (\name) at (0.5+\i, 0.5) {\name};
}
\node [header] at (.5,-.5) {RGB};
\foreach \rgb [count=\i] in {195333,214D48,1F341F,E6D832,DEBF12,E9E63B,A18C4D,BDA51E,B8921A} {
\node [rgb] (\rgb) at (0.5+\i, -0.5) {\#\rgb};
}
\foreach \p [count=\j] in {100,90,...,10} {
\node [header] at (0.5,-.5-\j) {\p\%};
}
\foreach \c [count=\i] in {
nudtcolora01,nudtcolora02,nudtcolora03,
nudtcolorb01,nudtcolorb02,nudtcolorb03,
nudtcolorc01,nudtcolorc02,nudtcolorc03} {
\foreach \p [count=\j] in {100,90,...,10} {
\fill [\c!\p!white] (\i,-1-\j) rectangle +(.9,1);
}
}
\end{tikzpicture}
\end{frame}
\begin{frame}
\frametitle{NUDT VIRS Colors}
\framesubtitle{Mixed with Black}
\begin{tikzpicture}[x=2.7em,y=1em,
header/.style={font=\fontsize{8}{8}\selectfont},
rgb/.style={font=\fontsize{5}{5}\selectfont}]
\node [header] at (.5,.5) {Color};
\foreach \name [count=\i] in {A01,A02,A03,B01,B02,B03,C01,C02,C03} {
\node [header] (\name) at (0.5+\i, 0.5) {\name};
}
\node [header] at (.5,-.5) {RGB};
\foreach \rgb [count=\i] in {195333,214D48,1F341F,E6D832,DEBF12,E9E63B,A18C4D,BDA51E,B8921A} {
\node [rgb] (\rgb) at (0.5+\i, -0.5) {\#\rgb};
}
\foreach \p [count=\j] in {100,90,...,10} {
\node [header] at (0.5,-.5-\j) {\p\%};
}
\foreach \c [count=\i] in {
nudtcolora01,nudtcolora02,nudtcolora03,
nudtcolorb01,nudtcolorb02,nudtcolorb03,
nudtcolorc01,nudtcolorc02,nudtcolorc03} {
\foreach \p [count=\j] in {100,90,...,10} {
\fill [\c!\p!black] (\i,-1-\j) rectangle +(.9,1);
}
}
\end{tikzpicture}
\end{frame}
\subsection[Color Usage]{Color Usage in Beamer}
\begin{frame}[fragile]
\frametitle{Usage of NUDT VIRS Colors}
\begin{itemize}
\item The NUDT VIRS colors are assigned proper names via
the \texttt{\textbackslash{}definecolor} command provided
by \texttt{xcolor}
\begin{itemize}
\item \verb!\definecolor{nudtcolora01}{RGB}{25, 83, 51}!
\item \verb!\definecolor{nudtcolorb01}{RGB}{230, 216, 50}!
\end{itemize}
\item Users can use these colors for typesetting
\begin{itemize}
\item \verb!{\color{nudtcolorb01}yellow}!$\rightarrow$ {\color{nudtcolorb01}yellow}
\item \verb!{\color{nudtcolora01!!\verb!70}light green}!$\rightarrow$ {\color{nudtcolora01!70}light green}
\end{itemize}
\end{itemize}
\end{frame}
\section[Inner Theme]{The NUDT Inner Theme}
\begin{frame}
\frametitle{The Inner Theme}
\begin{itemize}
\item Use the inner theme \texttt{rectangules} to make the theme more dominant
\end{itemize}
\end{frame}
\section[Outer Theme]{The NUDT Outer Theme}
\begin{frame}
\frametitle{The Outer Theme}
\begin{itemize}
\item Use the outter theme \texttt{sidebar} to show sections
\begin{itemize}
\item Put the NUDT logoat top of the sidebar
\item Use \texttt{\color{nudtcolora01}nudtcolora01} as the background color
\end{itemize}
\end{itemize}
\end{frame}
\section[Font Theme]{The NUDT Font Theme}
\begin{frame}
\frametitle{The Font Theme}
\begin{itemize}
\item Use the default font theme of \textsc{beamer}
\end{itemize}
\end{frame}
\end{document}