Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the beamer class, with the following preamble:

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{ae,aecompl,aeguill}
\usepackage{amsthm, amsmath, amsfonts}

\usetheme{Luebeck}
\usefonttheme{professionalfonts}

When I use the proof environment, the word Preuve appears in the document. This is the desired behaviour.

\begin{proof}
    ...
\end{proof}

Conversely, the theorem environment produces the header Theorem, which is not wanted.

\begin{theorem}
    ...
\end{theorem}

What did I do wrong?

share|improve this question
    
The beamer class alreads loads the packages amsthm, amsmath and amsfonts. Further, afaik babel defines \proofname to be D\'emonstration, though it can easily be changed. –  Stefan Kottwitz Feb 26 '11 at 13:21

2 Answers 2

up vote 9 down vote accepted

The beamer class uses the translator package for translation. Just specify the language to be used:

\uselanguage{French}
\languagepath{French}

Here's a complete minimal working example:

\documentclass{beamer}
\usepackage[french]{babel}
\uselanguage{French}
\languagepath{French}
\usetheme{Copenhagen}
\begin{document}
\begin{frame}
\begin{proof}
    Some text
\end{proof}
\begin{theorem}
    Some text
\end{theorem}
\end{frame}
\end{document}

enter image description here

share|improve this answer
    
Thanks, it's perfect! –  CFP Feb 26 '11 at 14:10
    
The link to translator doesn't work anymore. –  Hendrik Vogt Feb 12 '13 at 13:24

as far as I know, the amsthm package does not attempt to translate its theorem names. It's probably easiest to simply declare a new theorem environment with the \newtheorem command. On this note, it might also be worthwhile to check out the ntheorem package. It's quite similar to amsthm but newer and offers a few more formating options.

Hope that helps.

share|improve this answer
    
The solution I came up with for this involves a command called \@if@EN@else@DA using babel's \iflanguage in my \newtheorem commands. It's not in any way robust - in fact it's an ugly hack - but it does work –  kahen Sep 15 '11 at 10:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.