diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty index cd6d0c2fdbc..71354e88382 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty @@ -1,17 +1,23 @@ -\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasetheorems.sty,v 1.7 2005/04/04 15:26:39 tantau Exp $ - -% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>. +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. % -% This program can be redistributed and/or modified under the terms -% of the GNU Public License, version 2. +% See the file doc/licenses/LICENSE for more details. +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasetheorems.sty,v 1.10 2007/01/28 20:48:21 tantau Exp $ \mode <all> -\IfFileExists{translator.sty}{\RequirePackage{translator}}{} -\providecommand\translation[2][]{#2} +\IfFileExists{translator.sty}{ + \RequirePackage{translator} + \usedictionary{translator-theorem-dictionary} +}{} +\providecommand\translate[2][]{#2} \mode <presentation> @@ -103,8 +109,9 @@ \def\th@example{\th@remark} - \newcommand{\ExampleInline}[1]{\translation{Example}: \ignorespaces#1} + \newcommand{\ExampleInline}[1]{\translate{Example}: \ignorespaces#1} + % Compatiblity: \newcommand{\BeispielInline}[1]{Beispiel: \ignorespaces#1} } @@ -113,23 +120,23 @@ { \ifbeamer@blocks \ifbeamer@countsect - \newtheorem{theorem}{\translation{Theorem}}[section] + \newtheorem{theorem}{\translate{Theorem}}[section] \else - \newtheorem{theorem}{\translation{Theorem}} + \newtheorem{theorem}{\translate{Theorem}} \fi - \newtheorem{corollary}[theorem]{\translation{Corollary}} - \newtheorem{fact}[theorem]{\translation{Fact}} - \newtheorem{lemma}[theorem]{\translation{Lemma}} - \newtheorem{problem}[theorem]{\translation{Problem}} - \newtheorem{solution}[theorem]{\translation{Solution}} + \newtheorem{corollary}[theorem]{\translate{Corollary}} + \newtheorem{fact}[theorem]{\translate{Fact}} + \newtheorem{lemma}[theorem]{\translate{Lemma}} + \newtheorem{problem}[theorem]{\translate{Problem}} + \newtheorem{solution}[theorem]{\translate{Solution}} \theoremstyle{definition} - \newtheorem{definition}[theorem]{\translation{Definition}} - \newtheorem{definitions}[theorem]{\translation{Definitions}} + \newtheorem{definition}[theorem]{\translate{Definition}} + \newtheorem{definitions}[theorem]{\translate{Definitions}} \theoremstyle{example} - \newtheorem{example}[theorem]{\translation{Example}} - \newtheorem{examples}[theorem]{\translation{Examples}} + \newtheorem{example}[theorem]{\translate{Example}} + \newtheorem{examples}[theorem]{\translate{Examples}} % Compatibility |