diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-12 16:09:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-12 16:09:40 +0000 |
commit | 71ab038a518296cfe66d1b59e4456b2f1092259e (patch) | |
tree | f7252e9dcc03f6871fe0cfb3ec500484dfe8992f /Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex | |
parent | a5afd5f9ebf57ccbb5ff65cca10c48ac7b169581 (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/epyt-demo-cn.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/beamertheme-epyt/epyt-demo-cn.tex | 163 |
1 files changed, 78 insertions, 85 deletions
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} |