texlive[41404] Master/texmf-dist: beamertheme-epyt (25may16)
commits+karl at tug.org
commits+karl at tug.org
Sun Jun 12 18:09:40 CEST 2016
Revision: 41404
http://tug.org/svn/texlive?view=revision&revision=41404
Author: karl
Date: 2016-06-12 18:09:40 +0200 (Sun, 12 Jun 2016)
Log Message:
-----------
beamertheme-epyt (25may16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/README
trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex
trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf
trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex
trunk/Master/texmf-dist/tex/latex/beamertheme-epyt/beamerthemeepyt.sty
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/README 2016-06-12 16:09:18 UTC (rev 41403)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/README 2016-06-12 16:09:40 UTC (rev 41404)
@@ -1,11 +1,8 @@
-Package epyt: a simple and clean theme for LaTeX beamer class
-Copyright (C) 2013-2015 Zou Hu <zohooo at yeah.net>
+Package epyt: a simple and clean theme for LaTeX beamer class.
+Please report bugs, problems, and suggestions via
-Please report bugs, problems, and suggestions via
https://github.com/zohooo/epyt
The package may be distributed and/or modified under the conditions
of the LaTeX Project Public License, either version 1.3 of this
-license or (at your option) any later version. The latest version
-of this license is in
- http://www.latex-project.org/lppl.txt
+license or (at your option) any later version.
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex 2016-06-12 16:09:18 UTC (rev 41403)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex 2016-06-12 16:09:40 UTC (rev 41404)
@@ -1,26 +1,22 @@
% -*- coding: utf-8 -*-
% !TEX program = xelatex
-\documentclass[14pt,notheorems,xcolor={rgb}]{beamer}
+\documentclass[14pt,notheorems]{beamer}
\usetheme[style=beta]{epyt} % alpha, beta, delta, gamma, zeta
-\usepackage{arev} % use arev sans font
-
\usepackage[UTF8,noindent]{ctex}
-\setlength{\parskip}{5pt plus 1pt minus 1pt}
-
\usepackage{listings}
\lstset{
basicstyle=\ttfamily,xleftmargin=0em,
- commentstyle=\color{teal},keywordstyle=\color{accent4},
+ commentstyle=\color{teal},keywordstyle=\color{acolor4},
language=[LaTeX]{TeX},morekeywords={usetheme,epytsetup}
}
-\newcommand{\mylead}[1]{\textcolor{accent1}{#1}}
-\newcommand{\mybold}[1]{\textcolor{accent2}{#1}}
-\newcommand{\mywarn}[1]{\textcolor{accent3}{#1}}
+\newcommand{\mylead}[1]{\textcolor{acolor1}{#1}}
+\newcommand{\mybold}[1]{\textcolor{acolor2}{#1}}
+\newcommand{\mywarn}[1]{\textcolor{acolor3}{#1}}
\newtheorem{theorem}{定理}
\newtheorem{definition}[theorem]{定义}
@@ -61,25 +57,22 @@
\begin{frame}{下载安装}
\mylead{Epyt} 主题已经包含在主要的 TeX 发行版中。
\begin{itemize}
- \item 在 MiKTeX 中作为 \mybold{beamer-theme-epyt} 宏包。
- \item 在 TeXLive 中作为 \mybold{epyt} 宏包。
+ \item 在 MiKTeX 中作为 \mybold{beamertheme-epyt} 宏包。
+ \item 在 TeXLive 中作为 \mybold{beamertheme-epyt} 宏包。
\end{itemize}
你可以在包管理器中安装它。当然也可以直接从
-\href{https://www.ctan.org/pkg/epyt}{CTAN} 中下载并安装。
+\href{https://www.ctan.org/pkg/beamertheme-epyt}{CTAN} 中下载并安装。
\end{frame}
\begin{frame}[fragile]{开始使用}
-下面的代码是使用 \mylead{epyt} 主题的最简单例子。
+要使用 \mylead{epyt} 主题,可以在导言区中加入下面一行。
\begin{lstlisting}
-\documentclass[xcolor={rgb}]{beamer}
\usetheme{epyt}
\end{lstlisting}\pause
如果要使用中文,可以添加 \verb ctex 宏包,例如:
\begin{lstlisting}
-\usepacakge[UTF8,noindent]{ctex}
-\end{lstlisting}\pause
-注意你\mywarn{必须}给 xcolor 宏包传递 rgb 参数。
-这是因为 epyt 主题总是使用 HSB 颜色模型。
+\usepackage[UTF8,noindent]{ctex}
+\end{lstlisting}
\end{frame}
\begin{frame}[fragile]{样式选用}
@@ -109,50 +102,23 @@
\begin{frame}{预定义的颜色}
每种样式都预先定义了五种强调颜色。当前样式的强调颜色如下所示。
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
\pause 每种样式也预先定义了五种填充颜色,如下所示。
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\pause 用 tikz 绘图时可以使用这些预先定义的颜色。
\end{frame}
-\epytsetup{style=zeta}
-
-\begin{frame}[plain]\transboxout
-\titlepage
-\end{frame}
-
-\section{白色文字红色背景}
-
-\begin{frame}{预定义的颜色}
-当前样式预先定义了五种强调颜色,如下所示。
-\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
-\end{flushleft}
-当前样式预先定义了五种填充颜色,如下所示。
-\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
-\end{flushleft}
-\end{frame}
-
\epytsetup{style=gamma}
\begin{frame}[plain]\transboxout
@@ -164,19 +130,19 @@
\begin{frame}{预定义的颜色}
当前样式预先定义了五种强调颜色,如下所示。
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
当前样式预先定义了五种填充颜色,如下所示。
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
@@ -201,19 +167,19 @@
\begin{frame}{预定义的颜色}
当前样式预先定义了五种强调颜色,如下所示。
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
当前样式预先定义了五种填充颜色,如下所示。
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
@@ -228,19 +194,19 @@
\begin{frame}{预定义的颜色}
当前样式预先定义了五种强调颜色,如下所示。
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
当前样式预先定义了五种填充颜色,如下所示。
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
@@ -255,4 +221,31 @@
\end{proof}
\end{frame}
+\epytsetup{style=zeta}
+
+\begin{frame}[plain]\transboxout
+\titlepage
+\end{frame}
+
+\section{白色文字红色背景}
+
+\begin{frame}{预定义的颜色}
+当前样式预先定义了五种强调颜色,如下所示。
+\begin{flushleft}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
+\end{flushleft}
+当前样式预先定义了五种填充颜色,如下所示。
+\begin{flushleft}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
+\end{flushleft}
+\end{frame}
+
\end{document}
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex 2016-06-12 16:09:18 UTC (rev 41403)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex 2016-06-12 16:09:40 UTC (rev 41404)
@@ -1,23 +1,19 @@
% -*- coding: utf-8 -*-
% !TEX program = xelatex
-\documentclass[12pt,xcolor={rgb}]{beamer}
+\documentclass[12pt]{beamer}
\usetheme[style=beta]{epyt} % alpha, beta, delta, gamma, zeta
-\usepackage{arev} % use arev sans font
-
-\setlength{\parskip}{5pt plus 1pt minus 1pt}
-
\usepackage{listings}
\lstset{
basicstyle=\ttfamily,xleftmargin=2em,
- commentstyle=\color{teal},keywordstyle=\color{accent4},
+ commentstyle=\color{teal},keywordstyle=\color{acolor4},
language=[LaTeX]{TeX},morekeywords={usetheme,epytsetup}
}
-\newcommand{\mylead}[1]{\textcolor{accent1}{#1}}
-\newcommand{\mybold}[1]{\textcolor{accent2}{#1}}
-\newcommand{\mywarn}[1]{\textcolor{accent3}{#1}}
+\newcommand{\mylead}[1]{\textcolor{acolor1}{#1}}
+\newcommand{\mybold}[1]{\textcolor{acolor2}{#1}}
+\newcommand{\mywarn}[1]{\textcolor{acolor3}{#1}}
\begin{document}
@@ -50,17 +46,17 @@
\begin{frame}{Getting the Theme}
\mylead{Epyt} theme is contained in major TeX distributions.
\begin{itemize}
- \item In MiKTeX as \mybold{beamer-theme-epyt} package.
- \item In TeXLive as \mybold{epyt} package.
+ \item In MiKTeX as \mybold{beamertheme-epyt} package.
+ \item In TeXLive as \mybold{beamertheme-epyt} package.
\end{itemize}
You could install \mylead{epyt} in the package manager.\par\pause
-Also you could download \mylead{epyt} from \href{https://www.ctan.org/pkg/epyt}{CTAN}.
+Also you could download \mylead{epyt} from \href{https://www.ctan.org/pkg/beamertheme-epyt}{CTAN}.
\end{frame}
\begin{frame}[fragile]{Getting Started}
The following code is a minimal example using \mylead{epyt} theme.
\begin{lstlisting}
-\documentclass[xcolor={rgb}]{beamer}
+\documentclass{beamer}
\usetheme{epyt}
\begin{document}
\begin{frame}{Hello}
@@ -68,9 +64,6 @@
\end{frame}
\end{document}
\end{lstlisting}
-\pause
-Note that you \mywarn{should} pass rgb option to xcolor package,
-since epyt theme always uses HSB colors.
\end{frame}
\begin{frame}[fragile]{Customization}
@@ -101,19 +94,19 @@
For each style, five accent colors are predefined.
With current style, they are the followings.
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
-\pause Also five filler colors are predefined for each style.
+\pause Also five filling colors are predefined for each style.
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\pause These colors are useful when you are drawing a tikz picture.
\end{frame}
@@ -129,19 +122,19 @@
\begin{frame}{Predefined Colors}
Five accent colors are predefined for this style.
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
-Also five filler colors are predefined for this style.
+Also five filling colors are predefined for this style.
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
@@ -166,19 +159,19 @@
\begin{frame}{Predefined Colors}
Five accent colors are predefined for this style.
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
-Also five filler colors are predefined for this style.
+Also five filling colors are predefined for this style.
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
@@ -205,19 +198,19 @@
\begin{frame}{Predefined Colors}
Five accent colors are predefined for this style.
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
-Also five filler colors are predefined for this style.
+Also five filling colors are predefined for this style.
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
@@ -232,19 +225,19 @@
\begin{frame}{Predefined Colors}
Five accent colors are predefined for this style.
\begin{flushleft}
-\textcolor{accent1}{accent1}
-\textcolor{accent2}{accent2}
-\textcolor{accent3}{accent3}
-\textcolor{accent4}{accent4}
-\textcolor{accent5}{accent5}
+\textcolor{acolor1}{acolor1}
+\textcolor{acolor2}{acolor2}
+\textcolor{acolor3}{acolor3}
+\textcolor{acolor4}{acolor4}
+\textcolor{acolor5}{acolor5}
\end{flushleft}
-Also five filler colors are predefined for this style.
+Also five filling colors are predefined for this style.
\begin{flushleft}
-\colorbox{filler1}{filler1}
-\colorbox{filler2}{filler2}
-\colorbox{filler3}{filler3}
-\colorbox{filler4}{filler4}
-\colorbox{filler5}{filler5}
+\colorbox{fcolor1}{fcolor1}
+\colorbox{fcolor2}{fcolor2}
+\colorbox{fcolor3}{fcolor3}
+\colorbox{fcolor4}{fcolor4}
+\colorbox{fcolor5}{fcolor5}
\end{flushleft}
\end{frame}
Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-epyt/beamerthemeepyt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-epyt/beamerthemeepyt.sty 2016-06-12 16:09:18 UTC (rev 41403)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-epyt/beamerthemeepyt.sty 2016-06-12 16:09:40 UTC (rev 41404)
@@ -1,12 +1,9 @@
% -*- coding: utf-8 -*-
-\ProvidesPackage{beamerthemeepyt}[2016/05/14 v0.8]
+\ProvidesPackage{beamerthemeepyt}[2016/05/25 v1.0]
\makeatletter
-\RequirePackage{tikz}
-\usetikzlibrary{patterns}
-
%%% presentation mode
\mode<presentation>
@@ -17,6 +14,8 @@
%% basic settings
+\setlength{\parskip}{5pt plus 1pt minus 1pt}
+
\setbeamersize{text margin left=8mm,text margin right=8mm}
%\geometry{hmargin=1em,vmargin=0em}
@@ -42,31 +41,17 @@
\pgfuseshading{epyt at backgroundshading}%
}
-\defbeamertemplate{background}{brick}
-{%
- \usebeamercolor{normal text}%
- \begin{tikzpicture}
- \draw[pattern=bricks, pattern color=normal text.bg!80!black]
- (0,0) rectangle (\paperwidth-\pgflinewidth,\paperheight-\pgflinewidth);
- \end{tikzpicture}
-}
-\defbeamertemplate{background}{line}
-{%
- \usebeamercolor{normal text}%
- \begin{tikzpicture}
- \draw[pattern=horizontal lines, pattern color=normal text.bg!90!normal text.fg]
- (0,0) rectangle (\paperwidth,\paperheight);
- \end{tikzpicture}
-}
-
\defbeamertemplate{frametitle}{simple}
{%
- \noindent\usebeamerfont{frametitle}\insertframetitle\par
+ \begingroup\offinterlineskip
+ \begin{beamercolorbox}[wd=\paperwidth,leftskip=\beamer at leftmargin]{frametitle}
+ \vskip6pt
+ \noindent\usebeamerfont{frametitle}\strut\insertframetitle\strut\par
+ \vskip4pt
+ \end{beamercolorbox}
+ \endgroup
}
-\setbeamertemplate{frametitle}[simple]
-\setbeamertemplate{navigation symbols}{}
-
\defbeamertemplate{footline}{simple}
{
\hbox{%
@@ -84,25 +69,26 @@
\end{beamercolorbox}%
}%
}
-\defbeamertemplate{footline}{sectioning}
-{
- \hbox{%
- \begin{beamercolorbox}[wd=.8\paperwidth,ht=2.25ex,dp=1ex,left]{footline}%
- \usebeamerfont{footline}\hspace*{\beamer at leftmargin}\insertshorttitle
- \ifx\insertsection\@empty\else\qquad$\vartriangleright$\qquad\insertsection\fi
- \ifx\insertsubsection\@empty\else\qquad$\vartriangleright$\qquad\insertsubsection\fi
- \end{beamercolorbox}%
- \begin{beamercolorbox}[wd=.2\paperwidth,ht=2.25ex,dp=1ex,right]{footline}%
- \usebeamerfont{footline}%
- \hyperlinkframeendprev{$\vartriangle$}
- \Acrobatmenu{GoToPage}{\insertframenumber{}/\inserttotalframenumber}
- \hyperlinkframestartnext{$\triangledown$}\hspace*{\beamer at rightmargin}
- \end{beamercolorbox}%
+
+%% -------------------- inner template --------------------
+
+\defbeamertemplate{title separator one}{simple}{%
+ \hbox to \hsize{\hrulefill}%
+}
+\defbeamertemplate{title separator one}{triangle}{
+ \hbox to \hsize{%
+ \tiny\leaders\hbox to 1em{\hss$\triangleright$\hss}\hfill
}%
}
-\setbeamertemplate{footline}[simple]
-%% -------------------- inner template --------------------
+\defbeamertemplate{title separator two}{simple}{
+ \hbox to \hsize{\hrulefill}%
+}
+\defbeamertemplate{title separator two}{triangle}{
+ \hbox to \hsize{%
+ \tiny\leaders\hbox to 1em{\hss$\triangleleft$\hss}\hfill
+ }%
+}
\defbeamertemplate{title page}{simple}[1][]{
\begin{beamercolorbox}[#1]{title}
@@ -114,35 +100,8 @@
\usebeamerfont{subtitle}\insertsubtitle
\end{beamercolorbox}
\fi%
- \vskip2em{\color{text1!50!back1}\hrule}\vskip2em
- \begin{beamercolorbox}[#1]{author}
- \usebeamerfont{author}\insertauthor
- \end{beamercolorbox}
- \ifx\insertinstitute\@empty\else
- \vskip0.7em
- \begin{beamercolorbox}[#1]{institute}
- \usebeamerfont{institute}\insertinstitute
- \end{beamercolorbox}
- \fi%
- \vskip2em{\color{text1!50!back1}\hrule}\vskip2em
- \begin{beamercolorbox}[#1]{date}
- \usebeamerfont{date}\insertdate
- \end{beamercolorbox}
-}
-
-\defbeamertemplate{title page}{triangle}[1][]{
- \begin{beamercolorbox}[#1]{title}
- \usebeamerfont{title}\inserttitle
- \end{beamercolorbox}
- \ifx\insertsubtitle\@empty\else
- \vskip0.7em
- \begin{beamercolorbox}[#1]{subtitle}
- \usebeamerfont{subtitle}\insertsubtitle
- \end{beamercolorbox}
- \fi%
\vskip18pt{%
- \color{text1!50!back1}\leavevmode\tiny
- \leaders\hbox to 1em{\hss$\triangleright$\hss}\hfill
+ \usebeamercolor[fg]{title separator one}\usebeamertemplate{title separator one}%
}\vskip18pt
\begin{beamercolorbox}[#1]{author}
\usebeamerfont{author}\insertauthor
@@ -154,8 +113,7 @@
\end{beamercolorbox}
\fi%
\vskip18pt{%
- \color{text1!50!back1}\leavevmode\tiny
- \leaders\hbox to 1em{\hss$\triangleleft$\hss}\hfill
+ \usebeamercolor[fg]{title separator two}\usebeamertemplate{title separator two}%
}\vskip18pt
\begin{beamercolorbox}[#1]{date}
\usebeamerfont{date}\insertdate
@@ -162,33 +120,50 @@
\end{beamercolorbox}
}
-\setbeamertemplate{itemize items}[default]
-\setbeamertemplate{enumerate items}[default]
+% sections and subsections
-\setbeamertemplate{section in toc}[sections numbered]
-\setbeamertemplate{subsection in toc}{}
+% create new template for section
+\defbeamertemplate{section}{simple}{%
+ \insertsectionnumber.\hspace*{1ex}\insertsection%
+}
-% sections and subsections
+\AtBeginSection[]{\frame[plain]{\sectionpage}}
-\AtBeginSection[]{\frame{\sectionpage}}
-
\defbeamertemplate{section page}{simple}{
- \begin{center}
- \usebeamerfont{section in toc}
- \tableofcontents[sectionstyle=show/hide,subsectionstyle=hide]
- \end{center}
+ \begin{beamercolorbox}[wd=\textwidth,center]{section title}%
+ \usebeamerfont{section title}
+ \usebeamertemplate{section}%
+ \end{beamercolorbox}
+ {%
+ \usebeamercolor[fg]{title separator one}%
+ \usebeamertemplate{title separator one}%
+ }%
}
-\setbeamertemplate{section page}[simple]
-\AtBeginSubsection[]{\frame{\subsectionpage}}
+% create new template for subsection
+\defbeamertemplate{subsection}{simple}{%
+ \insertsectionnumber.\insertsubsectionnumber\hspace*{2ex}\insertsubsection%
+}
+\AtBeginSubsection[]{\frame[plain]{\subsectionpage}}
+
\defbeamertemplate{subsection page}{simple}{
- \begin{beamercolorbox}[wd=\paperwidth,center]{subsection in toc}%
- \usebeamerfont{subsection in toc}\insertsectionnumber.\insertsubsectionnumber\hspace*{2ex}\insertsubsection%
+ \begin{beamercolorbox}[wd=\textwidth,center]{subsection title}%
+ \usebeamerfont{subsection title}%
+ \usebeamertemplate{subsection}%
\end{beamercolorbox}%
+ {%
+ \usebeamercolor[fg]{title separator one}%
+ \usebeamertemplate{title separator one}%
+ }%
}
-\setbeamertemplate{subsection page}[simple]
+\defbeamertemplate{subsection in toc}{triangle}{%
+ \leavevmode\leftskip=2.5em\scriptsize\raise1.25pt%
+ \rlap{\hskip-1.5em\donotcoloroutermaths$\blacktriangleright$}%
+ \normalsize\inserttocsubsection\par
+}
+
% disable block style for theorems
\defbeamertemplate{theorem begin}{simple}
@@ -218,41 +193,44 @@
\setbeamerfont{author}{size=\large}
\setbeamerfont{institute}{size=\normalsize}
\setbeamerfont{date}{size=\large}
-\setbeamerfont{section in toc}{size=\Large}
-\setbeamerfont{subsection in toc}{size=\large}
+\setbeamerfont{section in toc}{size=\large}
+\setbeamerfont{subsection in toc}{size=\normalsize}
\setbeamerfont{frametitle}{size=\large}
+\setbeamerfont{block title}{size=\normalsize}
\usefonttheme{professionalfonts} % there is some problem with default math fonts
-%\usepackage{arev}
+\usepackage{arev} % use arev sans font
%% -------------------- color theme --------------------
-% always use rgb colors in pdf files
-\substitutecolormodel{hsb}{rgb}
-
\def\beamer at epyt@style at do@alpha{
\definecolor{gray1}{gray}{0.1}
- \definecolor{red69}{Hsb}{0,0.6,0.9}
- \definecolor{yellow69}{Hsb}{60,0.6,0.9}
- \definecolor{yellow99}{Hsb}{60,0.9,0.9}
- \definecolor{green69}{Hsb}{120,0.6,0.9}
- \definecolor{cyan69}{Hsb}{180,0.6,0.9}
- \definecolor{azure39}{Hsb}{210,0.3,0.9}
- \definecolor{magenta69}{Hsb}{300,0.6,0.9}
- \colorlet{text1}{white}
- \colorlet{back1}{black}
- \colorlet{accent1}{yellow69}
- \colorlet{accent2}{green69}
- \colorlet{accent3}{red69}
- \colorlet{accent4}{cyan69}
- \colorlet{accent5}{magenta69}
+ \definecolor{red69}{HTML}{E55C5C}
+ \definecolor{yellow69}{HTML}{E5E55C}
+ \definecolor{yellow99}{HTML}{E6E617}
+ \definecolor{green69}{HTML}{5CE55C}
+ \definecolor{cyan69}{HTML}{5CE6E5}
+ \definecolor{azure39}{HTML}{A1C3E5}
+ \definecolor{magenta69}{HTML}{E55CE5}
+ \colorlet{fgcolor}{white}
+ \colorlet{bgcolor}{black}
+ \colorlet{acolor1}{yellow69}
+ \colorlet{acolor2}{green69}
+ \colorlet{acolor3}{red69}
+ \colorlet{acolor4}{cyan69}
+ \colorlet{acolor5}{magenta69}
\setbeamercolor{normal text}{bg=black,fg=white}
\setbeamercolor{structure}{fg=yellow99}
\setbeamercolor{local structure}{fg=azure39}
\setbeamercolor{footline}{bg=,fg=white}
\setbeamertemplate{background canvas}[myshading][top=black,middle=gray1,bottom=darkgray]
- \setbeamertemplate{background}[line]
+ \setbeamertemplate{background}[grid][step=1mm,color=fgcolor!10!bgcolor]
+ \setbeamertemplate{footline}[simple]
+ \setbeamertemplate{title separator one}[triangle]
+ \setbeamertemplate{title separator two}[triangle]
\setbeamertemplate{title page}[simple][left]
+ \setbeamertemplate{section page}[simple]
+ \setbeamertemplate{subsection page}[simple]
\setbeamertemplate{theorem begin}[default]
\setbeamertemplate{theorem end}[default]
\setbeamertemplate{proof begin}[default]
@@ -259,26 +237,31 @@
\setbeamertemplate{proof end}[default]
}
\def\beamer at epyt@style at do@beta{
- \definecolor{red99}{Hsb}{0,0.9,0.9}
- \definecolor{yellow86}{Hsb}{60,0.8,0.6}
- \definecolor{cyan95}{Hsb}{180,0.9,0.5}
- \definecolor{blue77}{Hsb}{240,0.7,0.7}
- \definecolor{blue99}{Hsb}{240,0.9,0.9}
- \definecolor{magenta88}{Hsb}{300,0.8,0.8}
- \colorlet{text1}{black}
- \colorlet{back1}{white}
- \colorlet{accent1}{blue99}
- \colorlet{accent2}{cyan95}
- \colorlet{accent3}{red99}
- \colorlet{accent4}{yellow86}
- \colorlet{accent5}{magenta88}
+ \definecolor{red99}{HTML}{E61717}
+ \definecolor{yellow86}{HTML}{99991F}
+ \definecolor{cyan95}{HTML}{0D8080}
+ \definecolor{blue77}{HTML}{3636B2}
+ \definecolor{blue99}{HTML}{1717E6}
+ \definecolor{magenta88}{HTML}{CC29CC}
+ \colorlet{fgcolor}{black}
+ \colorlet{bgcolor}{white}
+ \colorlet{acolor1}{blue99}
+ \colorlet{acolor2}{cyan95}
+ \colorlet{acolor3}{red99}
+ \colorlet{acolor4}{yellow86}
+ \colorlet{acolor5}{magenta88}
\setbeamercolor{normal text}{bg=white,fg=black}
\setbeamercolor{structure}{fg=blue99}
\setbeamercolor{local structure}{fg=cyan95}
\setbeamercolor{footline}{bg=blue77,fg=white}
\setbeamertemplate{background canvas}[default]
- \setbeamertemplate{background}[line]
- \setbeamertemplate{title page}[triangle][center]
+ \setbeamertemplate{background}[grid][step=1mm,color=fgcolor!10!bgcolor]
+ \setbeamertemplate{footline}[simple]
+ \setbeamertemplate{title separator one}[triangle]
+ \setbeamertemplate{title separator two}[triangle]
+ \setbeamertemplate{title page}[simple][center]
+ \setbeamertemplate{section page}[simple]
+ \setbeamertemplate{subsection page}[simple]
\setbeamertemplate{theorem begin}[simple]
\setbeamertemplate{theorem end}[simple]
\setbeamertemplate{proof begin}[simple]
@@ -285,24 +268,24 @@
\setbeamertemplate{proof end}[simple]
}
\def\beamer at epyt@style at do@delta{
- \definecolor{red69}{Hsb}{0,0.6,0.9}
- \definecolor{yellow69}{Hsb}{60,0.6,0.9}
- \definecolor{yellow99}{Hsb}{60,0.9,0.9}
- \definecolor{green69}{Hsb}{120,0.6,0.9}
- \definecolor{cyan69}{Hsb}{180,0.6,0.9}
- \definecolor{azure39}{Hsb}{210,0.3,0.9}
- \definecolor{blue77}{Hsb}{240,0.7,0.7}
- \definecolor{blue88}{Hsb}{240,0.8,0.8}
- \definecolor{blue97}{Hsb}{240,0.9,0.7}
- \definecolor{magenta69}{Hsb}{300,0.6,0.9}
- \definecolor{purple94}{Hsb}{330,0.9,0.4}
- \colorlet{text1}{white}
- \colorlet{back1}{blue77}
- \colorlet{accent1}{yellow69}
- \colorlet{accent2}{green69}
- \colorlet{accent3}{red69}
- \colorlet{accent4}{cyan69}
- \colorlet{accent5}{magenta69}
+ \definecolor{red69}{HTML}{E55C5C}
+ \definecolor{yellow69}{HTML}{E5E55C}
+ \definecolor{yellow99}{HTML}{E6E617}
+ \definecolor{green69}{HTML}{5CE55C}
+ \definecolor{cyan69}{HTML}{5CE6E5}
+ \definecolor{azure39}{HTML}{A1C3E5}
+ \definecolor{blue77}{HTML}{3636B2}
+ \definecolor{blue88}{HTML}{2929CC}
+ \definecolor{blue97}{HTML}{1212B3}
+ \definecolor{magenta69}{HTML}{E55CE5}
+ \definecolor{purple94}{HTML}{660A38}
+ \colorlet{fgcolor}{white}
+ \colorlet{bgcolor}{blue77}
+ \colorlet{acolor1}{yellow69}
+ \colorlet{acolor2}{green69}
+ \colorlet{acolor3}{red69}
+ \colorlet{acolor4}{cyan69}
+ \colorlet{acolor5}{magenta69}
\setbeamercolor{normal text}{bg=blue77,fg=white}
\setbeamercolor{structure}{fg=yellow99}
\setbeamercolor{local structure}{fg=azure39}
@@ -311,7 +294,12 @@
\setbeamercolor{navigation symbols dimmed}{fg=purple94}
\setbeamertemplate{background canvas}[myshading][top=blue97,middle=blue77,bottom=blue97]
\setbeamertemplate{background}[grid][step=1mm,color=blue88]
+ \setbeamertemplate{footline}[simple]
+ \setbeamertemplate{title separator one}[simple]
+ \setbeamertemplate{title separator two}[simple]
\setbeamertemplate{title page}[simple][center]
+ \setbeamertemplate{section page}[simple]
+ \setbeamertemplate{subsection page}[simple]
\setbeamertemplate{theorem begin}[simple]
\setbeamertemplate{theorem end}[simple]
\setbeamertemplate{proof begin}[simple]
@@ -318,22 +306,22 @@
\setbeamertemplate{proof end}[simple]
}
\def\beamer at epyt@style at do@gamma{
- \definecolor{red69}{Hsb}{0,0.6,0.9}
- \definecolor{brown96}{Hsb}{30,0.9,0.6}
- \definecolor{yellow69}{Hsb}{60,0.6,0.9}
- \definecolor{green33}{Hsb}{120,0.3,0.3}
- \definecolor{green39}{Hsb}{120,0.3,0.9}
- \definecolor{green53}{Hsb}{120,0.5,0.3}
- \definecolor{green69}{Hsb}{120,0.6,0.9}
- \definecolor{cyan69}{Hsb}{180,0.6,0.9}
- \definecolor{magenta69}{Hsb}{300,0.6,0.9}
- \colorlet{text1}{white}
- \colorlet{back1}{green33}
- \colorlet{accent1}{yellow69}
- \colorlet{accent2}{green69}
- \colorlet{accent3}{red69}
- \colorlet{accent4}{cyan69}
- \colorlet{accent5}{magenta69}
+ \definecolor{red69}{HTML}{E55C5C}
+ \definecolor{brown96}{HTML}{99540F}
+ \definecolor{yellow69}{HTML}{E5E55C}
+ \definecolor{green33}{HTML}{364D36}
+ \definecolor{green39}{HTML}{A1E5A1}
+ \definecolor{green53}{HTML}{264D26}
+ \definecolor{green69}{HTML}{5CE55C}
+ \definecolor{cyan69}{HTML}{5CE6E5}
+ \definecolor{magenta69}{HTML}{E55CE5}
+ \colorlet{fgcolor}{white}
+ \colorlet{bgcolor}{green33}
+ \colorlet{acolor1}{yellow69}
+ \colorlet{acolor2}{green69}
+ \colorlet{acolor3}{red69}
+ \colorlet{acolor4}{cyan69}
+ \colorlet{acolor5}{magenta69}
\setbeamercolor{normal text}{bg=green33,fg=white}
\setbeamercolor{structure}{fg=yellow}
\setbeamercolor{local structure}{fg=green39}
@@ -342,7 +330,12 @@
\setbeamercolor{navigation symbols dimmed}{fg=brown96}
\setbeamertemplate{background canvas}[default]
\setbeamertemplate{background}[grid][step=1mm,color=green53]
- \setbeamertemplate{title page}[triangle][left]
+ \setbeamertemplate{footline}[simple]
+ \setbeamertemplate{title separator one}[triangle]
+ \setbeamertemplate{title separator two}[triangle]
+ \setbeamertemplate{title page}[simple][center]
+ \setbeamertemplate{section page}[simple]
+ \setbeamertemplate{subsection page}[simple]
\setbeamertemplate{theorem begin}[default]
\setbeamertemplate{theorem end}[default]
\setbeamertemplate{proof begin}[default]
@@ -349,21 +342,21 @@
\setbeamertemplate{proof end}[default]
}
\def\beamer at epyt@style at do@zeta{
- \definecolor{red85}{Hsb}{0,0.8,0.5}
- \definecolor{red87}{Hsb}{0,0.8,0.7}
- \definecolor{yellow69}{Hsb}{60,0.6,0.9}
- \definecolor{yellow99}{Hsb}{60,0.9,0.9}
- \definecolor{green69}{Hsb}{120,0.6,0.9}
- \definecolor{cyan69}{Hsb}{180,0.6,0.9}
- \definecolor{blue5x}{Hsb}{240,0.5,1}
- \definecolor{magenta6x}{Hsb}{300,0.6,1}
- \colorlet{text1}{white}
- \colorlet{back1}{red87}
- \colorlet{accent1}{yellow69}
- \colorlet{accent2}{green69}
- \colorlet{accent3}{magenta6x}
- \colorlet{accent4}{cyan69}
- \colorlet{accent5}{blue5x}
+ \definecolor{red85}{HTML}{801919}
+ \definecolor{red87}{HTML}{B32424}
+ \definecolor{yellow69}{HTML}{E5E55C}
+ \definecolor{yellow99}{HTML}{E6E617}
+ \definecolor{green69}{HTML}{5CE55C}
+ \definecolor{cyan69}{HTML}{5CE6E5}
+ \definecolor{blue5x}{HTML}{8080FF}
+ \definecolor{magenta6x}{HTML}{FF66FF}
+ \colorlet{fgcolor}{white}
+ \colorlet{bgcolor}{red87}
+ \colorlet{acolor1}{yellow69}
+ \colorlet{acolor2}{green69}
+ \colorlet{acolor3}{magenta6x}
+ \colorlet{acolor4}{cyan69}
+ \colorlet{acolor5}{blue5x}
\setbeamercolor{normal text}{bg=red87,fg=white}
\setbeamercolor{structure}{fg=yellow99}
\setbeamercolor{local structure}{fg=yellow99}
@@ -371,8 +364,13 @@
\setbeamercolor{navigation symbols}{bg=black}
\setbeamercolor{navigation symbols dimmed}{fg=black}
\setbeamertemplate{background canvas}[myshading][top=red85,middle=red87,bottom=red85]
- \setbeamertemplate{background}[brick]
- \setbeamertemplate{title page}[simple][center]
+ \setbeamertemplate{background}[grid][step=1mm,color=fgcolor!10!bgcolor]
+ \setbeamertemplate{footline}[simple]
+ \setbeamertemplate{title separator one}[simple]
+ \setbeamertemplate{title separator two}[simple]
+ \setbeamertemplate{title page}[simple][left]
+ \setbeamertemplate{section page}[simple]
+ \setbeamertemplate{subsection page}[simple]
\setbeamertemplate{theorem begin}[default]
\setbeamertemplate{theorem end}[default]
\setbeamertemplate{proof begin}[default]
@@ -381,24 +379,38 @@
\let\beamer at epyt@style at do@default=\beamer at epyt@style at do@beta
\def\beamer at epyt@style at do@common{
- \colorlet{filler1}{accent1!50!back1}
- \colorlet{filler2}{accent2!50!back1}
- \colorlet{filler3}{accent3!50!back1}
- \colorlet{filler4}{accent4!50!back1}
- \colorlet{filler5}{accent5!50!back1}
+ \colorlet{fcolor1}{acolor1!50!bgcolor}
+ \colorlet{fcolor2}{acolor2!50!bgcolor}
+ \colorlet{fcolor3}{acolor3!50!bgcolor}
+ \colorlet{fcolor4}{acolor4!50!bgcolor}
+ \colorlet{fcolor5}{acolor5!50!bgcolor}
+ \setbeamercolor{title separator one}{fg=fgcolor!50!bgcolor}
+ \setbeamercolor{title separator two}{fg=fgcolor!50!bgcolor}
\setbeamercolor{title}{use=structure,fg=structure.fg}
\setbeamercolor{subtitle}{use={structure,normal text},fg=structure.fg!90!normal text.bg}
\setbeamercolor{section in toc}{parent=title}
\setbeamercolor{subsection in toc}{parent=subtitle}
+ \setbeamercolor{section in toc shaded}{parent=normal text}
+ \setbeamercolor{subsection in toc shaded}{parent=normal text}
\setbeamercolor{frametitle}{parent=title}
\setbeamercolor{theoremname}{parent=subtitle}
\setbeamercolor{proofname}{parent=subtitle}
- \setbeamercolor{block title}{fg=accent1,bg=darkgray}
+ \setbeamercolor{block title}{fg=acolor1,bg=darkgray}
\setbeamercolor{block body}{bg=gray}
- \setbeamercolor{block title example}{fg=accent2,bg=darkgray}
+ \setbeamercolor{block title example}{fg=acolor2,bg=darkgray}
\setbeamercolor{block body example}{bg=gray}
- \setbeamercolor{block title alerted}{fg=accent3,bg=darkgray}
+ \setbeamercolor{block title alerted}{fg=acolor3,bg=darkgray}
\setbeamercolor{block body alerted}{bg=gray}
+ \setbeamertemplate{frametitle}[simple]
+ \setbeamertemplate{navigation symbols}{}
+ \setbeamertemplate{section}[simple]
+ \setbeamertemplate{subsection}[simple]
+ \setbeamertemplate{section in toc}[sections numbered]
+ \setbeamertemplate{subsection in toc}[triangle]
+ \setbeamertemplate{section in toc shaded}[default][100]
+ \setbeamertemplate{subsection in toc shaded}[default][100]
+ \setbeamertemplate{itemize items}[default]
+ \setbeamertemplate{enumerate items}[default]
}
%% apply user selected theme at last
@@ -433,7 +445,7 @@
\setbeamercolor{subtitle}{fg=blue!70!gray}
\setbeamercolor{section in toc}{fg=blue!90!gray}
\setbeamercolor{subsection in toc}{fg=blue!80!gray}
- \setbeamercolor{frametitle}{fg=blue!70!gray}
+ \setbeamercolor{frametitle}{fg=blue!70!gray,bg=white}
\setbeamercolor{theoremname}{fg=blue!60!gray}
\setbeamercolor{proofname}{fg=blue!60!gray}
\setbeamercolor{footline}{bg=white,fg=black}
More information about the tex-live-commits
mailing list