Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{beamer}
- usepackage[ansinew]{inputenc}
- usetheme{Warsaw}
- newcounter{theo}
- newcommand{theo}{ refstepcounter{theo} textbf{Théorème arabic{theo}} }
- %resetcounteronoverlays{theo}
- newcommand{thm}[1]{
- begin{block}{theo}
- #1
- end{block}
- }
- begin{document}
- begin{frame}
- Hello world
- end{frame}
- begin{frame}
- thm{label{th1}
- My first theorem
- }
- end{frame}
- begin{frame}
- As precised in Theorem ref{th1}
- end{frame}
- end{document}
- documentclass{beamer}
- usepackage[T1]{fontenc}
- usepackage[utf8]{inputenc}
- usetheme{Warsaw}
- setbeamertemplate{theorems}[numbered]
- usepackage[french]{babel}
- uselanguage{French}
- languagepath{French}
- deftranslation[to=French]{Theorem}{Th'eor`eme}
- begin{document}
- begin{frame}
- Hello world
- end{frame}
- begin{frame}
- begin{theorem}
- label{th1}
- My first theorem
- end{theorem}
- end{frame}
- begin{frame}
- As precised in Theorem ref{th1}
- end{frame}
- end{document}
Add Comment
Please, Sign In to add comment