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'd like to have my headers like Theorem, Definition etc. in a beamer presentation translated to Polish. After skimming through the last pages of beamer user guide, I tried \usepackage[polish]{translator}, but it resulted in "Option clash for package translator". Any ideas what I can do?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

You need to put your language option amongst the class options where both babel and the translator package (implicitly loaded by beamer) can see it:

\documentclass[polish]{beamer}
\usepackage{babel}
\begin{document}
\begin{frame}
  \begin{theorem}[Theorem]

  \end{theorem}
\end{frame}
\end{document}

An alternative for your implicit question "How do I pass options to a package that I don't load myself" is to use \PassOptionsToPackage:

\PassOptionsToPackage{polish}{translator}
\documentclass{beamer}
\usepackage[polish]{babel}
share|improve this answer
    
Thanks! And what if I don't want to use babel? –  mbork Jul 4 '12 at 19:00
    
OK, the \PassOptionsToPackage worked without babel. Incidentally, there was another error: there's a bug in the Polish dictionary for translator; I'll email the maintainer. –  mbork Jul 4 '12 at 19:03
    
And just [polish]{beamer} works even better. Thanks again! –  mbork Jul 4 '12 at 19:04
add comment

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.