summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/beamertheme-epyt
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-12 16:09:40 +0000
committerKarl Berry <karl@freefriends.org>2016-06-12 16:09:40 +0000
commit71ab038a518296cfe66d1b59e4456b2f1092259e (patch)
treef7252e9dcc03f6871fe0cfb3ec500484dfe8992f /Master/texmf-dist/doc/latex/beamertheme-epyt
parenta5afd5f9ebf57ccbb5ff65cca10c48ac7b169581 (diff)
beamertheme-epyt (25may16)
git-svn-id: svn://tug.org/texlive/trunk@41404 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/beamertheme-epyt')
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-epyt/README9
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdfbin142696 -> 177987 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex163
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdfbin67462 -> 144996 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex135
5 files changed, 145 insertions, 162 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-epyt/README b/Master/texmf-dist/doc/latex/beamertheme-epyt/README
index 0fd5d41565d..2f55fea6108 100644
--- a/Master/texmf-dist/doc/latex/beamertheme-epyt/README
+++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/README
@@ -1,11 +1,8 @@
-Package epyt: a simple and clean theme for LaTeX beamer class
-Copyright (C) 2013-2015 Zou Hu <zohooo@yeah.net>
-
+Package epyt: a simple and clean theme for LaTeX beamer class.
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.
diff --git a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf
index 153c744fc21..ebb62c9cb5d 100644
--- a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf
+++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex
index 92368078aa4..2319c4ca133 100644
--- a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex
+++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex
@@ -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 @@ $$f'(x)=\mathrm{e}^x-1>0.$$
\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}
diff --git a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf
index 674ee8a35e9..7ca399ac4b7 100644
--- a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf
+++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex
index dd5c8dd13b8..a285f508ea0 100644
--- a/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex
+++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex
@@ -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 @@ The following code is a minimal example using \mylead{epyt} theme.
\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 @@ And the default style is \mybold{beta}, which is what you see up to now in this
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 @@ With current style, they are the followings.
\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 @@ A Beamer theme consists of the following four parts: \pause
\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 @@ and we are done.
\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 @@ Also five filler colors are predefined for this style.
\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}