-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerthemecreation.sty
78 lines (51 loc) · 2.07 KB
/
beamerthemecreation.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
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
\mode<presentation>
% 主题其实包含主题(beamerthemexxx.sty)、内主题(beamerinnerthemexxx.sty)、外主题(beamerouterthemexxx.sty)、字体主题(beamerfontthemexxx.sty)、颜色主题(beamercolorthemexxx.sty)五个部分,分放在五个sty 文件中,写完这五个 sty 文件,再在你的文档中,使用usetheme{xxx},将你创作的主体包含进来即可。
% Color Theme只决定了颜色,Font Themes只决定了字体,Inner Themes决定了Frame环境下内部的枚举环境,块环境,定义环境,定理环境等样式,Outer Themes决定了frame中上下栏,左右侧栏,导航栏等元素的样式。而Presentation theme包含了以上所有四个内容,但是这四个内容可以相互独立替换。
%%%
%%% Inherit definitions from existing themes (DO NOT MODIFY THESE)
%%%
% Layout scheme for outer elements: split header and footer
\useoutertheme{split}
% Color scheme for outer elements: use background colors
\usecolortheme{whale}
% Layout scheme for inner elements: rounded elements
\useinnertheme[shadow]{rounded}
% Color scheme for inner elements: use foreground colors
\usecolortheme{orchid}
%%%
%%% Requirement
%%%
\usepackage{xeCJK}
\usepackage{amsmath,amsfonts,amssymb,bm}
\usepackage{color}
\usepackage{graphicx,hyperref,url}
%列表
\usepackage{enumerate}%有序列表
\usepackage{pifont}%解说列表description
%表格
\usepackage{graphicx}%表格
\usepackage{booktabs, multicol, multirow}%调整表格行高
\usepackage{bigstrut}
%文本框
\usepackage{tcolorbox}
\tcbuselibrary{skins,vignette,raster,listings,listingsutf8,theorems, breakable,magazine,fitting}
%图像处理
\usepackage{graphicx}
\usepackage{float}%允许浮动
\usepackage{caption}%设置标题
\usepackage{graphicx, subfig}
%数学公式
\usepackage{mathtools}%花括号括起的公式
%Tikz绘图
\usepackage{tikz}
\usepackage{pgfplots}
% 其他
% \RequirePackage{xcolor}
% \RequirePackage{ifthen}
% \RequirePackage[many]{tcolorbox}
% Import
\useinnertheme{creation}
\useoutertheme{creation}
\usecolortheme{creation}
\usefonttheme{creation}
\mode<all>