From 663434e23104f71eb974089a56d2704b2ed61147 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 15 May 2016 22:09:34 +0000 Subject: beamertheme-epyt (15may16) git-svn-id: svn://tug.org/texlive/trunk@41159 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/beamertheme-epyt/README | 11 + .../doc/latex/beamertheme-epyt/epyt-demo-cn.pdf | Bin 0 -> 142696 bytes .../doc/latex/beamertheme-epyt/epyt-demo-cn.tex | 258 +++++++++++++++++++++ .../doc/latex/beamertheme-epyt/epyt-demo.pdf | Bin 0 -> 67462 bytes .../doc/latex/beamertheme-epyt/epyt-demo.tex | 251 ++++++++++++++++++++ 5 files changed, 520 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/beamertheme-epyt/README create mode 100644 Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf create mode 100644 Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex create mode 100644 Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf create mode 100644 Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex (limited to 'Master/texmf-dist/doc/latex/beamertheme-epyt') diff --git a/Master/texmf-dist/doc/latex/beamertheme-epyt/README b/Master/texmf-dist/doc/latex/beamertheme-epyt/README new file mode 100644 index 00000000000..0fd5d41565d --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/README @@ -0,0 +1,11 @@ +Package epyt: a simple and clean theme for LaTeX beamer class +Copyright (C) 2013-2015 Zou Hu + +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 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 new file mode 100644 index 00000000000..153c744fc21 Binary files /dev/null and b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.pdf 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 new file mode 100644 index 00000000000..92368078aa4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex @@ -0,0 +1,258 @@ +% -*- coding: utf-8 -*- +% !TEX program = xelatex + +\documentclass[14pt,notheorems,xcolor={rgb}]{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}, + language=[LaTeX]{TeX},morekeywords={usetheme,epytsetup} +} + +\newcommand{\mylead}[1]{\textcolor{accent1}{#1}} +\newcommand{\mybold}[1]{\textcolor{accent2}{#1}} +\newcommand{\mywarn}[1]{\textcolor{accent3}{#1}} + +\newtheorem{theorem}{定理} +\newtheorem{definition}[theorem]{定义} +\newtheorem{example}[theorem]{例子} + +\newtheorem*{theorem*}{定理} +\newtheorem*{definition*}{定义} +\newtheorem*{example*}{例子} + +\renewcommand{\proofname}{证明} + +\begin{document} + +\title{简洁美观的幻灯片主题} +\author{无名小卒} + +\begin{frame}[plain]\transboxout +\titlepage +\end{frame} + +%\begin{frame}\transboxin +%\begin{center} +%\tableofcontents[hideallsubsections] +%\end{center} +%\end{frame} + +\section{黑色文字白色背景} + +\begin{frame}{简要介绍} +\mylead{Epyt} 是一个简洁美观的 Beamer 演示主题。它有这些特点:\pause +\begin{itemize}[<+->] +\item 结构简洁,只有包含必需元素的底栏,没有顶栏和侧栏。 +\item 内容简洁,列表环境和定理环境可以使用简单形式。 +\item 配色简洁,仅仅用到几种背景色和前景色。 +\end{itemize} +\end{frame} + +\begin{frame}{下载安装} +\mylead{Epyt} 主题已经包含在主要的 TeX 发行版中。 +\begin{itemize} + \item 在 MiKTeX 中作为 \mybold{beamer-theme-epyt} 宏包。 + \item 在 TeXLive 中作为 \mybold{epyt} 宏包。 +\end{itemize} +你可以在包管理器中安装它。当然也可以直接从 +\href{https://www.ctan.org/pkg/epyt}{CTAN} 中下载并安装。 +\end{frame} + +\begin{frame}[fragile]{开始使用} +下面的代码是使用 \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 颜色模型。 +\end{frame} + +\begin{frame}[fragile]{样式选用} +\mylead{Epyt} 主题中包含了多种样式,可以在载入该主题时选用。 +\begin{lstlisting} +\usetheme[style=gamma]{epyt} +\end{lstlisting} +\pause 在文档中间可以用下面命令切换到另一个样式。 +\begin{lstlisting} +\epytsetup{style=beta} +\end{lstlisting} +\end{frame} + +\begin{frame}{可用的样式} +\mylead{Epyt} 主题中所有可用的样式如下所列。 +\begin{description} + \item[alpha] 白色文字,黑色背景 + \item[beta] 黑色文字,白色背景 + \item[delta] 白色文字,蓝色背景 + \item[gamma] 白色文字,绿色背景 + \item[zeta] 白色文字,红色背景 +\end{description} +\pause +其中默认样式为 \mybold{beta}。这也是此文档当前正在使用的样式。 +\end{frame} + +\begin{frame}{预定义的颜色} +每种样式都预先定义了五种强调颜色。当前样式的强调颜色如下所示。 +\begin{flushleft} +\textcolor{accent1}{accent1} +\textcolor{accent2}{accent2} +\textcolor{accent3}{accent3} +\textcolor{accent4}{accent4} +\textcolor{accent5}{accent5} +\end{flushleft} +\pause 每种样式也预先定义了五种填充颜色,如下所示。 +\begin{flushleft} +\colorbox{filler1}{filler1} +\colorbox{filler2}{filler2} +\colorbox{filler3}{filler3} +\colorbox{filler4}{filler4} +\colorbox{filler5}{filler5} +\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 +\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} + +\begin{frame}[fragile]{有序列表} +无序列表前面已经看到,现在来看看有序列表。一个 Beamer 的主题由下列四部分组成:\pause +\begin{enumerate}[<+->] +\item 外部主题,用 \verb!\usebeameroutertheme! 命令; +\item 内部主题,用 \verb!\usebeamerinnertheme! 命令; +\item 颜色主题,用 \verb!\usebeamercolortheme! 命令; +\item 字体主题,用 \verb!\usebeamerfonttheme! 命令。 +\end{enumerate} +\end{frame} + +\epytsetup{style=delta} + +\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=alpha} + +\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} + +\begin{frame}{例子证明} +\begin{example} +证明当$x>0$时不等式$\mathrm{e}^x>1+x$成立。 +\end{example}\pause +\begin{proof} +令$f(x)=\mathrm{e}^x-x-1$。则当$x>0$时有 +$$f'(x)=\mathrm{e}^x-1>0.$$ +因此,当$x>0$时$f(x)>f(0)=0$。得证。 +\end{proof} +\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 new file mode 100644 index 00000000000..674ee8a35e9 Binary files /dev/null and b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.pdf 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 new file mode 100644 index 00000000000..dd5c8dd13b8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo.tex @@ -0,0 +1,251 @@ +% -*- coding: utf-8 -*- +% !TEX program = xelatex +\documentclass[12pt,xcolor={rgb}]{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}, + language=[LaTeX]{TeX},morekeywords={usetheme,epytsetup} +} + +\newcommand{\mylead}[1]{\textcolor{accent1}{#1}} +\newcommand{\mybold}[1]{\textcolor{accent2}{#1}} +\newcommand{\mywarn}[1]{\textcolor{accent3}{#1}} + +\begin{document} + +\title{Epyt Theme for Beamer} +\subtitle{A simple and clean theme} +\author{Your Name Here} +\institute{Center for Presentation Design} + +\begin{frame}[plain]\transboxout +\titlepage +\end{frame} + +%\begin{frame}\transboxin +%\begin{center} +%\tableofcontents[hideallsubsections] +%\end{center} +%\end{frame} + +\section{Black in White} + +\begin{frame}{Introduction} +\mylead{Epyt} is a simple but nice theme for Beamer, with the following features: \pause +\begin{itemize}[<+->] +\item simple structure: with page numbers at footer, no head bar and side bar; +\item simple templates: possible to display theorems with traditional inline style; +\item simple colors: using only several foreground and background colors. +\end{itemize} +\end{frame} + +\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. +\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}. +\end{frame} + +\begin{frame}[fragile]{Getting Started} +The following code is a minimal example using \mylead{epyt} theme. +\begin{lstlisting} +\documentclass[xcolor={rgb}]{beamer} +\usetheme{epyt} +\begin{document} + \begin{frame}{Hello} + Hello Beamer! + \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} +\mylead{Epyt} theme provides a number of styles, which can be set in loading the theme. +\begin{lstlisting} +\usetheme[style=gamma]{epyt} +\end{lstlisting} +\pause The style could also be changed in the middle of the presentation. +\begin{lstlisting} +\epytsetup{style=beta} +\end{lstlisting} +\end{frame} + +\begin{frame}{Available Styles} +All available styles are listed here. +\begin{description} + \item[alpha] white text in black background + \item[beta] black text in white background + \item[delta] white text in blue background + \item[gamma] white text in green background + \item[zeta] white text in red background +\end{description} +\pause +And the default style is \mybold{beta}, which is what you see up to now in this presentation. +\end{frame} + +\begin{frame}{Predefined Colors} +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} +\end{flushleft} +\pause Also five filler colors are predefined for each style. +\begin{flushleft} +\colorbox{filler1}{filler1} +\colorbox{filler2}{filler2} +\colorbox{filler3}{filler3} +\colorbox{filler4}{filler4} +\colorbox{filler5}{filler5} +\end{flushleft} +\pause These colors are useful when you are drawing a tikz picture. +\end{frame} + +\epytsetup{style=gamma} + +\begin{frame}[plain]\transboxout +\titlepage +\end{frame} + +\section{White in Green} + +\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} +\end{flushleft} +Also five filler colors are predefined for this style. +\begin{flushleft} +\colorbox{filler1}{filler1} +\colorbox{filler2}{filler2} +\colorbox{filler3}{filler3} +\colorbox{filler4}{filler4} +\colorbox{filler5}{filler5} +\end{flushleft} +\end{frame} + +\begin{frame}[fragile]{Ordered Lists} +A Beamer theme consists of the following four parts: \pause +\begin{enumerate}[<+->] +\item outer theme, with \verb!\usebeameroutertheme!; +\item inner theme, with \verb!\usebeamerinnertheme!; +\item color theme, with \verb!\usebeamercolortheme!; +\item font theme, with \verb!\usebeamerfonttheme!. +\end{enumerate} +\end{frame} + +\epytsetup{style=delta} + +\begin{frame}[plain]\transboxout +\titlepage +\end{frame} + +\section{White in Blue} + +\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} +\end{flushleft} +Also five filler colors are predefined for this style. +\begin{flushleft} +\colorbox{filler1}{filler1} +\colorbox{filler2}{filler2} +\colorbox{filler3}{filler3} +\colorbox{filler4}{filler4} +\colorbox{filler5}{filler5} +\end{flushleft} +\end{frame} + +\begin{frame}{Example} +\begin{example} +Prove the following result: +\[ \lim_{x\to0}\frac{\sin 3x}{\ln(1-2x)}=-\frac{3}{2} \] +\end{example}\pause +\begin{proof} +Since $\sin 3x \sim 3x$ and $\ln(1-2x) \sim -2x$, we have +\[ \lim_{x\to0}\frac{\sin 3x}{\ln(1-2x)}=\lim_{x\to0}\frac{3x}{-2x}=-\frac{3}{2}, \] +and we are done. +\end{proof} +\end{frame} + +\epytsetup{style=alpha} + +\begin{frame}[plain]\transboxout +\titlepage +\end{frame} + +\section{White in Black} + +\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} +\end{flushleft} +Also five filler colors are predefined for this style. +\begin{flushleft} +\colorbox{filler1}{filler1} +\colorbox{filler2}{filler2} +\colorbox{filler3}{filler3} +\colorbox{filler4}{filler4} +\colorbox{filler5}{filler5} +\end{flushleft} +\end{frame} + +\epytsetup{style=zeta} + +\begin{frame}[plain]\transboxout +\titlepage +\end{frame} + +\section{White in Red} + +\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} +\end{flushleft} +Also five filler colors are predefined for this style. +\begin{flushleft} +\colorbox{filler1}{filler1} +\colorbox{filler2}{filler2} +\colorbox{filler3}{filler3} +\colorbox{filler4}{filler4} +\colorbox{filler5}{filler5} +\end{flushleft} +\end{frame} + +\end{document} -- cgit v1.2.3