-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35a6de6
commit 58a76a7
Showing
7 changed files
with
498 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
% This template mostly comes from Jiayi Weng. | ||
% https://github.com/Trinkle23897/THU-Beamer-Theme | ||
|
||
% The lateset FZU-Beamer-Theme is modified by Hanlin Cai. | ||
% The latex template file for FZU can be found here: | ||
% https://github.com/GuangLun2000/FZU-latex-template | ||
|
||
\RequirePackage{tikz} | ||
|
||
\mode<presentation> | ||
|
||
\newif\ifbeamer@secheader | ||
\beamer@secheaderfalse | ||
|
||
%\DeclareOptionBeamer{secheader}{\beamer@secheadertrue} | ||
\ProcessOptionsBeamer | ||
|
||
\useoutertheme[footline=authorinstitutetitle,subsection=false]{smoothbars} | ||
\makeatletter % [add curpage/total page at the bottom](http://tex.stackexchange.com/questions/100838/beamer-dresden-theme-miniframes-appeareance-and-frame-number-insertion) | ||
\newcommand{\frameofframes}{/} | ||
\newcommand{\setframeofframes}[1]{\renewcommand{\frameofframes}{#1}} | ||
\setbeamertemplate{footline} | ||
{% | ||
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot} | ||
\end{beamercolorbox} | ||
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% | ||
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}% | ||
\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}% | ||
\hfill% | ||
{\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}% | ||
\end{beamercolorbox}% | ||
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% | ||
leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% | ||
{\usebeamerfont{title in head/foot}\insertshorttitle}% | ||
\hfill% | ||
{\usebeamerfont{frame number}\usebeamercolor[fg]{frame number}\insertframenumber~\frameofframes~\inserttotalframenumber} | ||
\end{beamercolorbox}% | ||
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} | ||
\end{beamercolorbox} | ||
} | ||
\makeatother | ||
|
||
\useinnertheme{circles} | ||
|
||
%\useoutertheme{default} | ||
%\useinnertheme[shadow=true]{rounded} | ||
|
||
% \xdefinecolor{tsinghua}{rgb}{0.8,0.102,0.102} %RGB#82318E | ||
\xdefinecolor{tsinghua}{RGB}{151,31,48} %RGB#82318E | ||
\setbeamercolor{footline}{bg=tsinghua} | ||
\setbeamercolor{frametitle}{bg=tsinghua,fg=white} | ||
\setbeamercolor{title}{bg=tsinghua} | ||
\setbeamerfont{frametitle}{size=\large} | ||
%\setbeamertemplate{navigation symbols}{} | ||
\setbeamertemplate{bibliography item}[text] | ||
\setbeamertemplate{caption}[numbered] | ||
|
||
\setbeamercolor{palette primary}{use=structure,fg=white,bg=structure.fg} | ||
\setbeamercolor{palette secondary}{use=structure,fg=white,bg=structure.fg!75!black} | ||
\setbeamercolor{palette tertiary}{use=structure,fg=white,bg=structure.fg!50!black} | ||
\setbeamercolor{palette quaternary}{fg=white,bg=structure.fg!50!black} | ||
%\setbeamercolor*{sidebar}{use=structure,bg=structure.fg} | ||
\setbeamercolor{titlelike}{parent=palette primary} | ||
|
||
%% try | ||
\setbeamercolor{block title}{bg=tsinghua,fg=white} | ||
\setbeamercolor*{block title example}{use={normal text,example text},bg=white,fg=tsinghua} | ||
\setbeamercolor{fine separation line}{} | ||
\setbeamercolor{item projected}{fg=white} | ||
\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} | ||
\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} | ||
\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} | ||
\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} | ||
%\setbeamercolor{palette sidebar quaternary}{fg=white} | ||
\setbeamercolor{section in sidebar}{fg=brown} | ||
\setbeamercolor{section in sidebar shaded}{fg=grey} | ||
\setbeamercolor{separation line}{} | ||
\setbeamercolor{sidebar}{bg=tsinghua} | ||
\setbeamercolor{sidebar}{parent=palette primary} | ||
\setbeamercolor{structure}{fg=tsinghua} | ||
\setbeamercolor{subsection in sidebar}{fg=brown} | ||
\setbeamercolor{subsection in sidebar shaded}{fg=grey} | ||
\AtBeginSection[]{ | ||
\begin{frame} | ||
\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide] | ||
\end{frame} | ||
} | ||
\AtBeginSubsection[]{ | ||
\begin{frame} | ||
\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide] | ||
\end{frame} | ||
} | ||
\setbeamertemplate{background}{\includegraphics{pic/FZU-background.pdf}} | ||
\mode | ||
<all> |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@inproceedings{origin, | ||
author = {unknown}, | ||
title = {THU Beamer Theme}, | ||
year = {2015}, | ||
url = {http://far.tooold.cn/post/latex/beamertsinghua}, | ||
} |
Oops, something went wrong.