mirror of
https://github.com/congyu711/BeamerTheme.git
synced 2025-07-12 08:31:31 +08:00
44 lines
1.6 KiB
TeX
44 lines
1.6 KiB
TeX
% This file contains some settings , it need to be input by your tex file.
|
|
|
|
\usepackage[english]{babel}
|
|
% TOC(table of content) using ordered list
|
|
\setbeamertemplate{section in toc}[sections numbered]
|
|
% unordered list using solid point
|
|
\setbeamertemplate{itemize item}{$\bullet$}
|
|
% set frame title for each page
|
|
\setbeamertemplate{frametitle}
|
|
{\vspace{1cm}
|
|
\insertframetitle
|
|
\vspace{-0.5cm}}
|
|
% delete original navigation
|
|
\setbeamertemplate{navigation symbols}{}
|
|
% set footline
|
|
\setbeamertemplate{footline}[text line]{%
|
|
\hfill\strut{%
|
|
\scriptsize\sf\color{black!60}%
|
|
\quad\insertframenumber
|
|
}%
|
|
\hfill
|
|
}
|
|
|
|
|
|
% define color
|
|
%\definecolor{alizarin}{rgb}{0.82, 0.1, 0.26} % a kind of red
|
|
%\definecolor{DarkFern}{HTML}{407428} % a kind of green
|
|
%\colorlet{main}{DarkFern!100!white} % first setting way(with color newly defined)
|
|
%\colorlet{main}{red!70!black} % second setting way(with internal color by setting gradient)
|
|
\definecolor{bistre}{rgb}{0.24, 0.17, 0.12} % a kind of black
|
|
\definecolor{mygrey}{rgb}{0.52, 0.52, 0.51} % a kind of grey
|
|
\colorlet{text}{bistre!100!white} % from now on, `text` implies the color defined
|
|
\colorlet{main}{green!50!black}
|
|
|
|
% set colors to elements, fg is the color itself, bg is the background color, !num! implies gradient
|
|
\setbeamercolor{title}{fg=main}
|
|
\setbeamercolor{frametitle}{fg=main}
|
|
\setbeamercolor{section in toc}{fg=text}
|
|
\setbeamercolor{normal text}{fg=text}
|
|
\setbeamercolor{block title}{fg=main,bg=mygrey!14!white}
|
|
\setbeamercolor{block body}{fg=black,bg=mygrey!10!white}
|
|
\setbeamercolor{qed symbol}{fg=main} % frame after proof
|
|
\setbeamercolor{math text}{fg=black}
|