I am using the mathpartir
package for its inferrule
macro, which suits my needs very well when it comes to 'normal' document classes (article, book).
However, when trying to work with the beamer document class, i.e. when reusing my inferrule
parts for a presentation, the premisses no longer contain any linebreaks. Normally, inferrule
breaks premisses and places new ones in another line if there are too many, or if you explicitly specify \\\\
. Both seem to be ignored, when using it inside a frame
environment.
Is there a way that I can setup a beamer-based file such that I can directly reuse (copy&paste) my inferrule
macros from an article?
Here's a small sample document that exhibits the problem:
\documentclass{beamer}
\usepackage{times}
\usepackage{mathpartir}
\begin{document}
\begin{frame}
\frametitle{Why no breaks?}
\begin{mathpar}
\inferrule{a\\\\b}{c}
\end{mathpar}
\end{frame}
\end{document}
Best Answer
I have no problem with your example for beamer or article, the same output. my file list (\listfiles as first line)