-
Notifications
You must be signed in to change notification settings - Fork 2
/
example-zh.tex
224 lines (200 loc) · 7.26 KB
/
example-zh.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
\documentclass{beamer}
\usepackage{xeCJK}
\xeCJKsetup{AutoFakeBold=2}
\xeCJKsetup{AutoFakeSlant=true}
\setCJKmainfont{SimSun}
%% \usepackage{zhspacing}
%% \zhspacing
\usepackage{datetime}
\newdateformat{zhdate}{\THEYEAR{}年\THEMONTH{}月\THEDAY{}日}
\zhdate
%\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 \textsc{Beamer}]
{
国防科技大学\textsc{Beamer}主题
}
\subtitle{The NUDT \textsc{beamer} Theme}
\author[苏醒]
{
苏醒\\
{\footnotesize xingsu@nudt.edu.cn}
}
\institute[NUDT]
{
国防科技大学气象海洋学院
}
\date[2019]{\footnotesize\today}
% The main document
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\section{Overview}
\begin{frame}
\frametitle{The NUDT Beamer Theme}
The NUDT beamer theme consists of two components
\begin{itemize}
\item The NUDT color theme
\item The NUDT inner theme
\end{itemize}
\end{frame}
\section[Color Theme]{The NUDT Color Theme}
\subsection[视觉形象识别系统]{国防科技大学视觉形象识别系统}
\begin{frame}
\frametitle{国防科技大学\textbf{视觉形象识别系统}}
国防科技大学视觉形象识别系统
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[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]{The NUDT Inner Theme}
\begin{frame}
\frametitle{}
\framesubtitle{MMMMMMMMMMM}
\tdplotsetmaincoords{30}{0}
\begin{tikzpicture}[tdplot_main_coords]
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\end{tikzpicture}
\tdplotsetmaincoords{0}{30}
\begin{tikzpicture}[tdplot_main_coords]
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\end{tikzpicture}
\tdplotsetmaincoords{30}{60}
\begin{tikzpicture}[tdplot_main_coords]
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\end{tikzpicture}
\tdplotsetmaincoords{70}{110}
\begin{tikzpicture}[tdplot_main_coords]
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\tdplotsetthetaplanecoords{10}
\draw[tdplot_rotated_coords,color=blue,thick,->] (0,0,0)
-- (0,.5,0) node[anchor=north]{$y’$};
\tdplotsetthetaplanecoords{30}
\draw[tdplot_rotated_coords,color=red,thick,->] (0,0,0)
-- (0,.5,0) node[anchor=north]{$y’$};
\tdplotsetthetaplanecoords{45}
\draw[tdplot_rotated_coords,color=green,thick,->] (0,0,0)
-- (0,.5,0) node[anchor=north]{$y’$};
\tdplotsetthetaplanecoords{60}
\draw[tdplot_rotated_coords,color=yellow,thick,->] (0,0,0)
-- (0,.5,0) node[anchor=north]{$y’$};
\tdplotsetthetaplanecoords{80}
\draw[tdplot_rotated_coords,color=cyan,thick,->] (0,0,0)
-- (0,.5,0) node[anchor=north]{$y’$};
\end{tikzpicture}
\tdplotsetmaincoords{70}{110}
\begin{tikzpicture}[tdplot_main_coords]
\draw[thick,->] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[thick,->] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[thick,->] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
\tdplotsetcoord{o}{0}{0}{90}
\tdplotsetcoord{a}{.8}{90}{45}
\tdplotsetcoord{b}{.8}{45}{0}
\draw [color=red] (o)--(a);
\draw [color=blue] (o)--(b);
\end{tikzpicture}
\end{frame}
\end{document}