diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty index dc15aa01f8d..a628fdd318c 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty @@ -1,4 +1,5 @@ -% Copyright 2007 by Till Tantau +% Copyright 2003--2007 by Till Tantau +% Copyright 2010 by Vedran Mileti\'c % % This file may be distributed and/or modified % @@ -7,13 +8,11 @@ % % See the file doc/licenses/LICENSE for more details. -\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbaseboxes.sty,v 1.32 2007/03/11 19:12:06 tantau Exp $ - -\RequirePackage{keyval} +\ProvidesPackageRCS $Header: /home/vedran/bitbucket/beamer/base/beamerbaseboxes.sty,v efa082c6111d 2010/05/01 13:27:03 rivanvx $ \def\beamerboxesdeclarecolorscheme#1#2#3{% scheme name, upper color, lower color - \setbeamercolor{@scheme upper #1}{fg=white,bg=#2} - \setbeamercolor{@scheme lower #1}{bg=#3} + \setbeamercolor{@scheme upper #1}{fg=white,bg={#2}} + \setbeamercolor{@scheme lower #1}{bg={#3}} } \define@key{beamerboxes}{scheme}{\def\bmb@upper{@scheme upper #1}\def\bmb@lower{@scheme lower #1}} @@ -78,9 +77,9 @@ \begin{pgfpicture}{0bp}{+-\ht\bmb@box}{0bp}{+-\ht\bmb@box} \ifdim\wd\bmb@box=0pt% \color{lower.bg}% - \else% + \else% \color{upper.bg}% - \fi% + \fi% \pgfpathqmoveto{-4bp}{-1bp} \pgfpathqcurveto{-4bp}{1.2bp}{-2.2bp}{3bp}{0bp}{3bp} \pgfpathlineto{\pgfpoint{\bmb@temp}{3bp}} @@ -248,4 +247,3 @@ % Transition line \pgfdeclareverticalshading[lower.bg,upper.bg]{bmb@transition}{200cm}{% color(0pt)=(lower.bg); color(2pt)=(lower.bg); color(4pt)=(upper.bg)} - |