summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-13 22:57:30 +0000
committerKarl Berry <karl@freefriends.org>2007-03-13 22:57:30 +0000
commit7528bed5b6dc85d8d97044a2ad1ea49a55b96a90 (patch)
tree60e6c5a19888dc3ac915c729eb139f4f86ec1151 /Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
parent08117c08874292787f9823c3064dbb2acc9b8cf4 (diff)
beamer 3.07 (12mar07)
git-svn-id: svn://tug.org/texlive/trunk@4030 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty45
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